Dojox QueryReadStore + Grid demo - simplest
Using with the grid - simple/stupid version, just load one page, no paging, no sorting
For some reason using less than 30 rows (rowsPerPage=30) on the grid makes the grid issue two requests for initially showing the grid.
So we have set the rowsPerPage to 30.
You can see that data are loaded upon demand by scrolling down in the grid below line #30,
open FireBug and you see a server request being issued, to retreive another 30 rows/items.
Sorting does not work, dont get confused, even though you can click on the header and it seems to sort, its only
doing client data sort for the chunk (30 items) last loaded!!!
The store and grid are "generated" and connected in HTML, only the structure is defined in JS
Capabilities: load data from server, show data, paging (30 rows at a time), sort, filter
The grid is in HTML, store, model, etc. are created and connected via JS (like above just using JS)
Capabilities: load data from server, show data, paging (30 rows at a time), sort, filter