Re: Re: Structures_DataGrid_Renderer_Smarty
| From: | Mark Wiesemann | Date: | Fri, 20 Oct 2006 16:09:40 +0000 |
| Subject: | Re: Re: Structures_DataGrid_Renderer_Smarty | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-25575@lists.php.net to get a copy of this message | ||
Chris Boget wrote:
I see that when it sets the value for the $recordSet variable, it does so using an associative array using integer values as keys for each column. Is there something I can do so that it instead uses the column name as the key?Not directly. But this information is available via $columnSet in Smarty. For every numeric index you get in this array a link (or better said: an URL for sorting), the column name, the column label and the attributes for the column. Regards, Mark