cancel
Showing results for 
Search instead for 
Did you mean: 

table: show the line of lead selection

Former Member
0 Kudos

Hello,

I have a table with 691 lines, showing 20 lines per page. Is it possible to change the lead selection for example to line 60 and also jump to line 60. So that the table automatically shows the 3rd page with the line 60 - 80.

I can change the lead selection with:

node_trefferliste->set_lead_selection_index( index = 60 ).

Lead selection is set correctly to 60 but the table still shows the lines 1- 20.

best regards

Stefan

Accepted Solutions (1)

Accepted Solutions (1)

Yashpal
Active Contributor
0 Kudos

Hi stefan ,

for table control there is aproperty called firstVisibleRow u have to set that to some no.

so

create a attribute of type integer in ur context .

bind it to this property.

and then u can set any value to it in ur method

Regards

Yashpal

Message was edited by:

Yashpal Gupta

Former Member
0 Kudos

Hello Yashpal,

thats what I needed, thanks.

regards

Stefan

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Stefan,

What ever you have done is correct. One thing you need to change is whenever you change the lead selection for you table you need to scroll ALV also. For that get the lead selected entry and set it as frst_visible_row for you ALV table. Please do this coding in the respective view controller method WDDOMODIFYVIEW(). so that you will get exact result what you are expecting.

I hope i make you clear.

Warm Regards,

Vijay