Re: Sorting using a DataTable

2008-01-31 Thread Thomas R. Corbin
On Wednesday 30 January 2008, Karen Schaper escreveu: Hello, I am using a SortableDataProvider with a DefaultDataTable. From my understanding, it seems that for every column that I wish to sort on, I need to add code to the iterator method of the data provider. None of the columns were

Sorting using a DataTable

2008-01-30 Thread Karen Schaper
Hello, I am using a SortableDataProvider with a DefaultDataTable. From my understanding, it seems that for every column that I wish to sort on, I need to add code to the iterator method of the data provider. None of the columns were sorting and when I added some code in the iterator method

Re: Sorting using a DataTable

2008-01-30 Thread Igor Vaynberg
usually sorting is done in the database. if you get that list outside the database, then yes, you have to sort it using your own comparators. -igor On Jan 30, 2008 5:54 PM, Karen Schaper [EMAIL PROTECTED] wrote: Hello, I am using a SortableDataProvider with a DefaultDataTable. From my