Re: Proposal - HTMLDataGrid

From: Date: Sun, 11 Jan 2004 20:46:56 +0000
Subject: Re: Proposal - HTMLDataGrid
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-24988@lists.php.net to get a copy of this message
Andrew S. Nagy wrote:
This is IMO a bit too basic for a Datagrid class. A datagrid class needs a datasource. It should also use
I like this idea, and didn't really think about it. After looking at the .net DataGrid, it would be nice to be able to tie the DataGrid to a collections manager which can interact with PEAR::DB, PEAR::DB_DataObject or an XML document. I will think about this more, thanks.
Take a look at my DataGrid implementation, I did it exactly that way: http://projects.21st-hq.de/grid/DataGrid/ Unfortunately, it's not properly documented, which is one of the reasons I didn't propose this yet. Maybe it can give you some inspiration anyway :-) It also has the approach of renderer classes which are used for outputting the grid - if you specify nothing else, the default renderer will use HTML_Table for the output. If you want more speed or more design flexibility, you can also choose a template renderer - currently only HTML_Template_Sigma is supported. CU Markus

« previous php.pear.dev (#24988) next »