Display Table Headings in 4 Layers..

Hi All,
Please help me in displaying the table heading in four layers..
layer1 | X | Y | Z |
layer2 | heading 1 | heading 2 | heading 3 | Heading 4 |
Layer 3 | col name 1 | coln 2 | cl 3 | col 1 | heading 0 | col 1 | heading 0 | heading 1 |
Layer 4 | | | col 0 | col2 | | col0 |col1 | col 0 | col 1 |
Let me explain in detail
in the table heading row 1 we have --> x , y , z
second row --> x - Heading 1, Heading 2
in X heading 1 has column name .. heading 2 has two columns which are column names
Y section has one heading -> Heading has two cols -> second col has two cols
Z section has one heading -> Heading as three cols -> Col1 direct column name , remaing two heading has two cols each..
Pelase guide me how to achieve this type of table format..
Thanks in advance
Sri

Hi,
Try this.
Table heading:-
We do not have any direct option to do this.
But as a workaround, we can achieve this using the following approach.
Add a column to the criteria. Use the following in the column formula.
'<table width="100%" align="center" bordercolor="#C9CBD3"
frame="void" rules="cols" cellpadding="0" cellspacing="0">
<tr>
<td align="center" width = "200">
'|| 'This Month' ||' </td>
<td align="center" width = "200">
'|| 'Accumulated YTD' ||'</td>
</tr>
</table>'
Where This Month & Accumulated YTD are the table headings.
Do not forget to change the Data Format to 'HTML'
Place this column on top of measures labels in Columns Section.
But, you need to fix the width of all the measure columns and adjust the <td> width accordingly.
"Display Column & Table Headings" equivalent for pivot tables?
Hope this help's
Thanks,
Satya

