Opened 12 years ago

Last modified 12 years ago

#9062 closed enhancement

DataGrid lazier loading of items — at Initial Version

Reported by: mschuerig Owned by: Bryan Forbes
Priority: high Milestone: tbd
Component: DojoX Grid Version: 1.3.0
Keywords: Cc: Nathan Toone, Jared Jurkiewicz
Blocked By: Blocking:


dojox.grid.DataGrid? forcibly loads all items it displays. This can be rather wasteful. The attached patch makes loading a bit lazier by checking wether all the attributes intended to be displayed in the grid are present on an item.

This change may not work well with cells whose value is calculated by dojox.grid.DataCellDef.get(). Such a user-supplied get function would have to ensure that the item indeed has all required attributes and, if necessary, load it.

Change History (1)

Changed 12 years ago by mschuerig

Attachment: lazy-datagrid.patch added
Note: See TracTickets for help on using tickets.