Re: Structures/Datagrid - sorting on field prior to display with csv data source?
| From: | Olivier Guilyardi | Date: | Wed, 27 Dec 2006 10:44:40 +0000 |
| Subject: | Re: Structures/Datagrid - sorting on field prior to display with csv data source? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-26210@lists.php.net to get a copy of this message | ||
Hi ScottZ,
ScottZ wrote:
I'm having a bit of trouble when using a csv file with Structures/Datagrid. Is there a way to "pre-sort" the data on a particular field?You are looking for Structures_DataGrid::setDefaultSort() -- Olivier