Announcement

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

    Trouble with record selection when refreshing a listgrid with progressive loading

    Hi Isomorphic,

    I use the Isomorphic SmartClient/SmartGWT Framework (v9.1p_2014-07-03/PowerEdition Deployment 2014-07-03) version.

    I've got a trouble with the record selection and the refresh of a listgrid wiht progressiveloading.

    When you scroll down into the bottom of the listgrid and than you call the method invalidateCache(). The data are refreshed but you loose the fact that you were a the bottom of the list.

    Is there a way to avoid that, and to refresh and stay at the same place that you were before refreshing.

    And is there a way to keep the record selected after the refresh?

    Regards
    Ju

    #2
    There's a new refreshData() API in 5.1 development builds that handles more of this automatically. If you can't move to 5.1 yet, you need to manually scroll back to the same position using scrollToRow().

    Comment

    Working...
    X