Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    ListGrid scroll methods not working

    hi!
    The following ListGrid methods related with the scrolling are not working for me:
    ListGrid.animateScroll methods
    ListGrid.scrollToTop()
    ListGrid.scrollToBottom().

    I'm working with a server-side paged ListGrid with 56k rows.

    I can only use ListGrid.scrollToRow(0) and ListGrid.scrollToRow(ListGrid.getTotalRows()-1)

    Any suggestion?

    Thanks!

    SmartGWT 2.1 - Firefox - GWT 2.0.4

    #2
    This is because the scrollbar is part of the ListGridBody not the ListGrid itself. The scrollToRow, etc.. takes that in account. So either the solution you have is ok or using scrollBodyTo() is also a way to go.

    Comment

    Working...
    X