Re: Structures

From: Date: Sun, 01 Apr 2007 19:09:52 +0000
Subject: Re: Structures
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-26966@lists.php.net to get a copy of this message
Hi Ian, Ian Warner wrote: > I want to override the colour being set within a HTML rendered structure > for a certain row only. [...] The answer is the same as last time: Overload the HTMLTable renderer and add the behaviour in the overloaded buildRow() method. Check $value in the foreach() loop, e.g. "if ($value == 'IN')" and set then the attributes for the cell, e.g. like it is done in lines 427ff. for the column attributes from the 'columnAttributes' option. HTH and regards, Mark -- http://www.markwiesemann.eu

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