Grid and javascript array as model

View: New views
1 Messages — Rating Filter:   Alert me  

Grid and javascript array as model

by Horst Rutter :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

With dojo 1.3.2 there are two general options for grids:

a) dojox.grid.DataGrid

b) dojox.grid._Grid

I would like to use a plain Javascript array for my grid model.
Also I would like to support changing the whole array in the background
with changes reflecting immediately on the grid.

Any recommended strategies?

For a) I need a store, which store should I use?

For b) I do not need a store, but how do I set the model to the array?

Thx
Horst

_______________________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://docs.dojocampus.org
Dojo-interest@...
http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest