[DataGrid] Setting useHeader as false still renders the header (empty though)
| From: | Daniel García | Date: | Thu, 17 Mar 2005 09:23:28 +0000 |
| Subject: | [DataGrid] Setting useHeader as false still renders the header (empty though) | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-18101@lists.php.net to get a copy of this message | ||
Hi all,
I'm using a custom array as datasource and HTMLTable as renderer. The first array element contains the table headers . I want to render a table with the array values, but I don't want to render the automatic/default header.
I tried $dg->renderer->useHeader(false), but it's still rendering the header row but with empty cells  . This is not what I expected, since the rendered table has a border now I see an empty row on the top of the table.
Any workaround ? TIA
-- Daniel