RE: [PEAR-DEV] Proposal - HTMLDataGrid

From: Date: Sun, 11 Jan 2004 17:04:26 +0000
Subject: RE: [PEAR-DEV] Proposal - HTMLDataGrid
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-24983@lists.php.net to get a copy of this message
> -----Original Message----- > From: Bertrand Mansion [mailto:bmansion@mamasam.com] > Sent: Sunday, January 11, 2004 11:56 AM > To: Andrew S. Nagy; pear-dev@lists.php.net > Subject: Re: [PEAR-DEV] Proposal - HTMLDataGrid > > > <asnagy@syr.edu> wrote : > > > Here is the source: http://webitecture.org/HTMLDataGrid/ > > This is IMO a bit too basic for a Datagrid class. > > A datagrid class needs a datasource. It should also use > delegation to get the row values and to update the rows from > a delegate. A datasource could be any other object providing > the values to the datagrid on demand by responding to > predefined methods (for example, getValue($rowIndex, > $colIndex)). The datagrid class should only take care of > display and customization (number of rows to be displayed, > colors, size...). Yes, that is the direction I am heading with this. I would like to expand on its functionality much more. I would like to implement many of the methods available in the .net framework > > And I don't really like embedded HTML, you could have used > HTML_Table for that. I agree fully, I would like to use HTML_Table or one of the Template engines to handle the HTML as I mentioned before. > > So I am -1 on that one as it is now. > > Bertrand Mansion > Mamasam > > >

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