on 01-02-2012 2:11 PM
Dear all,
I created a dynamic ALV on a WDAbap application:
I would like to set my first ALV row fixed when the user scroll vertically.
Could you help me to do this ?
David
Hello Lekha, hello all,
Thanks for your reply.
I used the method SET_FIRST_VISIBLE_ROW on the WDDOMODIFYVIEW method from my view and now, when I scroll down my first row is always visible but I'm not able to see the next records.
I explain my need:
On my dynamic ALV I have one first row which display checkbox columns in order to select a column.
After this, I have others rows which display employees data.
Example (Here CB represent a checkbox cell):
Header -> PERNR DAY1 DAY2 DAY3 DAY4 DAY5 DAY6 DAY7 DAY8
1st row -> empty CB CB CB CB CB CB CB CB
2nd row -> 1391 data data data data data data data data
................
10th row -> 1671 data data data data data data data data
...............
Last row -> 7387 data data data data data data data data
My table contains 11 visibles rows (set_visible_row_count( 11 )).
I would like to be able to see my "last row" AND always my "first row" (checkbox) even if there are more of 10 rows.
Thanks for your help.
David
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In the ALV-> you have the reference to this class right CL_SALV_WD_CONFIG_TABLE
Use the method to set teh 1st row as aslways the visible one..so that when you scroll down it is always in visible area-
in this interface->IF_SALV_WD_TABLE_SETTINGS~SET_FIRST_VISIBLE_ROW
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
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.