Structures_DataGrid feedback
| From: | Robert Munteanu | Date: | Sun, 11 Apr 2004 20:02:24 +0000 |
| Subject: | Structures_DataGrid feedback | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-11776@lists.php.net to get a copy of this message | ||
Hi,
I have tried to use the named class in one of my applications and I have
ecountered the following problems:
1. Prints HTML, does not return it -- solved with with output buffering
functions, though I consider it to be an ugly hack.
2. Reordering does not take into account the current
$_SERVER['QUERY_STRING'], which is quite inconvenient.
3. Adding "Edit" columns is quite unintuitive, even after skimming the
function code, and I could not make it work with a class method ( static
or not ). Maybe resorting to the good old call_user_func() would work.
4. Too much hardcoded HTML attributes. Maybe making two .oddrow .evenrow
CSS entries would make customizing the output easier.
5. The Smarty output approach is self-centered, and it is difficult to
integrate it into my app. IMHO it is better used by HTML_QuickForm.
Nevertheless, this is a very usefull class and I would like to see it
develop further.
Robert
--
Robert Munteanu <rombertworf@xnet.ro>