[Dojo-interest] Dynamic Grids

Rob Weiss 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:

>
> Ok..
> 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:
> http://dojo-toolkit.33424.n3.nabble.com/Dynamic-Grids-tp919861p922045.html
>  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
> http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.dojotoolkit.org/pipermail/dojo-interest/attachments/20100625/2981c512/attachment.htm 


More information about the Dojo-interest mailing list