Grid Model
JimmyC
1 post
|
Hi, Looking briefly though areas of the book related to the Grid widgit I noticed that the examples don’t seem to specify a model. It was one area that was causing me some confusion as to what exactly was the purpose of using say a GridModel or Tablemodel, apart from laying out the grid in a particular format it also seems to provide convenience methods for accessing the underlying datastore. Thanks! |
Craig Riecke
10 posts
|
Yup, that’s a feature of 1.1. You can still do things the old way (specify a model in a separate tag), but most people using Grid were using dojo.data stores. By embedding the store attribute directly in the Grid tag, you only need two objects (datastore, grid) as opposed to three objects (datastore, model, grid) . That wasn’t very clear, so I added some notes on it. They should appear in Beta 4, due in early May. (Which will be the last beta and, essentially, the book as it will appear in print!) |
Pep Baquero ...
1 post
|
has Somebody tested http://media.pragprog.com/titles/rgdojo/code/xhr_techniques/wish_list_grid.html? |
3 posts, 3 voices
