Announcement

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

    sort lost after grid.refreshData with dataFetchMode local

    SmartClient Version: SNAPSHOT_v12.1d_2019-10-08/AllModules Development Only (built 2019-10-08)

    Chrome on OSX

    Hello, please modify the #adaptiveFilterFS sample, by adding dataFetchMode:"local" to the supplyList grid.

    Then execute:
    - supplyList.setSort([{property:"itemName", direction:"ascending"}])
    - supplyList.refreshData()

    You'll see that the previous sort is lost, even though supplyList.getSort() returns the applied sort.

    Same behaviour with dataFetchMode:"basic"
    Last edited by claudiobosticco; 18 Oct 2019, 00:18.

    #2
    Hello, this seems fixed in the latest build, isn't it?

    Comment


      #3
      Yes, sorry, this should be fixed back to SC 11.1p in the nightly builds dated 2019-10-12 and beyond. There were some related documentation improvements that were just made today so the issue wasn't immediately closed out with a notification here.

      Comment

      Working...
      X