[datagrid] How to disble automatic sorting ?

From: Date: Mon, 28 Feb 2005 10:37:10 +0000
Subject: [datagrid] How to disble automatic sorting ?
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-17723@lists.php.net to get a copy of this message
Hi all, I'd like to use the header links in DataGrid to control sorting of records, but I'd like to handle sorting outside of DataGrid. Is that possible ? The reason is that the DB backend is sorting the resultset differently than the DataGrid: for example, the DB places numbers at the end, while DataGrid places them at the beginning. The result is that after paginating the result set (also handled externally to DataGrid in order to use DB::limitQuery instead of DB::getAll), the results look funny. Any ideas will be warmly welcomed :-) Kind regards, -- Daniel

« previous php.pear.general (#17723) next »