Re: Ajax in Datagrid/smarty

From: Date: Tue, 31 Jul 2007 10:33:07 +0000
Subject: Re: Ajax in Datagrid/smarty
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-27766@lists.php.net to get a copy of this message
Hi Kaj, Kaj Schermer Didriksen wrote: > > I want to use ajax in the datagrid that I constructed. I use the smarty > renderer and I use addColumn to design my columns and I was thinking > that designing a formatter function and putting it in one of the colums > is the best way but I'm not sure. Anybody out there done anything simular? Use the new jsHandler renderer option, it's available in CVS for Smarty. You'll get "onclick" keys in the the columnSet Smarty variable. Also look at the simple AJAX example: http://pear.php.net/manual/en/package.structures.structures-datagrid.structures-datagrid-renderer.htmltable.php PS: for these features you need to fetch SDG and drivers from CVS Regards, -- Olivier

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