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.