Hi all - I was trolling through previous support questions and I noticed there was some expectation that datagrids would have 1st class support for sorting in the near future. Is that still on the roadmap and if so are there any indications about when we could expect it?
In previous threads there’s also a mention of using ‘custom headers’ as a workaround, but i’m not certain I can conceptualize that and if there’s any documentation or examples of someone actually implementing that (if that’s still the preferred solution here) I’d be interested in learning more. Here’s where that’s referenced: New Datagrid Element Questions
It’s a feature that has been postponed a few times because we’ve been struggling to find an intuitive solution and there is workaround. It’s still top of mind and we are working to add it natively to the data grid but we’re not sure when it’ll be available.
The custom headers solution is a bit heavy. You’d need to hide the header from the data grid and create your own with a workflow on each column to refetch the collection that’s displayed in the data grid with an “ASC” or “DESC” order.
Does that make more sense? If not, let me know. I’ll try to put together a short tutorial for you
Hello Joice, I have a data grid and I would like to allow the user to order any column by ASC or DESC, but from what I’ve seen there is no way to do this natively.