This page tests various responsibilities of renderRow in Grid.js,
particularly those sensitive to dojox-grid-friendly properties.
It also tests mappings made in GridFromHtml.js.
1a: Grid with single column with formatter for _item field (legacy grid behavior)
1b: Grid with single column with get for order field (legacy grid behavior)
1c: Grid with single column with renderCell function (dgrid behavior; should look same as previous)
2a: Same as 1a, using GridFromHtml
2b: Same as 1b, using GridFromHtml
2c: Same as 1c, using GridFromHtml
2d: Testing numeric and boolean property (un)specification in GridFromHtml
No sortable attr (defaults to true) |
sortable attr present, no value |
sortable="false" |
sortable="true" |
3a: Same as 2a, parsed from declarative markup (using a store)
3b: Same as 2b, parsed from declarative markup (using a store)
3c: Same as 2c, parsed from declarative markup (using a store)
4a: Grid on domnode with no initial id, id specified as param (will become DOM node id)
4b: Grid on domnode with no initial id, dgrid / DOM node id autogenerated
4c: Grid with no srcNodeRef (placed inside another domNode), id specified as param (will become DOM node id)
4d: Grid with no srcNodeRef (placed inside another domNode), dgrid / DOM node id autogenerated