Re: Datagrid - possible bug (paging / sorting)

From: Date: Tue, 23 May 2006 09:50:39 +0000
Subject: Re: Datagrid - possible bug (paging / sorting)
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-24121@lists.php.net to get a copy of this message
Toppi wrote: > i more or less took the example by Olivier > (http://www.samalyse.com/code/pear/dgdo/), > to get a quick look at Datagrid. > > I am using the following source (with the current cvs version of datagrid). > > when i now click on one of the column headers datagrid should sort the > table, but instead of sorting it just jumps back to page1. The jumping is a 'feature', your table should also be sorted. I'm short in time currently -- therefore, please have a look at the source of Renderer/HTMLTable.php and the rendering option 'sortingResetsPaging' that is described there. If you disable this option, the jumping won't occur anymore. Regards, Mark

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