Providing an empty dataset to dojox.grid.data.DojoData breaks the grid
If the store returns 0 results to the model processRows returns without calling endUpdate. So grid.invalidated.count is not decremented and will never reach zero again, which is necessary to render the changes after a beginUpdate - endUpdate.
processRows: function(items, request){
// console.debug(arguments);
if(!items || items.length == 0){ return; }
should be:
processRows: function(items, request){
// console.debug(arguments);
if(!items || items.length == 0){ this.endUpdate(); return; }
Change History (3)
Resolution: |
→ wontfix
|
Status: |
new →
closed
|
dojox.grid.data.DojoData? is no longer being fixed. Please update to dojox.grid.DataGrid? plus the store you are using.