Re: Re: Datagrid and sorting/paging II

From: Date: Sat, 07 Jun 2008 19:55:33 +0000
Subject: Re: Re: Datagrid and sorting/paging II
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-28984@lists.php.net to get a copy of this message
Oh my god - sooo simple... But believe me, I have been behind the docs so many hours - I can't count anymore. But unfortunately I didn't find a system behind those docs yet :) Btw., currently I am searching for a solution on how to change column attributes after mdb2 bind. Do you know a nice example somewhere? Quite new to DataGrid. Cheers, Bernhard. Mark Wiesemann schrieb:
Hi Bernhard, Bernhard Harb wrote:
This is my sample code: $datagrid =& new Structures_DataGrid(5);
    
[...]
$usergrid = $datagrid->bind('SELECT iduser, username, email FROM user', $params, 'MDB2'); $datagrid->setRequestPrefix('usrtbl_');
    
RTFM please. ;-) http://pear.php.net/manual/en/package.structures.structures-datagrid.structures-datagrid.setrequestprefix.php => "This method needs to be called before bind()." Regards, Mark


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