[Dojo-interest] Dynamic Grids
j105.rob at gmail.com
Fri Jun 25 09:39:53 EDT 2010
Just build the structure object on the server side, then send it down with
the data. Then use that structure object as the grid's structure.
I have not done this, but it is the way I would approach it.
Are you using straight xhr? Or are you using a store? If using a store, then
you are going to need to create a custom handler for the response of the
query to segment out the new structure object from the items array.
On Fri, Jun 25, 2010 at 9:19 AM, Esh <ethan.shar at gmail.com> wrote:
> i'll try to simplify this..
> i got DataSet that contain all kind of tables with different structures..
> because i dont know how each table looks like... i like to build a dynamic
> grid based on each table.
> now usually on regular asp grids... all i need to do is create a gridView
> and bind the data to the grid.
> My question is... what is the best way to do this with dojo DataGrid?
> View this message in context:
> Sent from the Dojo Toolkit mailing list archive at Nabble.com.
> FAQ: http://dojotoolkit.org/support/faq
> Book: http://docs.dojocampus.org
> Dojo-interest at mail.dojotoolkit.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Dojo-interest