CellTable Selection

24 views
Skip to first unread message

Metronome

unread,
Jun 12, 2012, 10:44:01 AM6/12/12
to google-we...@googlegroups.com
Just wondering how to select a row in a CellTable and have it displayed
 
I mean let's say a Table with 100 Rows displaying rows 1-15 of 100
 
if I select row 20 that is not visible
 
how to make the table show the selection
 
probably very simple ... but...
 
Thanks
 
Patrick

Thomas Broyer

unread,
Jun 12, 2012, 10:56:04 AM6/12/12
to google-we...@googlegroups.com
If you know you selected the 20th object, then you know you want to display the second page. If you use a SimplePager, you can then call setPage(1) (first page is numbered 0); otherwise call setVisibleRange(15, 15) on your CellTable.
There are other variations, depending on how you feed the data to the CellTable.
Reply all
Reply to author
Forward
0 new messages