Announcement

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

    Filtering observer question

    We display the count of records in the grid when a user filters. This code is called after listGrid.filterData (we are using local cached date).

    For large sets of data (1000 records), the grid is busy grouping so the record counts refect the old groupTree.

    I need a way to observe when the groupTree has changed so I can update my record counts. Observing getGroupState does not work, as it returns before the grouping is done:
    listGrid.observe(listGrid, "groupStateChanged", "some method");
    My method executes, but before grouping is done.

    I tried with this as well, it doesnt work at all:
    listGrid.observe(listGrid.groupTree, "dataChanged", "some method");
    My method does not execute at all.

    #2
    Just a quick note to let you know we are looking into this issue.
    Also - which version of SmartClient are you working with?

    Thanks
    Isomorphic Software

    Comment


      #3
      We've added a new notification method "groupByComplete" to the 9.1d and 9.0p branches. This will be present in the next nightly build (Aug 23 or above) and should allow you to get the behavior you need.

      Regards
      Isomorphic Software

      Comment


        #4
        I tried "groupByComplete" with SmartClient_v90p_2013-10-13_Pro, but it seems that this function is not fired after grouping is done.

        Comment

        Working...
        X