Can we fix the column headers of a table placed in a scroll container?

Hi
  I have a big table placed inside a scroll container.
  The table is so big that both horizontal and vertical scroll bars appears always.
  So what happens is...
     when the user moves the vertical scrollbar down, the column headers move
     up,so that they are no visible, when he reaches the bottom of the table.
What is our requirement is, even if the  user moves the vertical scrollbars the headers should be visible.
Can anybody solve this problem??
Thanks
Smitha

hi Smitha,
    We cannot avoid that. but an alternate is that use another table above this table and which has the number of rows as zero. hide the table header for the below table. you need to adjust the header of above table so that it fits for the below table.
This works fine if the table doesn't have sorter facility.
Regards,
Gopi

Similar Messages

  • How can i know the Column Position in a table

    Dear all
    How can i know the Column position in a table ..
    For example :-
    I have a table
    Desc EMPLOYEES
    Empid
    Ename
    Sal
    I want to know the Empid is in 1st position , ename is in 2nd position and sal is in 3rd position .
    is it possible ?

    Hi
    SELECT * FROM ALL_TAB_COLUMNS WHERE
    TABLE_NAME ='EMPLOYEES' AND owner=<OwNeR nAmE> ;)

  • How can I customize the Column Headers of the TABLE control/indicator in LabVIEW ?

    I need to customize the TABLE control/indicator in the LabVIEW as the same shape of the table in the LabWindows CVI or the DBgrid of the Borland Delphi. Where can I modify the color and shape of the Column Headers and the Row Headers.
    Thanks,
    Cleber

    Salutations,
    You asked this question about 3 months ago, and no one answered it.. How rude of them, well....
    You can customize any control/indicator by right mouse clicking on it, going to advanced, then customize. If you want to color it, you can always right mouse click with the shift key down, and pull up the painting tool stuff. Or use the tab key if you want to scroll through tools. I believe it's the tab key. Alright, i bet you've long since figured it out, but i couldn't resist.
    Sincerely,
    ElSmitho

  • Can fix the column width in af:table

    I am using af:table, i need to fix the static column width, it can be able to do it?
    plz help,.....

    The width attribute of af:column element specifies column width.
    The setWidth(java.lang.String width) method of oracle.adf.view.faces.component.core.data.CoreColumn
    also specifies column width.

  • Can i change the column width in a table row dynamically

    Hi,
    There are two columns in one of the row of the table, can i change the width of the cells dynamically.
    Sometimes one of them will be blank and the other cell has to print the entire string .
    Left cell is left aligned and the right cell is right aligned.
    I tried to change the width using field.W but it didnot work.
    Regards,
    Sobhan

    Hi,
    We can change the column width of a column dynamically. Try the javascript code in the appropriate event.
    Table.columnWidths = "2in 3in 4in 5in";
    Thanks & Regards,
    Sanoosh

  • How to fix the column width in a table in htmlb tableview control

    HI Experts,
    I have an issue with my htmlb table view controller. I have created a custom iView with a htmlb table view control and placed it in quick navigation window.
    When data in columns exceeds, I am getting horizontal scroll bar and column,table are getting extened. I don't want  column size increases when text length increses. Instead when lenght of the text incrases in a column, I want the text displyed in multiple columns.
    I have tried for this as below.
    <hbj:tableView
        id="statTable"
        model="bean.stattableModel"
        design="ALTERNATING"
        headerVisible="false"
        footerVisible="false"
        fillUpEmptyRows="false"
        navigationMode="BYPAGE"
        selectionMode="NONE"
        headerText="Report List"
        visibleFirstRow="1"
        visibleRowCount="10"
    width="100%">
    <%
         stattableModel.getColumn("D").setWidth("5px");
         stattableModel.getColumn("D").setWrapping(false);//tried true aswell
         stattableModel.getColumn("H").setWidth("px");
         stattableModel.getColumn("H").setWrapping(false);
    %>
    No change happen ever after I used the above code.
    Any one has the idea, how make it work.
    Thanks in Advance,
    Chinna.

    Hi Babu,
    Please go through this links.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80a7eef2-9a2c-2a10-12bb-abad552f3302
    http://www.sapfans.com/forums/viewtopic.php?f=20&t=300326
    Kind regards
    Prabhakaran.P

  • Freeze column headers in a table and enable vertical scroll bar on the rows

    I have seen demos of BI Publisher running an html view of a report that displays a table of data with a vertical scroll bar on the table. The table header is always visible as you scroll down on the rows of the table. Any idea how this is achievable?

    Hi,
    Have you find a way to do this? Im looking for the exact same thing!
    Where did you see this demo?
    Br
    Magnus

  • How to fix the column header

    Try to display something like this:<br><br>
    HA HB <br>
    A1 B1<br>
    A2 B2<br>
    <br>
    So I use:
    <div class="Show2Rows"><br>
    <table><br>
    <tr><br>
    <th>HA</th><br>
    <th>HB</th><br>
    </tr><br>
    <tr><br>
    <td><input ... value="A1" ></td><br>
    <td><input ... value="B1" ></td><br>
    </tr><br>
    <br>
    </table><br>
    </div><br>
    <br>
    The rule is: allow it to display ONLY two rows in the window. When more rows are added, a vertical scroll bar will be enabled. --And, yes, it works just as expected.
    The problem is that when more rows are added, when I scroll the bar downward, of course the rows will move up. When this happens, the Column Headers (HA and HB) will disappear. Obviously I need to fix the Column Headers.
    So question is: How can I fix the headers while still be able to scroll the data rows up and down?
    Thanks

    Dear Vam,
    you can easily do that with css, search the source code of the executed web template for the td tag which is around your coloumn header, remember the style sheet class name it is ´displayed as class= in the td tag.
    Now you can add this code the beginning of your web template:
    </style>
    This will only work in Web.
    Regards
    Marcus

  • How to group the column headers using WDA ALV ?

    Hello All.
    How can I group the column headers as shown in the picture(chart), using  WDA  ALV.
    Thanks for any help !
    A
    B
    A1
    A2
    A3
    A4
    B1
    B2
    B3
    B4
    B11
    B12
    B13
    B21
    B22
    B23
    B31
    B32
    B33
    B41
    B42
    B43
    消息编辑者为:Cloud Li

    Hi ,
    This functionality was not exposed/supported in WDP ALV,however the same can be achieved in normal table(table UI element)
    The reason this isn't exposed directly in the ALV is because it is used internally when you do a grouped sort.  The ALV automatically buids group headers to explain the grouped sort/sum.
    Depending upon your requirements if you must have the group header and aren't using much else in the ALV, you might be better off using the plain old table. Below is a link to how to do group headers in the table UI element.
    Table
    Hope this helps you.
    Thanks
    KH

  • The sheet I am working on has lost the ability for me to scroll to the first few columns. I can't see the columns but I can cut and paste them so I know they are still there. Has this happened to others

    The sheet I am working on has lost the ability for me to scroll to the first few columns. I can't see the columns A & B but if I cut and paste the table to a new sheet, the columns I am missing will travel to the new sheet.  I have charts and other stuff related the the original table so I need to figure out why I can only see from column C  forward.  I tried to "UNHIDE" the columns but the function doesn't seem to recognise that there are columns missing. Has this happened to others and how did you fix it?

    I've seen it happen before, or at least it sounds something like what I've seen before. The table somehow gets into the margins of the page and the app doesn't know how to deal with it. Go into Print View and try moving the table away from the left side ofthe page. You might have to change content size or resize the table to get it to correct (then put you can put them back the way you like).

  • How to fix the column length and table length?

    Hi Experts/Gurus,
    I want to fix the column lenght so that if data exceeds it should be in the same colum. But the size of the table should not get changed.. I used the width property of both table and column. But its not working..
    Regards,
    Yugesh

    Hi Yugesh,
    For column wrapping you can use the SET_WRAPPING of cl_salv_wd_header and the data.....you have got cell editor for that column right...then using the cell edtior reference you can get the specific cell tyep(like cl_salv_wd_text_view type check this)
    this is object reference and you can use the set_wrapping of this class. using this you can get the wrapping functionality for the data also....
    DATA: lr_column TYPE REF TO cl_salv_wd_column,
               lr_column_header type ref to cl_salv_wd_header,
               lr_editor type ref to cl_salv_wd_uie,
               lr_textview type ref to cl_salv_wd_uie_text_view.
    wd_this->alv_value->if_salv_wd_table_settings~set_fixed_table_layout( ABAP_TRUE ).
    lr_column = wd_this->alv_value->if_salv_wd_column_settings~get_column( 'EDITION' ).
    lr_column->set_width( '55' ).
    lr_column_header = lr_column->get_header( ).
    lr_column_header->set_wrapping( abap_true).
    lr_editor = lr_column->get_cell_editor( ).
    lr_textview ?= lr_editor.
    lr_textview->set_wrapping( abap_true ).
    Now for the column and it's data the wrapping is set...
    Regards,
    Lekha.
    Edited by: Lekha on Nov 16, 2009 2:12 PM

  • Fixed jtable column headers

    Does anyone have an example of fixing column headers for a JTable. Basically I want the column headers to be displayed when scrolling down the table.

    check the examples provided in "How to use table" -
    "http://java.sun.com/docs/books/tutorial/uiswing/components/table.html"
    The tables have fixed column header when u scroll down..

  • How to fix the column header width in BEx or WAD

    hi there!
    how to fix the column header width in BEx or WAD. because, depends on the column data, the column size varies. i want to fix the size so that i can maintain the consistency through out the report.
    thanks!
    Vam.

    Dear Vam,
    you can easily do that with css, search the source code of the executed web template for the td tag which is around your coloumn header, remember the style sheet class name it is ´displayed as class= in the td tag.
    Now you can add this code the beginning of your web template:
    </style>
    This will only work in Web.
    Regards
    Marcus

  • How to fix the width of the column when using alv table

    Hi ,
    I am displaying the contents in a table. Of course using alv component i displayed the content. Now the problem is the column width is not fixed with value of the table entries( based on the domain length level). As  length  of field increases or decreses as the length of the content increases or decreases. I wanted to fix the column width whatever be the length of the contents.
    Can any one help in this regard ?
    Thanks Pons.

    Hi,
    Please find the code related to your problem.
    METHOD configure_alv .
    data declaration for column settings
      DATA  : lr_column_settings   TYPE REF TO if_salv_wd_column_settings,
              lr_col_header        TYPE REF TO cl_salv_wd_column_header,
              lt_columns           TYPE salv_wd_t_column_ref,
              ls_column            TYPE salv_wd_s_column_ref.
    data declaration for table settings
      DATA : lr_salv_wd_table_ctr  TYPE REF TO iwci_salv_wd_table,
             lr_table_settings_ctr TYPE REF TO if_salv_wd_table_settings,
             lr_header_ctr         TYPE REF TO cl_salv_wd_header.
    Variables for drop-down and inpufield reference
      DATA : lr_drdn_by_key        TYPE REF TO cl_salv_wd_uie_dropdown_by_key,
             lr_input_field        TYPE REF TO cl_salv_wd_uie_input_field,
             l_header              TYPE string.
    get ALV Component <CONTRACT_DETAILS>
      lr_salv_wd_table_ctr = wd_this->wd_cpifc_payment_detail( ).
      wd_this->alv_config_table = lr_salv_wd_table_ctr->get_model( ).
    set visible row count
      lr_table_settings_ctr ?= wd_this->alv_config_table.
      lr_table_settings_ctr->set_visible_row_count( '5' ).
      lr_table_settings_ctr->set_read_only( abap_false ).
      lr_table_settings_ctr->set_grid_mode( ).
      lr_table_settings_ctr->set_width(
        EXPORTING
          value = '980PX' ).
      wd_this->alv_config_table->if_salv_wd_table_settings~set_data_check( if_salv_wd_c_table_settings=>data_check_on_cell_event ).
      wd_this->alv_config_table->if_salv_wd_std_functions~set_pdf_allowed( abap_false ).
      wd_this->alv_config_table->if_salv_wd_std_functions~set_view_list_allowed( abap_false ).
      wd_this->alv_config_table->if_salv_wd_std_functions~set_edit_insert_row_allowed( abap_false ).
      wd_this->alv_config_table->if_salv_wd_std_functions~set_edit_delete_row_allowed( abap_true ).
      wd_this->alv_config_table->if_salv_wd_std_functions~set_export_allowed( abap_false ).
      wd_this->alv_config_table->if_salv_wd_std_functions~set_edit_check_available( abap_false ).
      CLEAR: l_header.
      l_header = wd_assist->if_wd_component_assistance~get_text( '030' ).
      lr_header_ctr = lr_table_settings_ctr->get_header( ).
      lr_header_ctr->set_text( l_header ).
    set text header for Columns.
      CLEAR: l_header,lt_columns.
      lr_column_settings ?= wd_this->alv_config_table.
      lt_columns = lr_column_settings->get_columns( ).
      LOOP AT lt_columns INTO ls_column.
        CASE ls_column-id.
          WHEN 'PAYMENT_METHOD'.
    get header details
            lr_col_header = ls_column-r_column->get_header( ).
    disable DDIC field label
            CALL METHOD lr_col_header->set_prop_ddic_binding_field
              EXPORTING
                property = if_salv_wd_c_ddic_binding=>bind_prop_text
                value    = if_salv_wd_c_ddic_binding=>ddic_bind_none.
    set user defined column header
            l_header = wd_assist->if_wd_component_assistance~get_text( key = '020' ).
            lr_col_header->set_text( l_header ).
            CREATE OBJECT lr_drdn_by_key
              EXPORTING
                selected_key_fieldname = ls_column-id.
            ls_column-r_column->set_cell_editor( lr_drdn_by_key ).
            ls_column-r_column->se_width( '100PX' ).
            lr_drdn_by_key->set_key_visible(
              EXPORTING
                value = abap_true ).
          WHEN OTHERS.
        ENDCASE.
        CLEAR: l_header,ls_column.
      ENDLOOP.
    ENDMETHOD.
    Regards
    Manoj Kumar

  • Why i can not see the columns of "Tax Category" in transaction code FS00

    Dear Experts,
          Why i can not see the columns of "Tax Category" and "Posting without tax allowed" in tab of "Control Data"  transaction code FS00?
           How can i add the columns of "Tax Category" and "Posting without tax allowed"?
    Looking forward to your reply.
    Best Regards,
    Merry

    Hi,
    Go to transaction OBD4, and check whether the field "Tax category" is suppressed in group "Account control" for your GL account group.
    If not, then go to OB26 and check the field status for the same field for create, change activity.
    Regards,
    Gaurav

Maybe you are looking for

  • XMLSocket "Failed to load policy file" error

    I am trying to use an XMLSocket.swf file, and it is not connecting.  Do I need to open up a port on my server?  I am trying to run this on a dedicated remote Windows 2008 server. Here is the error from FlashFirebug:      OK: Root-level SWF loaded: fi

  • Main image not in itunes store?

    Hello, This is my 1st post, so thank you for your help. When you download my podcasts, the images that show up in the itunes > podcast downloaded to my computer are correct. The only problem I am having is this: The main image in the itunes store has

  • How to make write protect for Excel

    Hi all I need a clarification from you all I am exporting my data's to Excel sheet and saving it in the hard disk. I need to protect the sheet with password for opening the sheet Kindly can anyone help me in this Thanks Regards Bala

  • Strange Side Effects

    Hi, I recently re-organized my Flex projects. I took them out of the Flex Builder 3 default folder and put them in an easier location. However when I did this I experienced some strange side effects. First of all, the ContentAssist does not seem to w

  • Photoshop Touch for ipad2 is frozen on launch

    I too have a problem with PhotoShop Touch on the iPad2 (iOS 5.01). I start the app on the iPad and it just hangs at the spalsh screen. I also reset and restored the iPad and no joy.