Demo: dojox.grid.DataGrid Simple Structure

I appeats that Dojo only accepts objects (rather than arrays) if this is true only json_encode($d, JSON_FORCE_OBJECT) should be used.

This page demonstrate the use of: dojo.data.ItemFileWriteStore, dojox.grid.DataGrid and dojo.connect()

The page use data from data/phonelist.php
If the data resource is called e.g data/phonelist.php?httpError=403 it will not provide data but HTTP error 403
data/phonelist.php?noData return HTTP 200 ok but en empty file.



Select responce from datasource: