Re: DataTable multiple sort columns

2013-04-30 Thread Jesse Long
Hi Lucio, I like the idea of 3 states, ascending, descending and none for each column. You will need to create a new interface that extends ISortableDataProvider which provides a default sort order for when the user deselects all columns (you must always have some sort order, so when the user

Re: DataTable multiple sort columns

2013-04-30 Thread Lucio Crusca
In data Tuesday 30 April 2013 19:14:12, Jesse Long ha scritto: > Hi Lucio, > > Its something I'd be interested in pursuing myself, but the real problem > is how to display the sort state to the user. How about this? | |^ | ^ | | | Name 2 | Color 3 | Pri

Re: DataTable multiple sort columns

2013-04-30 Thread Jesse Long
Hi Lucio, Its something I'd be interested in pursuing myself, but the real problem is how to display the sort state to the user. With single sort state, you just show an arrow next to the column used for sorting. You could use a Palette type component as a top toolbar, allowing the user to a

DataTable multiple sort columns

2013-04-30 Thread Lucio Crusca
Hello *, is there a way/what's the cleaner way to support multiple sort columns with DataTable? I know it's up to the SortableDataProvider to provide sorted rows, no matter how, but the SortParam class seems to support only one sort criterium at a time. e.g. the DataTable is aware only of the *