Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

scrollToRow doesn't work if the target row is in the visible zone

$
0
0
smart GWT Pro 4.1 20150227

we are currently developing some page emulator and using this api to scroll target row as first one:

scrollToRow(targetRow, VerticalAlignment.TOP);


it works in the case that if the target row is not in visible zone :

row 6
---------------------------
row 7
row 8

...... visible zone

row 20
row 21
----------------------------
row 22


if we scroll to 6 or 22, then it works.

however, if we scroll to row 7 - 21, then nothing happened...

in our case, we need scroll target row to first one even if it is already in visible zone.


is there any possible to do it ?

thanks!

Viewing all articles
Browse latest Browse all 4756

Trending Articles