0 Replies Latest reply on Sep 26, 2008 1:38 PM by zeptov

    Sorting a hierarchy in an AdvancedDataGrid - callback not being called

    zeptov
      I have an AdvancedDataGrid that uses customer grouping of data. Not all of the groups will be at the same level in the hierarchy, and groups can contain both groups and members. We have a sort callback, but it's not being called except for groups at the leaf-most levels. Try the attached code to see an example -- expand all of the groups, then click the sort column on "date of birth" to get a reverse sort by date of birth. (Oddly, for some unfathomable reason, the first ascending sort works.)

      We're not getting called for any of the data that's grouped at the same level as a group member.

      How do I fix this?

      Thanks,
      -- Shawn