PDA

View Full Version : Selecting a row in a grid and making it visible



sjzaluk
19 May 2010, 10:58 AM
Is it possible to select a row in a grid and also make it visible after selecting it if that item is out of the viewable area? I couldn't find a way to do it.

Thanks,
Steve

sven
19 May 2010, 11:04 AM
grid.getView().ensureVisible(rowIndex,0,false);

robertlight
27 Jun 2010, 2:48 PM
I've tried the above code and it doesn't work when trying to ensureVIsible the last row in the grid.

Is there a bug already filed on this? The ensureVisible makes sure the top of the row is visible...not the bottom.