Re: Proposal - HTML_DataGrid - Again
| From: | Andrew Nagy | Date: | Thu, 05 Feb 2004 03:18:26 +0000 |
| Subject: | Re: Proposal - HTML_DataGrid - Again | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-25510@lists.php.net to get a copy of this message | ||
> >I think inputing an XML document into the DataGrid would be a lot of
> >overhead.
> >The way .Net handles it is by binding an array from an XML document by
using
> >the XMLReader, which were my initial plans.
> >
> >Your thoughts?
> >
> >
> >
> I'm not sure if I understand you correctly. Do you mean that the XML
> file should be converted to an array, perhaps with some helper Class,
> which can be fed to HTML_DataGrid? Yes that is ofcourse always an
> option. I guess you would need something like xml2sql
> (http://pear.php.net/package/XML_sql2xml) which works the other way
> around :-)
Yes, I feel that it would be up to the application to convert an xml doc to
an array, then bind the array to the datagrid. This is what [seems to be]
the best way to do it with the .NET DataGrid.
>
> Anyway, I'm very curious to see where you class is going, I was pretty
> impressed by .NET's datagrid, it would be great to have something
> similar in PEAR.
That is what I hope!
Andrew