on 06-18-2008 3:58 PM
Hi Experts,
I have a ALV control. Where I have 20 fields to dispaly. Which makes it very wide.
I would like to restrict the horizontal size of ALV and would like it to scroll horizontally.
eg: width should be 300PX and than it should scroll in the view. But other element on the view displaying ALV should not be scrolled.
Plz provide ur valuable inputs.
Regards,
Vishal.
Hi Vishal
Use the method SET_SCROLLABLE_COL_COUNT of interface IF_SALV_WD_TABLE_SETTINGS.
It will fix the no of cols to be displayed . and activate the horizontal scrolling.
Regards
Naresh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vishal
It will activate the horiziontal scrolling only if you set teh no of cols in this function is less then the total no of visible cols.
like in this case
lr_table_settings->SET_SCROLLABLE_COL_COUNT( 2 ). and my total no of cols are 5. then only it will show horizontaol pagintor in the footer
it will show horizontal paginator in the footer. Just check u should not hide the footer of the ALV.
Regards
Naresh
Hi Naresh,
it shows scroll optin in the ALV control itself. where we can set row number , go to first or last row , and so many other things.
But in my case i need external scroll bar. Where whole ALV should be scrollable not only the columns with in ALV. Probably at "Transparent Container" Level .
Regards,
Vishal.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.