ALV freeze Columns in Horizontal Scroll

Hi All,
I am using ALV object cl_gui_alv_grid-> set_table_for_first_display and want to freeze the first three columns when doing horizontal scroll.
I am passing it_fieldcatalog-fix_column = 'X' for the first three column fields but these columns are not being freozen when I do Horizontal Scroll.
Kindly let me know what else I need to pass or any alternative way to achieve this in ALV.
Thanks in advance.
Vijoy

Vijoy,
Making the FIX_COLUMN to X should have solved your problem. As a work around, make those columns as KEY columns in the fieldcatalog and see if it works that way.
I hope you don't have any other column in front of these columns which is NOT fixed. If yes, that it will not work.
Regards,
Ravi
Note : Please mark the helpful answers and close the thread if the question is answered
Message was edited by: Ravikumar Allampallam

Similar Messages

  • Horizontal scroll bar in OAF

    HI All,
    I have a requirement to display the table columns through horizontal scroll bar in OAF. please help me on this
    Regards
    Deb

    Deb,
    Check this http://mukx.blogspot.com/2009/12/scrolling-table-table-with-horizontal.html
    hope this will help you.
    Thanks.
    With Regards,
    Kali.
    OSSI.

  • Horizontal scroll bar in tabular form with columns freeze

    Hi All,
    I have a requirement where i have to create a tabular form in which the first three columns should be in freeze mode and it should have a horizontal scroll bar.
    with the help of Google i found an example [http://apex.oracle.com/pls/otn/f?p=267:46]
    I want the same thing as in the example but with first three columns in freeze mode
    But could not find out how to create this column freeze and horizontal scroll bar.
    Let me know if you have any idea on this
    Thanks in advance,
    Ananth

    Hi,
    It is easy to look at the page source and see what they have done
    if you search for var d1 = document.getElementById("d and d1 you see some javascript doing the magic.
    Thanks

  • REGARDING horizontal scroller in alv grid o/p

    hi,
       i have developed a report in alv grid its wrking fine..
      i want one thing >>>>in the o/p screen the plantid  is the first column, the second column is the plant name what i want is that, horizontal  scroller will work from plant name not from plantid for this what parameters sud i pass in the fieldcat for plantid.plz help me.

    Hi,
    U have to put for that particular plant id
    wfieldcat-key = 'X'.
    Thanks,
    Sankar M

  • Freeze columns and rows for scrolling in HTML ouput

    Hi everyone!
    I have an BIP report with a crosstab generating a HTML output and the table tends to get very big in the ouput, both vertical and horizatal wise, and I am looking for a way to freeze the first column when scrolling horizontally and the header row when scrolling vertically.
    Is there a way to accomplish this? It would help me a lot!
    Thanks,
    Magnus

    I saw in another tread (Freeze column headers in a table and enable vertical scroll bar on the rows that this user have seen a demo of what I want to accomplish. Nothing that you are aware of?
    Or, can it be done with Excel output?
    /Magnus

  • Locking the first column in advanced data grid on horizontal scrolling

    Hi All,
    My requirement is to freeze or lock the first column in the advanceddatagrid from scrolling on horizontal scroll event.
    The column should always remain in the left hand side of the grid.
    I tried with lockedColumnCount property of the advanced grid. But it is not working.
    Could anyone help me please with code examples

    I am able to do the above by using the method which passes
    the sort information to data provider. But now the problem I am
    facing is I cannot use event.preventDefault(); along with that
    method. If I use event.preventDefault(); then it does not show the
    descending arrow on the column, nor does it sort on multiple
    columns.
    But if I do not use event.preventDefault(); then the problem
    I am getting is it remembers the previous sort order for a
    particular column. eg. If I sorted on col A (desc)+colB and now I
    sort on colC. Again if I click on col A, the data provider sorts on
    colA ascending shows it and then the grid refreshes sorting on col
    A but in descending order.
    Does somebody know how to get around this problem?

  • No horizontal scroll bar on the Jtable. In order to see long column.....

    No horizontal scroll bar on the tJable.
    In order to see long cell data we have to eliminate other columns of the table.
    I need an horizontal scroll bar on the JTable if the data in a cell is longer.
    Could somebody help me out?
    Thanks in advance.

    in the jtable use following method :
    myTable.setAutoResizeMode(this.AUTO_RESIZE_OFF);
    KR,
    Jan

  • Horizontal Scroll in ALV Trees

    Is it possible to have horizontal scrolling in ALV Trees ,
    If possible suggest please.

    With the current version of VC there is no horizontal scroll bar in the Flex tables possible.

  • Regarding Horizontal Scroll bar in ALV

    Hi Experts,
    I am using FM " Reuse_alv_grid_display" to dsplay the output. But defaultly it is not showing all the output in single view .I have large no of columns to show up.horizontal scroll bar is not set up defaultly.
    I would like to use CL_GUI_ALV_GRID->SET_HORIZONTAL_SCROLLBARS method
    is this is the right way to do it ? suggest best and simple way to do it.
    regards
    Vishnu

    hi,
    there was exception raised  "raise exception type cx_salv_not_found"
    i have used the fallowing code:
    cl_salv_table=>factory(
        IMPORTING
          r_salv_table = gr_table
        CHANGING
          t_table      = INT_FINAL ).
      DATA: lr_columns TYPE REF TO cl_salv_columns_table,
            lr_column  TYPE REF TO cl_salv_column_table.
      lr_columns = gr_table->get_columns( ).
      lr_columns->set_optimize( gc_true ).
          lr_column ?= lr_columns->get_column( 'SYMBOL' ).
          lr_column->set_symbol( if_salv_c_bool_sap=>true ).
          lr_column->set_long_text( 'SYMBOL' ).
      gr_table->display( ).
    Please let me know how to proceed
    regards
    vishnu

  • BW BPS Web Page(BSP App): how to Freeze columns in a ALV Layout?

    Hi Gurus,
    I'm trying to freeze the first columns of my layout when scrolling to the right.
    I got the scrollbar including html(javascript) text element in my web page, but i for the moment I'm stuck with the freezing column.
    I'd appreciate some help.
    Thanks in advance.
    IP

    Hi, the problem is in the Web page, not in the layout definition.
    The first thing i did was to freeze columns in the layout definition, but when you build your web page(bps_wb) those settings aren´t applying.
    I guess i need javascript to do it. Any suggestion?
    Thanks

  • Horizontal scrolling in a JTable with fixed-size columns

    Hello,
    I have come to a roadblock concerning the following issue. Perhaps someone can share their ideas...
    I have a JTable with three fixed-size columns. I implemented a JScrollPane with vertical and horizontal scrolling. However, the text inserted into the last column is too long to fit in the specified column width. I would like to be able to scroll the table so that I can view all of the text in the last column. Right now, the text cuts off and ends with three dots (...). Is there a way in which a horizontal scroll bar can be implemented to view all the text in the last column?
    Here is a portion of my code:
    num_of_rows_Table2 = (int) Math.pow(3, num_of_vars);
    String[] colunmNames_Table2 = {"Decimal Identifier", "Ternary Identifier", "Cancellation of nonimplicants"};
    dataModel2 = new DefaultTableModel(colunmNames_Table2, num_of_rows_Table2);
    SpaceOfTermsTable = new JTable(dataModel2);
    for (int z = 0; z < num_of_rows_Table2; z++)
    SpaceOfTermsTable.setRowHeight(z, row_height);
    SpaceOfTermsTable.setBounds(new Rectangle(x1_Table2, y1_Table2, width_of_pane2, height_pane2));
    SpaceOfTermsTable.getTableHeader().setReorderingAllowed(false);
    for (int i = 0; i < 2; i++)
    TableColumn col = SpaceOfTermsTable.getColumnModel().getColumn(i);
    col.setMinWidth(colwidth_Table2);
    col.setMaxWidth(colwidth_Table2);
    col.setPreferredWidth(colwidth_Table2);
    TableColumn lastcol = SpaceOfTermsTable.getColumnModel().getColumn(2); lastcol.setMinWidth(lastcol_Table2);
    lastcol.setMaxWidth(lastcol_Table2);
    lastcol.setPreferredWidth(lastcol_Table2);
    SpaceOfTermsTable.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
    scrollPanel2 = new JScrollPane(SpaceOfTermsTable, JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED, JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
    scrollPanel2.setAutoscrolls(true);
    scrollPanel2.setBounds(new Rectangle(x1_Table2, y1_Table2, width_of_pane2, height_pane2));
    Thanks in advance for all of the help!

    Hi, I hava a similar problem than yours - can you tell me how you sorted out yer's?

  • Horizontal Scroll bar problem with CL_GUI_ALV_GRID

    Hi Experts,
    I have created Dynamic ALV by using CL_GUI_ALV_GRID . Everthing is working fine if all the data is displaying in single screen. But if the number of columns increase with the output of data the horizontal scroll bar is not working.
    It is visible but when I click to scroll it to the end of screen it is not working. Can anybody help me that what can be the problem?

    Please reduce the container size in the screen thru SE51 that automatically create the scroll
    or check whether in the attributes of the screen "Hold scroll positio" not to be checked

  • Horizontal scroll issue in table

    Hi all,
    I have used af:table with 14 columns and used frozen property to 4th column to freeze first 4 columns .For rest of
    columns horizontal scroll bar appears.
    Now issue is horizontal scroll is not working smoothly in Google Chrome Browser. It seems to be getting stuck.
    In IE and Mozilla the same scroll is smooth and works fine.
    Using Jdev 11.1.1.5.0 version.
    Please help.
    Thanks.
    Edited by: 904142 on May 29, 2013 10:39 AM

    Thanks for reply
    @Frank:Issue is reproducing in sample application as well
    To reproduce this issue do following
    1.Use Page Template
    2.Use frozen property to one of column so that horizontal scroll bar should appear for rest of the columns.
    3.Data should be large enough so that vertical scroll bar should appear
    @Shay:Issue is not reproducing there.

  • ALV-Freeze colums and Icon on Selection Screen

    Dear All,
    suppose i have 10 columns in an ALV Report and i want to freeze from my 3rd column onwards so that if I scroll to right my these 3three columns can still be seen.How to do this.
    also how to display icon on selection screen.I remeber doing some copy pasting from icon table to my selection texts.
    How to acheive these two.
    Regards,
    Rahul Bhat.

    Hi,
    I hope the following links will help you,
    how to freeze columns in table
    how to freeze the selection column in the table control of the module pool.
    Freeze Column
    Regards,
    Harish

  • Freezing columns in JTable....  -  Need Suggestions!!!!!!!!!

    Hai Friends,
    i need suggestions for the following,
    How to freeze the columns in swing JTable.?????????????
    I need to freeze 3 columns in JTable... how it can be done?
    eg: its like the option used in excel for freezing the panes. like that, i need to freeze the column in JTable. so that, it wont be scrolled while scrolling the records, it should also be done in colmns of jtable for horizontal scroll n row for vertical scroll. is this can be done in JTable. Can u pls help me out in this...?
    Regards,
    Ciya.

    Did you actually try the code which was pointed out to you when you [url http://forum.java.sun.com/thread.jspa?threadID=701198]asked this question before? It does just what you want...

Maybe you are looking for

  • Software Update Service house cleaning

    What controls house cleaning for the Software Update Service? If I ask it to stop mirroring updates that have long since been applied, the files still hide in /usr/share/swupd/. Deselecting the mirroring of an update doesn't help. The normal house ke

  • Error when publishing a supplier to ERP system

    Hello experts, I am implementing ESO 5.1, SP9 with Integration Package to a ERP 5.0 system. When trying to publish a vendor to the ERP system, I am getting the following error in ESO: "Unable to create the file: \Vendor__20110823172054719.xml" System

  • Betreff: T440s - Only 1024x768 on external monitor (DVI, Ultra Dock, Win8.1/Win7)

    EDIT NOTE: This message was moved to the top of the thread in order to assist us with an escalation. For all future post and commments please continue posting in this thread. One more victim here.  T440s (fully patched, UltraDock, lid closed, externa

  • Cover Flow Doesn't show some covers

    When iTunes imports a CD on a popular album, I click on Download Cover Art, and 75% of the time it can't find a cover art. I usually can find the cover art easily on www.allmusic.com and transfer it into iTunes. When I sync the Nano, I've noticed tha

  • Quick iPhone packager question...

    Hello, I am interested in purchasing Flash CS5 so I can make an iPhone app that involves PDF opening and saving, but I had a question to all those who have used AlivePDF... would it work with the packager for iphone to make an iPhone app? If not... W