Preserve the table header while scrolling table

Hi,
How do I preserve the table header (giving details of what column contains what data)-- I mean:   |
                        v
Name      I-number       department
to stay on the screen, and have only my table as scrollable?
currently my table contains a lot of data and the second page on scroll comes with the problem of what each column on each row of data means.
Thanks,
Adi

Hello Thomas,
I am facing the same problem.To resolve this I made two containers one is transparent type for header column and another scroll container to display table contents.These two containers are inside the root container with the flow layout .
But the prob is the table that is inside scroll cotainer is displaying in the next row instead of the new row.
Is there any solution of this.
Best Regards,
Shikha

Similar Messages

  • Set cursor position within table control while scrolling

    hi,
    Anybody can guide me how to set the cursor with in table control while scrolling down,normally it is going to first input filed.
    Thanks and Regards,
    palani.

    Hi Palani,
    Could you please share with me what all you have done regarding get and set cursor. I am facing similar problem where
    I have made a Z Table Control where i have given vertical and horizontal scrolling . Now when I scroll and try to select a row, then ZTABLE_CONTROL-CURRENT_LINE fetches line number not from the top, it fetches from the current top of ztablecontrol.
    It is onlyy changing the value on scrolling, if i do not scroll table control then value is coming correct.
    My requirement is whenever i select any row of ZTABLE CONTROL i need to get the curent line number from top. Please guide me what should i do.
    Early reply will be rewarded.
    Thanks.

  • How to insert a button on the column header of a table in webdynpro java

    Hi
    Can anyone tell me how to insert a button on the column header of a table in webdynpro java?
    regards
    sunit

    Hi sunit,
    Instead of adding button in the column header , in the column
    add a fixed top cell.
        right click on the column
        Insert FixedTopCell
        Right click on the fixedTopCell
        insert Editor.
       select button.
    then button will be only in the top most row.
    Hope it will satisfy ur requirement
    Regards
    Smitha

  • 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

  • Scrolling Table Rows without scrolling table header

    Hi folks,
    Is it possible to scroll table rows (top to bottom) without scrolling table header?
    I am using table inside a scroll controller with scrolling mode "auto". It scrolls full table along with header.
    My requirement is to keep header static and scroll rows beneath same.
    Is it possible or any other alternative?
    Regards,
    Mandeep Virk

    Hello Mandeep,
    Which version of NW are you using. In CE version you have table with scrollable rows. In case you want your this requirement to get fuilfill then kindly upgrade to NW CE 7.1 .
    In the earler release of NW 2004s this is not possible.
    Some days back one had similar problem and he resolved it by using 2 containers. Please search on SDN.
    I hope this helps!
    Thanks nad Regards
    Pravesh

  • ADF: coloring the complete header section of table

    Hi Everyone,
    im using Jdev 11G.
    I have created ADF Read only table on the page.
    The table cosists of 15 columns.
    To color the column heading and to make it bold i usesd the below script in the source of my page:
    <f:facet name="header">
    <f:verbatim>
    <table cellspacing="0" cellpadding="0"
    border="0" width="100%"
    style="background-color:#CPD8A1; width:100.0%; height:inherit;">
    <tr>
    <td width="100%" style="font-weight:bold;">Name </td>
    </tr>
    </table>
    </f:verbatim>
    </f:facet>
    Now the problem is:
    one of the column in my table is: "Customer's current residential address".
    Now when i redused the space for this column the heading splited to two parts one on the top of other.
    so the height of the header section for the table has increased so the background color is coming only for text not for the complete header part.
    For suppose the first column is SNO then the background color is for only till SNO but the header height has increased so the remaining space it is coming hasbackgraound white.
    Now i want the same background color for the complete header section without any white color.
    I think im clear with my requirement...
    Any ideas wil be really helpful.
    Thank you.

    One more hint, Oracle ADF has a skin editor which greatly helps you with your task. Depending on you JDev version you cna use the build in version (11.1.2.x) or use the stand alone version which you can donwload from http://www.oracle.com/technetwork/developer-tools/adf/downloads/index.html (bottom of the page and make sure you read the instructions+).
    Timo

  • Can I preserve the colour in a linked table?

    Not having much luck on table questions but will keep trying.
    In my linked tables (excel to Indesign CC) we have cells that have different coloured fonts and boldness depending on the day.
    Is there any way to preserve the colour of the font when updating to INdesign? 
    Styles will not help as we never know which cell is going to be which colour - it just depends on the importance of different contracts on different days.
    Any ideas?
    Thanks

    New RGB colours. The colour I want (and which I've added to Excel & is saved as a swatch in Indesign) is a green,  R-110, G-161 & B-129.
    What I get is a sea green with R-51, G-153, B-102 , looks completely different.
    And the other is a khaki green that is being replaced by yellow.
    weird.

  • Resizing table header of diffrent table

    hi all,
    i have 3 tables, the first table having the table header.
    if resize the first table header than all other 2 should be resized accordingly.
    i have done this demo, i want to know is this correct way.
    or ony other suggestion.
    the problem with this i am setting the tablecellrender for the first table header, it will cause the problem, because i am setting table header column model for other 2 tables as a column model.
    import java.awt.Component;
    import java.awt.Dimension;
    import javax.swing.Box;
    import javax.swing.BoxLayout;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.JTable;
    import javax.swing.UIManager;
    import javax.swing.table.DefaultTableCellRenderer;
    public class TableHeaderCellRenderr extends JFrame
        JTable table1 = new JTable(5, 5);
        JTable table2 = new JTable(5, 5);
        JTable table3 = new JTable(5, 5);
        public TableHeaderCellRenderr()
            JPanel pnl = new JPanel();
            pnl.setLayout(new BoxLayout(pnl, BoxLayout.Y_AXIS));
            pnl.add(new JScrollPane(table1));
            pnl.add(Box.createVerticalStrut(10));
            pnl.add(table2);
            pnl.add(Box.createVerticalStrut(10));
            pnl.add(table3);
             table2.setTableHeader(table1.getTableHeader()); // this is what it doing the resizing width of the other tables
             table3.setTableHeader(table1.getTableHeader());
             table2.setColumnModel(table1.getTableHeader().getColumnModel());
             table3.setColumnModel(table1.getTableHeader().getColumnModel());
            cellrenderer leftRenderer = new cellrenderer();
            table1.getTableHeader().setDefaultRenderer(leftRenderer);
            getContentPane().add(pnl);
            setSize(new Dimension(400,400));
            setVisible(true);
            setDefaultCloseOperation(EXIT_ON_CLOSE);
        public class cellrenderer extends DefaultTableCellRenderer
            public cellrenderer()
                super();
                setOpaque(false);
            public Component getTableCellRendererComponent(JTable table, Object value,
                                                           boolean isSelected, boolean hasFocus,
                                                           int row, int col)
                JLabel lbl = (JLabel) super.getTableCellRendererComponent(table, value, isSelected,
                                                                          hasFocus, row, col);
                lbl.setBorder(UIManager.getBorder("TableHeader.cellBorder"));
                lbl.setFont(table.getTableHeader().getFont());
                return lbl;
        public static void main(String[] args)
            new TableHeaderCellRenderr();
    }thanks
    dayananda b v

    if i reload or refresh whole GUI the table header is moving from first table to the next table,
    i know this is because of same table header i am setting for the other table header,
    how can i achive this Functionality some other way, any suggestions.
    thanks
    daya

  • I18n: text label of Table Header of Data Table Component

    hi all
    JSC Hangs when i try to change text label of Table Header (Column) of Data Table Component to my favorite language for example Arabic or Persian Language.
    is this bug!!!

    Hi,
    Please take a look at the tutorial Internationalization at
    http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/index.jsp
    may help you
    regards

  • How to set the SOAP Header while publishing to Queue in the mediator

    Hi,
    I am trying to publish the message to a JMS AQ, from the Mediator service in the 11g Soa Suite. I want to add some properties as SOAP Header to the message and send it to the JMS AQ. I have seen the mediator process calling BPEL process, passing the SOAP Header values. In the BPEL process, we have the section <soap:binding> inside that I can give the <soap:header>and set the values.
    Could any one tell me how to do this in Mediator service which is calling the JMS AQ using adapter?
    Thanks,

    The solution in this thread is for VS .NET as this is the forum for CR in .NET.
    With Foxpro, I suspect you want to create a new thread in the SAP Crystal Reports - Legacy SDKs forum.
    Make sure you specify the exact version of CR used.
    - Ludek

  • Write to text file while scrolling table issue

    Hi all,
    I have a LabVIEW application that logs data using 'write to text file' every second. This is a bckground task in a sub-VI. On the main screen I have several tables that have scrollbars. Every time the file is written the scrolling of a table is effectivley canceled. It is then necessary to click on the scrollbar again to re-start scrolling the table. I guess this is an issue with the OS but not sure yet. I have not tested other operating systems yet. I thought I would try the forum first. Has anyone else experienced this issue? Any ideas on how to fix this?
    I have tried using list boxes instead of tables but the same issue exists.
    I'm using windows 7 and LabVIEW 2011.
    Thank you.
    Certified LabVIEW Architect

    Hi Steve, thanks for offering to help. Right now I'm on a machine with LabVIEW 2010 and XP and the issue does not exist. But I have created a little test VI that should demonstrate the issue once running on LabVIEW 2011 SP1 and Windows 7. I can't confirm this VI will demonstrate the issue until later today when I can test it on the problem system myself. Feel free to give it a go and let us know what you find, or wait until I confirm the attached VI will demonsrate the issue (10 to 12 hrs time).
    Thank again.
    Certified LabVIEW Architect
    Attachments:
    Table scroll test_1.vi ‏13 KB

  • Inlcude the table heading in Pivot Table.

    Hi,
    Can we include the table name in the Pivot tables as well along with the Column names as we can do in the Table view where we can show 'Display Column & Table Headings' as seperate rows.
    Regards,
    Bhavik

    Ok, for example take two columns product and revenue. Consider they are 10 products.
    What I have to display in report is 9 products with revenue and total revenue of those 9 products and then the 10th product and revenue and finally the grand total.
    Product---Revenue
    1---35
    2---45
    9---60
    Total---140
    10---70
    Grand Total---210
    Which can be achieved the same in pivot view (using New calculated item)
    I also need to display the table headings, there I stuck with.

  • Getting Cursor for Table control while scrolling

    Hi Experts,
    I am displaying 3 pages of records using table controls,
    and when i double click on the record, i have to display some pop up based on the values present in the particular record,
    this is done by getting the line number of the record using GET CURSOR LINE and reading the internal table with the index obtained from GET CURSOR LINE
    This is working fine for one page. I am getting problem for more than one pages
    i.e. if i have to validate for the 23rd record, it will be the second record in the second page, so i will get line number as 2nd instead of 23rd (using GET CURSOR LINE) and i will read the 2nd record in the internal table instead of reading the 23rd record.
    This will lead to improper pop up messages.
    So please let me know how can i catch/get the line number of particular record irrespective of number of pages.
    Thanks,
    Kavya

    declare two variables to get line count and line index
    data: wrk_linecnt(10),
    wrk_lineindx(10).
    get cursor line wrk_linecnt.
    wrk_lineindx = <table control name>-top_line + wrk_linecnt - 1.

  • Can you disable the bounce effect while scrolling?

    Whenever you scroll in applications like Safari and Mail and you reach the 'border' of the application, you get a little bounce effect like in iOS. I find this to be very annoying and I was wondering if there was a way to turn this off.

    Why?... is there any point??? I thought I liked it for about 15 seconds and then it started to feel like a joke... now it just feels a bit like last year's favorite shirt.

  • Fixing the Table Header in the default JSF Table

    I am using the default JSF Table in Sun JS Creator (Version JSC 2 EA 2) with a
    Scroll Bar Option (instead of Pagination Control). However I have not
    been able to fix the table header and scroll only the data rows in the
    table.
    I have tried to use CSS style for table header, but it has not worked
    either. Where do I set the CSS style - in JSCreator JSF Datatable or
    JSCreator Table component, neither seems to work for me?
    Is there any other way to fix the table header default JSF Table in Sun
    JS Creator?
    Using the scroll bar is critical user requirement for me and fixing the
    table header will ensure that I can use the default JSF Table in Sun JS
    Creator, alternatively we will have to use some other JSF table e.g.
    from myFaces or an HTML Table and lose on the productivity benefit of
    JSCreator.

    Hi,
    There please just replace the If with IIF mentioned in Visakh Post. There is spell mistake
    It should be
    =IIF(CountRows("Dataset") > 0, True,False)
    Regards, PS

Maybe you are looking for