How to hide table header?

I can hide the table header in metal look and feel.
but not in solaris cde look and feel.
How to do this.
Thanks a lot!

I haven't tried but: The table header is displayed in the column header of the enclosing scrollpane. When adding the table to the scrollpane it calls scrollPane.setColumnHeaderView(getTableHeader()). I guess you can remove it by calling scrollPane.remove( mytable.getTableHeader() ).

Similar Messages

  • How to hide table header for empty table

    Hi,
    I wanna to hide table header for all tables which doesn't contain any data in my Adobe form. How can I do this? Helpful answers will be rewarded .

    HI Aliaksandr,
    You can use javascript to do this dynamically.
    For example, i used Adobe Designer 7.1 to add a table to a subform.
    Now, i have the object hierchy as:
    Level 1 - form1
    Level 2 - form2
    Level 3 - Table1
               -->HeaderRow
                    --> Cell1
                    --> Cell2
               -->Row1
                    --> Cell1
                    --> Cell2
    Now, i sleect the Table1 element, and write the javascript which is executed on Initialization, as
    if(this.Row1.Cell1.rawValue == "")
    this.HeaderRow.presence = "hidden" ;
    This will check that if the first row is empty, it will hide the header from the layout.
    You can use something similar for your requirement.
    Hope this helps,
    Siddhartha Jain

  • How to hide table control in a screen

    Hi, Gems,
    I want to hide the table control.Using "loop at screen" I am able to hide all other components except table control.
    Can anyone tell me how to hide table control in a screen?
    Any help will be appreciated.
    -Thanks
    Surajit.

    Hi,
    In the PBO (in a module outside to the LOOP...ENDLOOP), use this
    MODULE status_0100 OUTPUT.
    IF sy-ucomm EQ space.   "Give the function code on which you want to make your table control go invisible
                                              "Give a space if you want your table control to remail invisible on display of the screen
        CLEAR: t_header[].
        LOOP AT tabcontrol1-cols[] INTO wa_control1.
          wa_control1-invisible = '1'.
          MODIFY tabcontrol1-cols[] FROM wa_control1 INDEX sy-tabix.
        ENDLOOP.
    ENDMODULE. 

  • How to hide windows heading and border on WEB?

    How to hide windows heading and border on WEB? forms 6i.
    null

    Abdetu wrote:
    Thanks JeanYves
    i found that parameter but didn't know what to set to it i even has no forms in my pc thanks again
    Regards,
    Abdetu...Hi Abdetu,
    There is 3 parameters in the <DevSuiteHome>\forms\server.formsweb.cfg having the same behavior.
    Logo
    Background
    SplashScreen
    By default (if you don't have specified them in you [section] they values are inherited from the [default] section) the values are
    Logo=
    Background=
    SplashScreen=
    This means you will have the oracle logo, the Forms Services background image in your applet and the oracle splash screen at startup.
    *To have nothing shown then just put the value no in front of these 3 parameters*
    Logo=no
    Background=no
    SplashScreen=noYou can also customize that with you own gif files.
    For this you have to put your images in a icons.jar file
    place it in your <DevSuiteHome>\forms\java where frmall.jar and others are located.
    then in your formsweb.cfg :
    Archive=frmall.jar, icons.jar
    ImageBase=CodeBase
    Logo=yourlogo.gif
    Background=yourbackground.gif
    SplashScreen=yourbeautifullsplachscreen.gifAnd at least if you have a small gif in your icons.jar for the window you can also defining the Icon Filename property in Forms builder. This wile replace the default forms runtime icon.
    Hope this helps
    JeanYves

  • How to remove table header

    my system need to display data, i will apply to display in JTable(one field is checkbox, one is the detail info.), but i don't hope user feel their data was displayed in a table.so i do following:
    private static final String colName[] = {
    tblMain.setShowHorizontalLines(false);
    tblMain.setShowVerticalLines(false);
    tblMain.setSelectionBackground(Color.white);
    but i still meet a problem on how to hide the table header. anyone,please help guide.
    thanks in advance.
    Susan

    so great ,camickr ,it's realized, thanks a lot

  • How to Fix Table Header of Analysis Web Item in BEx Web Template

    Hi,
    I am using an Analysis Web Item to display line item report in BEx Web Template. Is there any way to fix the table header of the like in Excel for better navigation?
    Thanks in advance.
    Regards,
    Joon

    Thank you all for your quick responses (I will award points once this is sorted)
    On the information you have supplied this has opened up yet another new part of WAD that I have not experienced ...TAGs
    Shubhranshu - I have done what you said but as I have never used tags I have just had a look around and found that I can insert Any Tag but not sure if I should be doing that.  If it is inert any tag , I chose FONT from the drop down and cbmAttributes defaulted into the custom tab for the class name but not sure what it wants in the Attributes and CSS Style tab, it won't accept what I am putting which is leading me to believe that I shouldn't be doing it that way.
    Venkat - thanks for the links they will prove very useful.  I've had a look and although they talk alot about the XHTML code for tags they don't actually say how you do it in the editor - I would like to produce one that way first and then see the code it generates for it.  I'm a bit apprehensive with changing the code direct as I don't want to mess anything up.
    Thanks again for your help

  • How to hide tables in answers

    Hi,
    Is it possible to hide tables from users in answers. I would like to restrict the view to enable users to only view certain fact and dimension tables.
    Can anyone help?
    Thanks

    hey,this might help you http://varanasisaichand.blogspot.com/2010/08/dataobjectcolumn-level-security-in.html
    Coming to answers you cant hide them as such,but you can change the permissions accordingly.
    Cheers,
    KK

  • How to hide table column based on country molga value

    Hi Experts,
    I am doing some enhancement in ess application. I want to hide table column based on country code i.e. Molga value.
    I want to hide coulm for only Japan country reset of them i need to be show those coulmn.
    Could you please provide me a sample code.
    Regards
    Chakri

    Hi Chakri,
    Your setting the table value that time you will get the Country Code.
    1.Create the attribute like Country_Column_Visible Data Type bind the com.sap.ide.webdynpro.uielementdefinitions.Visibility this value  you need to bind the table country column.
    2.In Table You need to check the country code Japan is available you need follow this below sample code.
    for(int i=0;i<tablesize;i++)
         tablesithValue=wdContext.nodeTable().getTablenode(i);
         if(null != tablesithValue.getcountrycode)
         if(tablesithValue.getcountrycode.equalsIgnoreCase("Japan"))
              wdContext.currentxxxxElement.setCountry_Column_Visible(WDVisibility.NONE);
         }else
              wdContext.currentxxxxElement.setCountry_Column_Visible(WDVisibility.VISIBLE);
    Use the above code you condition it will work.I hope it will help you.
    BR,
    Durga

  • How to see table header

    hi,
    i have my jtable populated and filled, with my string[] to populate the header, but i can see the header!
    how to do it?
    thanx

    Add the table to a JScrollPane. The JScrollPane will display the header.

  • How to hide table with empty content using Javascript?

    Hello!
    I'm using Adobe LiveCylce Desinger integrated in SAP. I have a task to hide a database-table, if the table empty is.
    Normmaly we can do following to check, whether the content empty is.
    if (this.REMARK_TEXT.rawValue == null )
    this.presence = "hidden";
    else
    this.presence = "visible";
    The question is, how to check in Javascript, if a table empty is.
    Many thanks in advance!
    regards
    longholiday

    could try something like this:
    function showOrHideTable(table){
         var isVisible = false;
        // gets the count of instance managers, event_initialize and row objects
        var rowCount = table.nodes.length;
        for(var i=0; i<rowCount; i++)
            //get the class name
            var myTestNode = table.nodes.item(i).className;
            //ignores the instance managers and event_init
            if(myTestNode == "subform")
                var innerCells = table.nodes.item(i).nodes;
                for(var j=0; j<innerCells.length; j++){
                    //ignores non-input boxes
                    if(innerCells.item(j).className == "field")
                        //check value
                        if(innerCells.item(j).rawValue != ""))
                            isVisible = true;
                        else
                            //hide the row
                            table.nodes.item(i).presence = "hidden";
        //if any row has a value specified
        if(isVisible)
            table.presence = "visible";
        //no value specified
        else
            table.presence = "hidden";

  • How to repeat table header on each page of PDF using Coldfusion

    Hi all,
    Can anybody help me in resolving this issue. The details are mentioned below.
    I am generating PDF using <cfdocument> tag of Cold Fusion.
    I have a header and footer to be displayed on each page. I am rendering data in a table.
    If rows in the table exceed a page , and continue on the next page , I want the table headers to be repeated on each of the page.
    Example :
    Currently this is happening:
    Page Header
    Sr No
    Name
    Occupation
    1
    A
    A
    2
    B
    B
    3
    C
    C
    Page Footer : Page No 1
    Page Header
    4
    A
    A
    5
    B
    B
    6
    C
    C
    Page Footer : Page No 2
    What I want is :
    Page Header
    Sr No
    Name
    Occupation
    1
    A
    A
    2
    B
    B
    3
    C
    C
    Page Footer : Page No 1
    Page header
    Sr No
    Name
    Occupation
    4
    A
    A
    5
    B
    B
    6
    C
    C
    Page Footer : Page No 2

    Hi Dan ,
    Thanks for your inputs.
    This way wont work beacause , am displaying other text and table both, and the table will be diplayed based on some conditions. If the conditions are true , table will be diplayed , else not.
    I missed to illustrate text in the example. The scenario is something like this :
    Page Header
    Text .........
    Table [Displayed conditionaly]
    Page Footer
    Please suggest me some way to do this.

  • How To Display Table Header in JTable

    Hi,
    I have a tree node that is a JTable. It displays the cells, but not the header or the left hand side of the table.
    Here is my code ...
    Anyone got any ideas?
    public SimpleTree() {
    super("Creating a Simple JTree");
    WindowUtilities.setNativeLookAndFeel();
    addWindowListener(new ExitListener());
    Container content = getContentPane();
    JTable table;
         String columnNames[] = { "OrderID", "CustomerID", "EmployeeID", "Order Date", "Shipped Date" };
         String dataValues[][] =
              { "34", "234", "67","12/02/2002", "16/04/2002" },
              { "-123", "43", "853","12/02/2002", "16/04/2002" },
              { "93", "89.2", "109","12/02/2002", "16/04/2002" },
              { "279", "9033", "3092","12/02/2002", "16/04/2002" }
         table = new JTable( dataValues, columnNames );
         table.setEnabled(true);
         table.isCellEditable(4,4);
         table.setShowHorizontalLines(true);
         table.setShowVerticalLines(true);     
         table.getTableHeader().setForeground(Color.black);
         table.getTableHeader().setBackground(Color.lightGray);
         table.getTableHeader().setReorderingAllowed(true);
         table.getTableHeader().resizeAndRepaint();
         JTableHeader header = table.getTableHeader();
    header.setUpdateTableInRealTime(true);
    header.setReorderingAllowed(true);
         Object[] hierarchy =
    { "Orders",
    new Object[] { "Orders",
                                  table},
    new Object[] { "Prodcuts",
    new Object[] { "",
    table },
    "Employees",
    "Suppliers" };
         DefaultMutableTreeNode root = processHierarchy(hierarchy);
         JTree tree = new JTree(root);
         tree.putClientProperty("JTree.lineStyle", "Angled");
         tree.setCellRenderer(new MyTreeCellRenderer(table));
         tree.setCellEditor(new SimpleTreeCellEditor(table));
         tree.repaint();
         table.repaint();
         tree.setRowHeight(-2);      
         tree.setEditable(true);
         content.add(new JScrollPane(tree), BorderLayout.CENTER);
         setSize(275, 300);
    setVisible(true);

    The column header is a different component of the table component. You can get this component directly and place it wherever you want in a container, just get them from the JTable:JPanel aPanel = new JPanel( new BorderLayout() );
    JTable myTable = xxx;
    aPanel.add( myTable.getTableHeader() , BorderLayout.NORTH );
    aPanel.add( myTable, BorderLayout.CENTER );

  • How to hide table in bo based on userresponse selection

    Hi,
    I have a requirement in my webi report i have to reports Table1 and Table 2 ( Two blocks)..
    And we have two date Prompts like D1  and D2 both are optional prompts. 1)   If user enter D1 date appear table1 and table 2 should be hide same way
                                                                                                                2)  If user enter D2 date appear table 2 and table 1 should be hide..
    Pls give any suggestions to achieve this problem...
    Regards,
    G

    Hi Bhargav,
    Suppose let us think, these are the two blocks,
    Now Right clik on Table/Block 1, Hide -- Hide When - Write the Below Formula
    Right Click on Table/ Block 2, Hide -- Hide when -- =IsNull([Demo Date])
    Apply and Ok.

  • How to disable table header column reordering

    Does anyone know how to disable reordering of some but not all columns in tableview ? For that matter how to disable reordering for all columns?
    Thanks in advance !

    The following code will disable sorting in all columns
    public static <S> void disableSort(TableView<S> table){
    Iterator<TableColumn<S,?>> columns = table.getColumns().iterator();
    while(columns.hasNext())
    columns.next().sortableProperty().set(false);
    }

  • How to hide group header values

    Hi
    I grouped data on basis of pointdescrption in my report.
    bu twhen i run the application, all the gropupheader names are dispalying
    in left side of report. lke
    desc1
    desc2  etc.
    but i don't want to show groupheader names.
    give me solution.
    Thanks

    Morning Swetha,
    I see you are still having problems with the same report?.
    There are two ways to organise the group, one would be to create two groups, one will show only ID's and other would show the name (only once).
    I have had the similar issue where my Customer Account was showing  up on each group level.
    What I did was created Customer account group first, then created the ID's group. Then placed all my total counts etc in 2nd group footer.
    This time when I ran the report, it shows customer account only once, and IDs were only repeated as I wanted.
    Is that what you are trying to achieve?
    Regards
    Jehanzeb

Maybe you are looking for