Table header always visible

Hi All,
I have used table in scroll container.when i scroll a vertical scrollbar,table heading are also scrolled.
Is it possible that the table header is  visible, when i scroll to vertical scroll  in the table?
Thanks
Abhilasha.

Hi,
Have a workaround to use two tables, one table containing columns as header and set some of the properties of the that table like footer visible = false,row selectable = false etc., and the other table holding the actual data. This is proposed by Armin in the following thread. Hope your requirement will be fullfilled.
[Re: scroll container UI element]
and some other related threads
[Re: Table header always visible]
[Table header fixed]
Regards
Raghu

Similar Messages

  • Table header not visible on all pages

    I have created a table, which have the following subforms.
    MaterialBody ( Type -Flow Content  & Flow direction - Table )
    - Header     ( Type - Flow Content & Flow direction - Table row )
       - Data        (  Type - Flow Content & Flow direction - Table row )
    Also Checked the check BOX , Include Header Row in Initial Page
    In the output of my form i see all the records in table format, but my header is not visible on all the pages.
    The header is visible only on the firs and second page.
    Can anyone suggest, why the header is not visible on every page.

    Hi Ayesha,
    can you please show us the screenshot of your elements you have declared under smartforms.
    Please check this too, for your header data you have checked or not.

  • Table header fixed

    hi
    i have a table with n colums.
    i would fix the table header so that are the header always visible.
    have anybody a idea how can i do this?
    best regads
    Thomas

    Thomas,
    Please explain your term "fixed header". Standard headers of WD Table are already fixed -- they are not scrolled when rows scrolled. Or you want to "fix" them somehow for horizontal (rather then vertial) scrolling?
    Moreover, there are Fixed Cells in NW04s, so you may create fixed rows from "regular" rows of table data source.
    Valery Silaev
    SaM Solutions
    http://www.sam-solutions.net

  • Html link not visible as table header in jsp

    Hi,
    I am not sure if this question belongs to JSP forum, since it's happening in JSP page I am posting it here.
    I am seeing this strange problem, in my JSP page all the link are looking fine except some links in Table header. Here is the code snippet:
    <th align="left" width="30%"><html:link action="/myAction.do?sortBy=org&all=${param.all}">Organization Name</html:link></th>
    ENV is struts, jstl, html.
    Now the problem is the text Organization Name is not visible, although it's there and I can click it. If I click and drag mouse over it I can see it.
    Also if I put this link anywhere else e.g. <TD> I can see it.
    I am not sure why it's happening.
    Please help me.
    Abhishek

    Sounds like a style issue - is it the same colour as the background for some reason?
    What styles have you got applied to your <th> columns? The text in them?
    Are you using css?

  • Table cell borders not always visible

    I created a PDF out of an existing Word doc. The doc is a table. The visibility of the table borders is unpredictable in the PDF. At certain zoom levels some disappear/reappear, and there doesn't seem to be a consistent pattern or behavior. Any thoughts?

    This process is not intuitive.
    Try this to understand how it works.
    With Apply formatting to: Whole Table, change the border
    colour to red.
    You will see just the border for the Whole Table change, that
    is the outer border.
    Without exiting the editor, change "Apply formatting to" even
    rows. Note the colour picker will change and so will the border
    size in the Border controls. Change that to what you red and 1px as
    well, now do that for for odd rows.
    I think by now you will be getting the hang of it.
    Post back if still in trouble.

  • How do I control a table's column visible in Java

    Using JDeveloper 11.1.1.4.0
    I want to control a rich tree table's column visibility programatically in Java. I've looked for syntax and do not find an example like I need. I need to directly control the column similar to how a panel collection does. The visibility of the column will be set and then the table refreshed (I've got the refresh part working), I just need to correctly reference the column. This logic will be triggered by a rowDisclosureListener that is defined as pageFlowScope. I've tried experimenting on myTable which is a RichTreeTable, but the plethora of syntax choices after "myTable." is enormous. Also, is it possible to allow the panel collection to override this logic or remove the column from its columns list?
    Thanks in advance,
    Troy

    Wow, I wish I could include a screenshot to show what is happening. My bean has somewhat similar logic, only I am trying to have my treetable show an additional column when a node of the treetable is expanded. I thought this problem might be caused by the panel collection so I tried taking it off, but it still behaves the same. I can show the column, but no header shows up for it. The original column headers stay fixed as does the data of node 0, but the subsequent (node 1) data after the first column is shifted to the right with each column added between the first column and the end column. If I do a browser refresh after expanding a node, it refreshes with the column header that was missing--strange.
    from my bean:
        public void onNodeDisclosure(RowDisclosureEvent rowDisclosureEvent) {
            boolean isCloseEvent = false;
            RowKeySet rowKeySet = rowDisclosureEvent.getAddedSet();
            //did disclosure event open a new node ?
            if (rowKeySet.iterator().hasNext()) {
                isCloseEvent = false;
                nodeLevel++;
            } else {
                isCloseEvent = true;
                nodeLevel--;
                //get the previously disclosed set
                rowKeySet = rowDisclosureEvent.getRemovedSet();
            if (nodeLevel == 1 && isCloseEvent == false) {
                setShowTaxyear(Boolean.TRUE);
            } else if (nodeLevel == 1 && isCloseEvent == true) {
                setShowTaxyear(Boolean.FALSE);
                setShowTaxunit(Boolean.FALSE);
            if (nodeLevel == 2 && isCloseEvent == false) {
                setShowTaxyear(Boolean.TRUE);
                setShowTaxunit(Boolean.TRUE);
              } else if (nodeLevel == 2 && isCloseEvent == true) {
                showTaxunit = true;
            if (nodeLevel == 3 && isCloseEvent == false) {
                setShowTaxyear(Boolean.TRUE);
                setShowTaxunit(Boolean.TRUE);
            partiallyrefreshUIComponent();
        public void setAmtsOwedTreeTbl(RichTreeTable amtsOwedTreeTbl) {
            this.amtsOwedTreeTbl = amtsOwedTreeTbl;
        public RichTreeTable getAmtsOwedTreeTbl() {
            return amtsOwedTreeTbl;
        public void setShowTaxyear(boolean showTaxyear) {
            this.showTaxyear = showTaxyear;
        public boolean isShowTaxyear() {
            return showTaxyear;
        public void setShowTaxunit(boolean showTaxunit) {
            this.showTaxunit = showTaxunit;
        public boolean isShowTaxunit() {
            return showTaxunit;
       * PRIVATE METHOD
      private void partiallyrefreshUIComponent() {
          AdfFacesContext adfFacesContext = AdfFacesContext.getCurrentInstance();
          adfFacesContext.addPartialTarget(getAmtsOwedTreeTbl());
      }my treetable:
            <af:treeTable value="#{bindings.GetAmtsGrandTotal_VO2.treeModel}"
                          var="node"
                          selectionListener="#{bindings.GetAmtsGrandTotal_VO2.treeModel.makeCurrent}"
                          rowSelection="multiple" id="amtsowedtt1" width="900"
                          columnSelection="multiple"
                          inlineStyle="border-style:none;"
                          summary="This table dynamically displays the amounts due, (interest, penalties and attorney fees--if any) and a total due.  The rows can be expanded to show the above amounts by year, tax unit and owner."
                          shortDesc="Amounts Due" autoHeightRows="0"
                          immediate="false"
                          clientComponent="true"
                          rowDisclosureListener="#{pageFlowScope.browseAmtsOwedTreeTblBean.onNodeDisclosure}"
                          binding="#{pageFlowScope.browseAmtsOwedTreeTblBean.amtsOwedTreeTbl}">
              <f:facet name="nodeStamp">
    <!-- this column is to always show -->
                <af:column id="amtsowedc1" width="130"
                           inlineStyle="#{node.bindings.NodeType=='aggregate'?'font-weight:bold;':''}"
                           visible="#{true}">
                  <af:outputText value="#{node.bindings.NodeLabel}"
                                 id="amtsowedot1"/>
                </af:column>
              </f:facet>
    <!-- this column should show when node 1 or greater is exposed -->
              <af:column width="45" id="amtsowedc2"
                         visible="#{pageFlowScope.browseAmtsOwedTreeTblBean.showTaxyear}" inlineStyle="text-align:center;"
                         sortable="true" sortProperty="#{node.bindings.Taxyear}">
                <af:outputText value="#{node.bindings.Taxyear}" id="amtsowedot2"/>
                        <f:facet name="header">
                          <af:outputText value="Tax Year" id="amtsowedot33"
                                         inlineStyle="text-align:center;"
                                         visible="#{pageFlowScope.browseAmtsOwedTreeTblBean.showTaxyear}"
                                         noWrap="true" rendered="#{pageFlowScope.browseAmtsOwedTreeTblBean.showTaxyear}"/>
                        </f:facet>
              </af:column>
    <!-- this column should show when node 2 or greater is exposed -->
              <af:column width="40" id="amtsowedc3" visible="#{pageFlowScope.browseAmtsOwedTreeTblBean.showTaxunit}"
                         inlineStyle="text-align:center;"
                         sortable="true" sortProperty="#{node.bindings.Taxunit}"
                         filterable="true" filterFeatures="caseInsensitive">
                <af:outputText value="#{node.bindings.Taxunit}" id="amtsowedot3"/>
                        <f:facet name="header">
                          <af:outputText value="Tax Unit" id="amtsowedot66"
                                         inlineStyle="text-align:center;"
                                         visible="#{pageFlowScope.browseAmtsOwedTreeTblBean.showTaxunit}"
                                         noWrap="true" rendered="#{pageFlowScope.browseAmtsOwedTreeTblBean.showTaxunit}"/>
                        </f:facet>
              </af:column>
              <af:column id="amtsowedc4" align="right" headerText="Calculated Levy"
                         inlineStyle="#{node.bindings.NodeType=='aggregate'?'font-weight:bold;':''};"
                         visible="false">
                <af:outputText value="#{node.bindings.Calclevy}" id="amtsowedot4"/>
              </af:column>
              <af:column id="amtsowedc5" align="right" headerText="Levy Due"
                         inlineStyle="#{node.bindings.NodeType=='aggregate'?'font-weight:bold;':''};"
                         visible="false">
                <af:outputText value="#{node.bindings.Ballevydue}"
                               id="amtsowedot5"/>
              </af:column>
              <af:column id="amtsowedc6" align="right" headerText="Interest Due"
                         inlineStyle="#{node.bindings.NodeType=='aggregate'?'font-weight:bold;':''};"
                         visible="false">
                <af:outputText value="#{node.bindings.Intdue}" id="amtsowedot6"/>
              </af:column>
              <af:column id="amtsowedc7" align="right" headerText="Penalty Due"
                         inlineStyle="#{node.NodeType=='aggregate'?'font-weight:bold;':''};"
                         visible="false">
                <af:outputText value="#{node.bindings.Pendue}" id="amtsowedot7"/>
              </af:column>
              <af:column id="amtsowedc8" align="right" headerText="Attorney Due"
                         inlineStyle="#{node.bindings.NodeType=='aggregate'?'font-weight:bold;':''};"
                         visible="false">
                <af:outputText value="#{node.bindings.Attydue}" id="amtsowedot8"/>
              </af:column>
    <!-- this column is to always show -->
              <af:column id="amtsowedc9" align="right" headerText="Total Due"
                         inlineStyle="#{node.bindings.NodeType=='aggregate'?'font-weight:bold;':''};"
                         visible="#{true}">
                <af:outputText value="#{node.bindings.Totalbaldue}"
                               id="amtsowedot9"/>
              </af:column>
              <f:facet name="pathStamp">
                <af:outputText value="#{node}" id="amtsowedot0"/>
              </f:facet>
            </af:treeTable>

  • Table header wrap text?

    Hi,
    Is it possible to wrap the text of a table heading? I have found this question in many places always with a negative answer. Althought they are old posts and in main thread of this forum [POLL: Web Dynpro UI elements - enhancement proposals; in the first response Armin says that header text wrapping is now supported. Anyone knows how? I am working with NW7.0
    Thanks,
    Gabriel.

    Hi Gabriel,
    The header text wrapping is now supported in the SAP CE 7.1 and SAP NW 7.0 EHP 1.
    This a table column property.
    For documentation on NW 7.0 EHP 1 please refer the following link:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/c4/219041d3c72e7be10000000a1550b0/frameset.htm
    Regards,
    Kartikaye

  • Points always visible? / on top, selectable?

    Hi,
    I am bringing in CATIA geometry (primarily) amd want to display the ponit locations in front of the solid models as they are locator points for mfg.?
    Is there a setting to break points out as point entities? Individual entities? Bring them to the top of the graphics layering for visibility?
    Any feedback is welcome,
    Thanks,
    Dave

    Hi,
        One possible solution is to split the page using HTML Frames. Have one top frame and one bottom frame. Have your table header on the top frame and rest of the page on the bottom frame which you can scroll independant of the top frame. You can make the border of the frame invisible so that for the user it still looks as a single page.
    Regards,
    Sesh

  • In SSRS , after exporting report in excel,wrap text property for cell and freeze column for SSRS table header not working in Excel

    I am working no one SSRS my table headers are freeze cangrow property is false and my report is working perfect while rendering data on RDL and i want same report after exporting in Excel also , i want my table header to be freeze and wrap text property
    to work after exporting in my report in excel but its not working ,is there any solution ? any patch ? any other XML code for different rendering ? 

    Hi Amol,
    According to your description, you find the wrap text property and fix column is not working after exporting into Excel. Right?
    In Reporting Services, when exporting to excel file, it has limitation for textbox.
    Text boxes are rendered within one Excel cell. Font size, font face, decoration, and font style are the only formatting that is supported on individual text within an Excel cell.
    Excel adds a default padding of approximately 3.75 points to the left and right sides of cells. If a text box’s padding settings are less than 3.75 points and is just barely wide enough to accommodate the text, the text may wrap in Excel.
    In this scenario, it supposed to be wrap text unless you merge cells. If cells are merged, word-wrap does not work correctly. If any merged cells exist on a row where a text box is rendered with the
    AutoSize property, autosize will not work. For the Fix Data Property, it can't be working in Excel. These are features when exporting to Excel. We can't change it because it's by design.
    Reference:
    Exporting to Microsoft Excel (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • How to hide the table header if no data present

    Hi
    I need to hide the table header if no data present. Table has 5 column. if no any clolumn has data then this table section should not be display.
    i am using <?if:count(Installation_Event_S19)= 0?> but this is not work for me.
    Could you please help me out.
    Thanks
    Indrajeet Kumar

    Hi Priya,
    Thank you very much !!! its work fine.
    Thanks
    Indrajeet Kumar

  • How to add the Row count(number of rows in table)  in  the table header?

    Hi,
    I'm having a table. This table is viewed when i click on a search button.
    <b>On the table header it should dynamically display the number of rows in the table, i.e., the row count.</b>
    How to do this? could any one explain me with the detailed procedure to achieve this.
    Thanks & Regards,
    Suresh

    If you want to show a localized text in the table header, you should use the <b>Message Pool</b> to create a (parameterized) message "tableHeaderText" like "There are table entries".
    Next, create a context attribute "tableHeaderText" of type "string" and bind the "text" property of the table header Caption UI element to this attribute.
    Whenever the table data has changed (e.g. at the end of the supply function for the table's data source node), update the header text:
    int numRows = wdContext.node<TableDataSourceNode>().size();
    String text = wdComponentAPI.getTextAccessor().getText
      IMessage<ComponentName>.TABLE_HEADER_TEXT,
      new Object[] { String.valueOf(numRows) }
    wdContext.currentContextElement().setTableHeaderText(text);
    Maybe you want to provide a separate message for the case that there are no entries.
    Alternatively, you can make the attribute calculated and return the header text in the attribute getter.
    Armin

  • Insert a new Dropdown UI-Element in a Table header

    Hello,
    i need to insert a Dropdown UI-element in a Table header, i was looking in the forum and the Web, BUT i didnt find anythinf that can help.
    please schow me how can I insert a DropDown UI-Element in the Header.
    thank you all

    Hello,
    You can normally create a table. Insert a table column and for the table column you need to give Dorpdown by Key / index as a cell editor.
    Thanks,
    Raju Bonagiri

  • Table Header in freezed pane when exporting SSRS report to Excel

    Hi,
    I want table Header in freezed pane when exporting SSRS report to Excel.
    Can I have the table header of tablix be present in freezed pane of excel.
    Thanks,
    Vivek Singh

    Hi Vivek,
    Please refer the following thread.
    may be u get the answer.
    How to freeze header pane in SSRS
    Regards
    msbilearning

  • How can I right-align a table header?

    Does anyone know a way to right-align a table header?
    For example, in the table below I want the word 'Price' to be right-aligned. I could set the table's 'header renderer' to be a right-aligned DefaultTableCellRenderer, but then the header would look like a cell, not a header. Why can't swing be simple, like table.getColumn(1).setAlignment(Column.RIGHT) ????
    public class TestTableHeader {
         public static void main(String[] args) throws Exception {
              JFrame frame = new JFrame("Test");
              Object[][] rowData = new Object[][] { { "General Electric", "$100.60" },
                        { "IBM", "$5.20" }, { "Wal-mart", "$17.00" } };
              JTable table = new JTable(rowData, new Object[] { "Name", "Price" });
              DefaultTableCellRenderer renderer = new DefaultTableCellRenderer();
              renderer.setHorizontalAlignment(DefaultTableCellRenderer.RIGHT);
              table.getColumnModel().getColumn(1).setCellRenderer(renderer);
              frame.getContentPane().add(new JScrollPane(table));
              frame.setSize(400, 300);
              frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
              frame.setVisible(true);
    }

    I modified your code an came up with a solution to the problem.
    import java.awt.Component;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JScrollPane;
    import javax.swing.JTable;
    import javax.swing.table.DefaultTableCellRenderer;
    public class TestTableHeader {     
         public static void main(String[] args) throws Exception {
              JFrame frame = new JFrame("Test");
              Object[][] rowData = new Object[][] {
                        { "General Electric", "$100.60" }, { "IBM", "$5.20" },
                        { "Wal-mart", "$17.00" } };
              JTable table = new JTable(rowData, new Object[] { "Name", "Price" });
              RightAlignRender right = new TestTableHeader().new RightAlignRender();
              table.getColumnModel().getColumn(0).setHeaderRenderer(right);
              table.getColumnModel().getColumn(1).setHeaderRenderer(right);
              frame.getContentPane().add(new JScrollPane(table));
              frame.setSize(400, 300);
              frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
              frame.setVisible(true);
         public class RightAlignRender extends DefaultTableCellRenderer {
              public Component getTableCellRendererComponent(JTable table,
                        Object arg1, boolean arg2, boolean arg3, int arg4, int column) {
                   Component toReturn = table.getTableHeader().getDefaultRenderer().getTableCellRendererComponent(table,
                             arg1, arg2, arg3, arg4, column);
                   switch (column) {
                   case 0:
                        ((JLabel) toReturn).setHorizontalAlignment(DefaultTableCellRenderer.CENTER);
                        break;
                   case 1:
                        ((JLabel) toReturn).setHorizontalAlignment(DefaultTableCellRenderer.RIGHT);
                        break;
                   return toReturn;
    }

  • Table Header not getting repeated in subsequent pages

    Hi,
    I have a table and i want to table header to be repeated in subsequent pages but only till 2nd page the table header is repeated from the 3rd page onwards the table header is not repeated.
    I have selected the Header Row in hierarchy and in Pagination tab for the header row i have checked the the check box Insert Header Row in Subsequent Pages.
    After selecting the checkbox also table header is repeated only in 2 pages and not repeated after the second page.
    My table hierarchy in form is :
    TableSubform
    ---Table
    HeaderRow
    Row1
    I am using Designer 8.0 and Acrobat Reader 8.1.2
    Can you please help me in solving this issue.
    Regards,
    Bala Baskaran.s

    Hi All,
    I have selected the the check box Insert Header Row in Subsequent Pages then also the header is not getting flowed in subsequent pages only till 2nd page its getting flowed.
    I have used table wizard to create table and i have made the table subform as flowed then also table header is not repeating in subsequent pages.
    MainForm (Flowed)
    TableSubform1(Flowed)
    Table1
    HeaderRow
    Row1
    TableSubform2(Flowed)
    Table2
    HeaderRow
    Row1
    I selected TableSubform1 and in Pagination tab OverFlow Leader dropdown i selected HeaderRow, the same i did for TableSubform2 also but the table header is not getting repeated in subsequent pages.
    Please help me in solving this problem.
    Regards,
    Bala Baskaran.S

Maybe you are looking for

  • Mac mini running Plex and no sound coming through the amp.

    I've got a Mac mini OS X 10.6.8  and I downloaded the Plex program to play movies and tv shows. I can't get any sound through the amp while watching through Plex. The Mac mini and amp are connected via HDMI cable and I know it's been set up right bec

  • Want to send mail

    hello gurus, i want to send my company's salary slip on employee's mail. i have report of payslip which is now in pdf format.plz give me answers. Thanks in advance Binit

  • Orders creation from flat file

    experts I am having a flat file like below hd ponumber customer number podate delivery date it material1 materialtext quantity price plant it material2 materialtext quantity price plant it material3 materialtext quantity price plant hd ponumber custo

  • Are static methods in Java thread safe?

    Are static methods in Java thread safe? thanks, suresh

  • Why won't itunes 11 play an album from an artist

    when i double click on an artist and then choose an album, it only plays the 1st song! I really dislike this version!