cancel
Showing results for 
Search instead for 
Did you mean: 

Table UI element - trigger scroll up/down

kmoore007
Active Contributor
0 Kudos

Is there a way to trigger the table UI element to scroll up or down?  I have a table element with a set number of rows to be displayed (16).  I have a button which adds records.  After I add the record, I do set the lead selection of the table to the last record added.  Once the number or records exceed 16, I have to physically scroll down to see the newest records added.  I would like to automatically scroll down to the last record.

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

Have you tried setting firstVisibleRow to the index of your newly inserted row?

http://help.sap.com/saphelp_nw70ehp2/helpdata/en/4b/5eb70da225584ae10000000a42189c/frameset.htm

kmoore007
Active Contributor
0 Kudos

Works perfectly!  Thanks Thomas.  You da man! 

This may be the solution to some other list boxes I have with the same type issue.  I'm going to try it.

kmoore007
Active Contributor
0 Kudos

Aw, man!  This property doesn't exist for the listbox UI. 

Answers (0)