Sort items in FilterMode.CheckBoxList

Is it possible to sort the CheckBoxList on a filter?

Thanks

You can use LoadColumnFilterData event to populate the CheckBoxList filter items in desired order. Check this demo for reference:

Found a bug on that page. The virtualization in the Customer filter keeps repeating entries as you scroll down. Put a check in a couple entries, when you scroll down, the list reloads and repeats checked entries you'd expected to have already gone by even though the scroll bar keeps going down.

Can I get you to reconsider changing the default to sorted?

  • The page says it's an "Excel like filtering... " and in excel the filter list is sorted by default.
  • It just feels wrong that everyone using this feature has to write custom code to get a sorted list, and then apply that code to every DataGrid, in every app.

Thanks

I agree. Having to write custom code just to get the list sorted appropriately takes away from the usefulness of the feature.

Hey @MD5150,

I will not comment on how useful is this feature with or without sorting however we value the feadback from our customers and @JohnRobinson suggestion will be part of our next update tomorrow.

1 Like