cvs: pear /Structures_DataGrid/DataGrid/Docs/Examples example.php
| From: | Andrew Nagy | Date: | Fri, 25 Jun 2004 15:47:17 +0000 |
| Subject: | cvs: pear /Structures_DataGrid/DataGrid/Docs/Examples example.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-21120@lists.php.net to get a copy of this message | ||
asnagy Fri Jun 25 11:47:17 2004 EDT
Modified files:
/pear/Structures_DataGrid/DataGrid/Docs/Examples example.php
Log:
reflected new method in column object to set the empty row attributes
http://cvs.php.net/diff.php/pear/Structures_DataGrid/DataGrid/Docs/Examples/example.php?r1=1.4&r2=1.5&ty=u
Index: pear/Structures_DataGrid/DataGrid/Docs/Examples/example.php
diff -u pear/Structures_DataGrid/DataGrid/Docs/Examples/example.php:1.4
pear/Structures_DataGrid/DataGrid/Docs/Examples/example.php:1.5
--- pear/Structures_DataGrid/DataGrid/Docs/Examples/example.php:1.4 Fri Jun 25 10:21:06 2004
+++ pear/Structures_DataGrid/DataGrid/Docs/Examples/example.php Fri Jun 25 11:47:17 2004
@@ -61,10 +61,7 @@
$dg->renderer->setTableAttribute('class', 'datagrid');
// Set empty row table attributes
-// Clean me!
-$dg->renderer->allowEmptyRows = true;
-$dg->renderer->emptyRowAttributes = array('bgcolor' => '#FFFFFF');
-
+$dg->renderer->allowEmptyRows(true, array('bgcolor' => '#FFFFFF'));
// Define columns for the DataGrid
$column = new Structures_DataGrid_Column('Name', 'first_name',
'first_name',