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
17 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? |
Craig Riecke
17 posts
|
Yup, are you seeing a problem in it? |
Dick Marcum
3 posts
|
I am seeing a problem with it. I’m not sure if the dojo related code has been moved around at this website or something, but when I go to this site I see nothing except a table with the field headings: no data and no grid. Happens with Firefox 3.0.2 and IE 7. |
5 posts, 4 voices
