Best approach for multi-column (cumulative) sorting in Data Grid 2 — reusable across entities?
0
I'm looking for the recommended way to implement multi-column sorting in Data Grid 2, and I'd appreciate feedback on my planned approach.Users need to sort a grid by more than one column at the same time. For example: sort by Product Name ascending, then by Size, then by Quantity — and all three sort levels should stay active together. Right now, sorting by a second column clears the sort on the first one (only a single sort criterion is kept at a time). The customer also requires that on a grid with, say, 20 columns, every column must be sortable.1.Cumulative multi-column sorting (primary / secondary / tertiary … in a user-defined order).2.A generic, reusable solution that works across multiple grids, each backed by a different entity / data source, without rebuilding the logic for every grid.