Re: Re: Datagrids, delayed loop of sorts

From: Date: Thu, 13 Jul 2006 20:06:30 +0000
Subject: Re: Re: Datagrids, delayed loop of sorts
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-24645@lists.php.net to get a copy of this message
Mark Steudel wrote: > Is there a way in datagrid for a record to access other records? Not with the package itself. But you could extend the renderer (I assume you work with HTMLTable renderer) and add this functionality. You'll need to overload buildBody() and buildRow(): in the overloaded code buildBody() needs to pass more than the current record to buildRow() -- either the whole records array (only if you have few records and not thousands of them) or the three (or whatever) records. Regards, Mark

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