I'm adding a batch of rows to a WebDataGrid in javascript using
for (i = 0; i < n; i++) myGrid.get_rows().add(myDataArray[i]);
adding works perfectly, but the grid also scrolls to bottom after this operation.
I'd like to scroll it to top, and I've seen the set_topScroll(0) method, but it doesn't work. Actually, I found out that even after adding rows, get_topScroll() always returns 0, so my set_topScroll() has no effect.
Any idea to solve this problem?
Hi elvandar,
By default, adding row should not scroll the grid to bottom. Could you please attach a small isolated sample, demonstrating this behavior, in order to be able to provide more insight. Thank you.
Hello elvander,
If you still need assistance with the matter, please let me know.