Similar Messages

  • Display Column & Table Headings in Pivote Table

    Hi,
    Can we display the Table Headings in Pivote Table ??
    There is an option of displaying the same in Table view,is there any way of displaying the same in Pivot Table View??
    Thanks

    Hi,
    Try this.
    Table heading:-
    We do not have any direct option to do this.
    But as a workaround, we can achieve this using the following approach.
    Add a column to the criteria. Use the following in the column formula.
    '<table width="100%" align="center" bordercolor="#C9CBD3"
    frame="void" rules="cols" cellpadding="0" cellspacing="0">
    <tr>
    <td align="center" width = "200">
    '|| 'This Month' ||' </td>
    <td align="center" width = "200">
    '|| 'Accumulated YTD' ||'</td>
    </tr>
    </table>'
    Where This Month & Accumulated YTD are the table headings.
    Do not forget to change the Data Format to 'HTML'
    Place this column on top of measures labels in Columns Section.
    But, you need to fix the width of all the measure columns and adjust the <td> width accordingly.
    "Display Column & Table Headings" equivalent for pivot tables?
    Hope this help's
    Thanks,
    Satya

  • Setting a default for the Table Headings

    Hi all,
    the users are asking me if it's possible to set in the Table View of Answer the Display Column & Table Headings = As Table.Column as default. This option can be found in the Table View Properties and you can set the value just for the current request...
    Is there a way to set a default value for this option for all the requests?
    Thanks in advance.
    Nazza

    it's stupid, but it works in 9 & 10. probably v8 also, but I can't remember that far back. and it might not work in future releases.
    add this to the top of your script:
    set termout off echo off feed off pages 0 timing off verify off
    rem Determine if parameter 1 is defined. If not, default to "XXX"
    spool temp1.sql
    select 'select decode(instr(''-' from dual;
    def 1
    select ''',''symbol 1 is UNDEFINED''||chr(10)),0,''rem fine'',''define 1 = XXX'') from dual;' from dual;
    spool off
    spool temp2.sql
    @temp1
    spool off
    @temp2
    set termout on
    put your code here
    and of course, it leaves two files (temp1 and temp2) in the current directory. so, you can add o/s dependent delete statements via a host command. or just leave them. you're call.
    Message was edited by:
    shoblock
    forgot the "set" commands at the top
    AND...
    set termout back on at the end (along with echo or whatever else you want).
    and I changed from defaulting &1 to a value of "1", to a value of "XXX". should make it easier to follow (I hope).
    and finally, thanks to Ron who helped me figure this one out (many years ago)

  • Smarform table headings problem

    Hi Experts,
    In my smartform i have to display 3 internal tables in main window.
    The table will have the borders but the headings will not have any border as i dont have to display the headings for each column. To meet this requirement, i created the heading line saparately as text/template. Heading and tables are coming fine. I am also using the no page break on table lines. But no page protection option on template.
    The problem i am facing is if the table lines goes to next page, the heading is not moving to next page because both things(heading & table) are isolated with each other.
    I also tried puting table, text and template in a folder but as i also have a template for some reason, the folder page protection get disable.
    Another problem is, i have a big footer, which i have to display only on the last page. So i have to leave that much space in the first page also. I want my main window to go down (overlap the footer) if i have more than 1 page.
    Can anyone please help how can i bind the headings with the table and resolve the overlap main window issue.
    Regards,
    Nik

    Hello Nikhil,
    1.
    For your heading to get printed on all the page you need to put the heading texts under TABLE-> Header->tableline->cell.
    and for tableline in footer and in header you can have 2 different tablelines.
    Now double click on TABLE and put the border only for linetype you have selected for your item display.
    OR
    If you have created a new window for header then just copy paste the same window in your next page and adjust its position just above your Main window. You don't have to put page protection or folders.
    2.
    The second thing you are asking for is not possible.
    hope the discussion was helpful.
    Cheers,
    Suvendu

  • How to add the rows formatted as table headings, Tables headings are repeated when a table spans more than one page.

    Hi all,
    i am facing problem while generating Test Result word document after successful execution of TestStand.
    The Problem is :
    i want to add rows Formatted as table headings, table headings are repeated when a table spans more than one page(marked as Red).
    Example:
    Page  No. 1
    |     Test case Number  |  Test Step number      |
    |      100                         |            100                   |
    Page  No. 2
    |     Test case Number  |  Test Step number      |
    |      200                         |            300                   |
    Test Result word document should generate with Table headings(marked as Red) in every pages of the document, but i am not getting as per above example.
    Please through light on this.
    Regards,
    Susa.

    Hi Santiago,
    Thank you very much for your valuable reply.
    i want to generate MS-word report for TestStand after successful testing using MS-word2000.
    Test report contains Actual values, Expected values and Pass/Fail status.
    In my program i have customized all  fields i can able to generate test report which contains Verification engineer name , test mode, test date, start time, end time Actual values, Expected values and Pass/Fail status.etc....
    To put all values of test case number, Test step number, Actual values, Expected values and Pass/Fail status in to table for each time, i will
    insert a row into table every time values arrives, once the table exceedes its page size it moves to the next page, next page should start with table row header  but it start with  values of above said parameters.
    so i'm not able to repeat table row header for each page.
    Please find the attached file for your reference.
    Attched file expected.doc  :   This file contains what i wanted to generate MS-word report. Here table row header "Test Case Number and Test Step Number " is repeated in second page.
    Attached file Actual output from source code.doc   :  This report generated from the source code. Here table row header "Test Case Number and Test Step Number" is not repeated in second page.
    Do you know any property to set "repeat as header row at the top of each page" using MS-word ActiveX in CVI/Labwindows.
    i think this information is sufficient for you,
    Still if you need some information please ask me.
    Thanks
    Susa.
    Attachments:
    Actual output from source code.doc ‏25 KB
    expected.doc ‏26 KB

  • Trying to display tables reusing same code.

    I'm probably being really naive but I just can't get this to work!
    I have a display table class that will only display a one table when a button is pressed in a GUI. I want to use the same code again to display another table but pressing another button this time. ie: press "Table 1" button and the SQL query SELECT * FROM Customer should be used. Press "Table 2" Button and SQL query SELECT * FROM Order should be used. I have tried creating a constructor for this but it keeps coming up with errors. Please can you have a look at my code. The bits that don't work are commented out. I want to be able to just change the query that is used each time a different button is pressed.
    Thanks in advance.
    import java.sql.*;
    import java.awt.*;
    import javax.swing.*;
    import java.util.*;
    public class TableDisplay extends JFrame{
    private Connection aConnection;
    private JTable cusTable;
    private String Query;
    private String Title;
    public TableDisplay() {
    //public TableDisplay (String Query,String Title){
    try {
    DriverManager.registerDriver(new sun.jdbc.odbc.JdbcOdbcDriver());
    aConnection = DriverManager.getConnection("jdbc:odbc:RelAlg", "", "");
    catch (SQLException e) { System.exit(11);}
    getTable();
    setSize(450,150);
    show();
    private void getTable(){
    Statement aStatement;
    ResultSet aSet;
    try{
    aStatement = aConnection.createStatement();
    aSet = aStatement.executeQuery("SELECT * FROM RelAlgCustomerTable");
    //aSet = aStatement.executeQuery(Query);
    displayResultSet(aSet);
    aStatement.close();
    catch (SQLException e) { System.exit(12);}
    private void displayResultSet(ResultSet rs)
    throws SQLException{
    //position to first record
    boolean moreRecords = rs.next();
    //if there is no records display a message
    if(!moreRecords){
    JOptionPane.showMessageDialog(this, "ResultSet unable to find table");
    setTitle("No table to display");
    return;
    setTitle("Customer Table");
    // setTitle(Title);
    Vector columnHeads = new Vector();
    Vector rows = new Vector();
    try{
    //get column heads
    ResultSetMetaData rsmd = rs.getMetaData();
    for(int i = 1;i <= rsmd.getColumnCount();i++)
    columnHeads.addElement(rsmd.getCatalogName(i));
    //get row data
    do{
    rows.addElement(getNextRow(rs,rsmd));
    while (rs.next());
    //display tabel with ResultSet contents
    cusTable = new JTable(rows, columnHeads);
    JScrollPane scroller = new JScrollPane(cusTable);
    getContentPane().add(scroller,BorderLayout.CENTER);
    validate();
    catch (SQLException e) { System.exit(13);}
    private Vector getNextRow(ResultSet rs, ResultSetMetaData rsmd)
    throws SQLException {
    Vector currentRow = new Vector();
    for (int i = 1; i<=rsmd.getColumnCount();++i)
    switch(rsmd.getColumnType(i)){
    case Types.VARCHAR:
    currentRow.addElement(rs.getString(i));
    break;
    case Types.INTEGER:
    currentRow.addElement(new Long(rs.getLong(i)));
    break;
    default:
    System.out.println("Type was:" +rsmd.getColumnTypeName(i));
    return currentRow;
    public void shutDown(){
    try{
    aConnection.close();
    catch (SQLException e) { System.exit(14);}
    public static void main(String args []){
    final TableDisplay app = new TableDisplay();
    This is the code from the gui that displays the table on the press of the table button
    void table1_mouseClicked(MouseEvent e) {
    TableDisplay tDisp = new TableDisplay();
    tDisp.show();
    }

    what errors are you getting?
    Where are you passing in the value for "Query" and assigning it to the class variable of the same name?
    do this in the constructor:
    public TableDisplay (String Query,String Title){
    /////new line
    this.Query = Query;
    ////end new line
    try {
    DriverManager.registerDriver(new sun.jdbc.odbc.JdbcOdbcDriver());
    aConnection = DriverManager.getConnection("jdbc:odbc:RelAlg", "", "");
    }

  • How to display table range navigation bar at the bottom of the tr table i

    Hello,
    While I am using trinidad, I have to face a critical issue. Can I display table range navigation bar at the bottom of the <tr table> in Trinidad? and remove the range dropdown list, only show the "previous" and "next" link? The project is critical on the UI, this problem is very small but has to be fixed? Does anyone have any ideas&#65311;

    Difficult to do?  No.
    <ul id="bottom-nav"><li><a hef="whatever.php">whatever</a></li><li class="last"><a hef="whatever2.php">whatever2</a></li></ul>
    With this CSS -
    ul#bottom-nav {
         list-style-type:none;
         overflow:hidden;
         width:70%;
         margin:0 auto;
    ul#bottom-nav li {
         float:left;
         padding-right:10px;
         border-right:1px solid #FFF;
    ul#bottom-nav li.last {
         border:none;
    ul#bottom-nav a {
         /* your styles here */

  • Table headings disappearing in pdf?

    Why are some table headings disappearing when I pdf a Frame 8 file? There is no pattern in the disappearances and each time I pdf the file, a different cell heading disappears. If I create a text box and paste that box over the heading, it shows up fine in the pdf, but that's a dumb way to work. This all started happening in the last month, after I changed computers. Thanks for the help!!

    This is the message I get right now when I save to pdf. If I print to a prn, it doesn't open at all. I used to have a tool that converted the prn automatically at my old job, but there's nothing on the new job's computer and no IT help available. I've been doing a workaround by printing the TOC and the document separately and just adding the TOC to the new pdf, but now when I'm trying to pdf a large document (without TOC) that used to pdf just fine (with TOC), I'm getting the following message. I've just pdf'd chapters 7 & 8 with no problem whatsoever.
    %%[ ProductName: Distiller ]%%
    %%[Page: 1]%%
    %%[Page: 2]%%
    %%[Page: 3]%%
    %%[Page: 4]%%
    %%[Page: 5]%%
    %%[Page: 6]%%
    %%[Page: 7]%%
    %%[Page: 8]%%
    %%[Page: 9]%%
    %%[Page: 10]%%
    %%[Page: 11]%%
    %%[Page: 12]%%
    %%[Page: 13]%%
    %%[Page: 14]%%
    %%[Page: 15]%%
    %%[Page: 16]%%
    %%[Page: 17]%%
    %%[Page: 18]%%
    %%[Page: 19]%%
    %%[Page: 20]%%
    %%[Page: 21]%%
    %%[Page: 22]%%
    %%[Page: 23]%%
    %%[Page: 24]%%
    %%[Page: 25]%%
    %%[Page: 26]%%
    %%[Page: 27]%%
    %%[ Error: undefined; OffendingCommand: pdfmark; ErrorInfo: Rect  ]%%
    Stack:
    /ANN
    /Link
    /Subtype
    /M14.9.42153.Section.Title.Chapter.8.Installing.the.batteries
    /D
    /GoToR
    /S
    /Action
    /Type
    -dict-
    /Action
    [0 0 0]
    /Border
    [7305 2337 9000 2128]
    /Rect
    -mark-
    %%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
    %%[ Warning: PostScript error. No PDF file produced. ] %%

  • ORDER BY - Table headings

    Hi Chaps,
    I have a DreamWeaver recordset:
    mysql_select_db($database_conndb2, $conndb2);
    $query_rsProjects = "SELECT tbl_projects.projid, tbl_projects.projtitle, tbl_customers.custname, tbl_projects.projstart, tbl_projects.projdue, tbl_projects.projstatus, tbl_projects.projstatus, DATE_FORMAT(tbl_projects.projstart, '%d/%m/%Y') as projstart_format, DATE_FORMAT(tbl_projects.projdue, '%d/%m/%Y') as projdue_format, tbl_projects.projpriority FROM tbl_projects, tbl_customers WHERE tbl_projects.FK_custid=tbl_customers.custid AND tbl_projects.projstatus!='Complete' ORDER BY projid ASC";
    $rsProjects = mysql_query($query_rsProjects, $conndb2) or die(mysql_error());
    $row_rsProjects = mysql_fetch_assoc($rsProjects);
    $totalRows_rsProjects = mysql_num_rows($rsProjects);
    The data is presented in a table:
    <table border="0" cellpadding="0" cellspacing="0" id="tblrepeat_proj">
          <caption>
            <img src="../Images/project.jpg" border="0" /><a href="project_add.php"><img src="../Images/new.jpg" border="0" /></a><a href="#" onclick="print()"><img src="../Images/print.jpg" border="0"/></a>
          </caption>
          <tr>
            <th scope="col">Order No.</th>
            <th scope="col">Document Name</th>
            <th scope="col">Customer</th>
            <th scope="col">Start Date</th>
            <th scope="col">Due Date</th>
            <th scope="col">Status</th>
            <th scope="col">Edit</th>
            <th scope="col">Remove</th>
          </tr>
          <?php do { ?>
          <td>
          <?php echo $row_rsProjects['projid']; ?></span></td>
              <td><a href="project_details.php?id=<?php echo $row_rsProjects['projid']; ?>"><?php echo $row_rsProjects['projtitle']; ?></a></td>
              <td><?php echo $row_rsProjects['custname']; ?></td>
              <td><?php echo $row_rsProjects['projstart_format']; ?></td>
              <td><?php echo $row_rsProjects['projdue_format']; ?></td>
              <td><?php echo $row_rsProjects['projstatus']; ?></span></td>
              <td><a href="project_edit.php?id=<?php echo $row_rsProjects['projid']; ?>">Edit</a></td>
              <td><a href="project_remove.php?id=<?php echo $row_rsProjects['projid']; ?>" onclick="tmt_confirm('Are%20you%20sure%20you%20want%20to%20delete%20this%20record?');retu rn document.MM_returnValue">Remove</a></td>
            </tr>
            <?php } while ($row_rsProjects = mysql_fetch_assoc($rsProjects)); ?>
        </table>
    Is it possible to use the table headings as the control for the ORDER BY in the SQL query?

    You can, but I find it usually more user friendly to use client side sorting for tables. It's much faster and easy to implement. Just search for client side table sort. Here's one example.
    http://www.glendinning.org/webbuilder/sortTable/

  • Table Headings in Pivot Table

    Hello Experts,
    is it possible to view Table Headings in Pivot Table Columns? If not is there a work around for this?
    Thank You
    Regards

    Hi ZaidN,
    We do not have any direct option to do this.
    But as a workaround, we can achieve this using the following approach.
    Add a column to the criteria. Use the following in the column formula.
    '<table width="100%" align="center" bordercolor="#C9CBD3"
    frame="void" rules="cols" cellpadding="0" cellspacing="0">
    <tr>
    <td align="center" width = "200">
    <font color = "black">'|| 'This Month' ||'</font>
    </td>
    <td align="center" width = "200">
    <font color = "black">'|| 'Accumulated YTD' ||'</font></td>
    </tr>
    </table>'Where This Month & Accumulated YTD are the table headings.
    Do not forget to change the Data Format to 'HTML'
    Place this column on top of measures labels in Columns Section.
    But, you need to fix the width of all the measure columns and adjust the <td> width accordingly.
    Hope it helps. :)
    Award points if this post helped you..
    Regards,
    Raghu

  • Table headings (tagged in paragraph tags) to be merged as a single entry in the TOC

    Hello, 
    I am working on a previous file done by somebody else. And here, I have the TOC as shown in screen shot below (which looks quiet normal).
    - The body page headings are placed in tables as shown in screen shot below.
    But, the entries when they appear in the TOC, they appear as one (IP31/42 T40) heading.
    How do we tag table headings (in different paragraph tags) and merge them as a single entry in the TOC.
    Also, suprising to note the paragraph tags are different in the TOC and different in the body (for the same headings).
    Below are the different paragraph tags that show up for the headings in the Table of contents:
    Below are the different paragraph tags that show up for the headings in the Table of contents:
    How do we tag table headings (in different paragraph tags) and merge them as a single entry in the TOC.
    Help much needed!!
    Please advice....
    Regards,

    You cannot have two paragraph styles in one paragraph, but you could use different styles in each cell of your table and include them all in the TOC.
    As far as using a different paragraph style for the lisitng in the TOC and the actual text that is picked up, that's very common. It allows you to find many different paragraph styles to include, but have the listings all look the same, and completley different from how the text looks in the body of the book. You'd problay not want 24 pt Bold TOC lisitngs, but that might be appropraite for section headings that you want to pick up.

  • Display Table contents using HTMLB...Urgent Help Plz...

    Hello All,
    Im working on EP SP14 and SQL Server 2000.
    I have successfully established database connection.
    I want to know <b>how can I display Table contents using TableViewModel in HTMLB</b>.
    Please help.
    Its urgent.
    Awaiting Reply.
    Thanks in advance,
    Uday<b></b>

    See /thread/80270 [original link is broken]
    (please stop crossposting every question into two forums; thanks in advance)

  • How to hide this table if my record in display table =null?

    i create a list to display record inside the table. If i wanna hide my table in case the list no any record. What statement should i add on? i may using <c:choose> ?
    <tr>
    <td colspan="3">
    <fieldset>
    <legend>CSC Listing</legend>
    <table>
    <tr>
    <td colspan="4">
    <display:table name="CSC" pagesize="10" id="csc" sort="list" defaultsort="3" requestURI="/csc.do?submit=SEARCH" class="model" >
    <display:setProperty name="paging.banner.placement" value="both"/>
    <display:setProperty name="paging.banner.some_items_found" value=""/>
    <display:setProperty name="paging.banner.one_item_found" value=""/>
    <display:setProperty name="paging.banner.all_items_found" value=""/>
    <display:setProperty name="paging.banner.no_items_found" value=""/>
    <display:setProperty name="paging.banner.onepage" value=""/>
    <display:setProperty name="basic.msg.empty_list" ><center>No Record(s) was found.</center></display:setProperty>
    <display:column ><html:radio property="cid" value="${csc.id}" /></display:column>
    <display:column title="CSC ID" sortable="true"><cut value="${csc.merchantId}"/></display:column>
    <display:column title="CSC Number" sortable="true"><cut value="${csc.merchantNo}"/></display:column>
    <display:column title="CSC Name" sortable="true"><cut value="${csc.name}"/></display:column>
    </display:table>
    </td>
    </tr>

    You need to use an IF statement. I dont use jstl so youll have to find the syntax yourself.

  • Still not possible (4.0 EA3) to copy displayed column headings from ref cursor output.

    Hi,
    I've created an enhancement request to allow displayed column headings from ref_cursor output to be copied.
    This is still not possible (4.0 EA3)
    The ref cursor data can be copied, but not the headings..
    See July 2012 discussion of problem in comments at
    http://www.thatjeffsmith.com/archive/2011/12/sql-developer-tip-viewing-refcursor-output/

    Hi,
    I think you're out of luck... except if you're on 11g where you can use DBMS_SQL.TO_CURSOR_NUMBER to convert the REF CURSOR to a DBMS_SQL cursor, and then benefit from the DBMS_SQL package to get column details.
    http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28419/d_sql.htm#CHDJDGDG

  • Downloaded new numbers app.  Now no table headings.  Solution?  Also in table headings/title want to add current date as did in old numbers.  How do I do it?  Thanks

    Down loaded new numbers app.  Now no table headings.  Solution?  Also. How do I include current date as part of new table heading, I had this included in old numbers spreadsheet title?

    Hi,
    Do you mean no table name?
    Or table header row?
    You can get the current date in a table heading with NOW, which in the formula editor now looks like this:
    Which you can format this way:
    SG

Maybe you are looking for

  • Can't change the iCloud id on my iphone

    I recently changed my Apple ID because the old email is going away.  So everything went fine except the iCloud login on the iphone.  it still has the old id in it and when I try to delete it, it says I have to run off Find My iPhone and asks for the

  • R/3 forms on Portal

    Hi, System: We have EP6SP2, ITS and R/3 4.7 installed on three diff machines. Situation: When I create SmartForm and call it in the portal via the ITS, automatically the output goes to Adobe Acrobat Reader from where I can print the form output. Prob

  • I would like to use the windows explorer open dialog box instead of the adobe open dialog box. How can I change that?

    I would like to use the windows explorer open dialog box instead of the adobe open dialog box. How can I change that?

  • How do I get infinite bars when zooming in on piano roll?

    When zooming in on the piano roll, the bars stop at 128th notes or something. I can add smaller values of notes, but then theres no grid to make the input accurate. Is there a setting or button within the piano roll Im missing? Thanks, Sverre

  • VA01 Partner Header Userexit

    Hi, I am looking for a userexit which is triggered on the header screen of VA01/02. Basically my requirement is to add one more partner function on a condition. Please help me Rajiv