Re: Sorting-links in Structures_Datagrid

From: Date: Thu, 14 May 2009 09:46:07 +0000
Subject: Re: Sorting-links in Structures_Datagrid
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-29853@lists.php.net to get a copy of this message
Hello Florian, > I'm having a problem with the output of a datagrid. The datasource is an > array, the renderer is HTML_Table, the URL containing the grid is > > "http://127.0.0.1/index.php?page=someinfo&customer=10000". > > The table and its content are displayed correctly, but the links in the head > of the table for sorting the table wants the page-option. The links look > like this: > > "http://127.0.0.1/index.php?customer=10000&orderBy=objekt_id&direction=ASC&page=1". > > Why is "page=someinfo" missing (eventhough "cutomer=1000" is displayed) and > > even more important, what can I do to fix this? There are two "page"s: - your own application's page - the page id of the datagrid, used for paging. You probably have to configure datagrid to use a different page parameter name. -- Regards/Mit freundlichen Grüßen Christian Weiske

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