#12611 closed defect (fixed)
Changing layout and/or store for dojox.grid.EnhancedGrid causes "this.scrollboxNode is undefined" and "node is undefined"
Reported by: | Matias Rask | Owned by: | evan |
---|---|---|---|
Priority: | high | Milestone: | 1.6.1 |
Component: | DojoX Grid | Version: | 1.6.0 |
Keywords: | grid, enhancedGrid, scrollboxNode, node, undefined | Cc: | |
Blocked By: | Blocking: |
Description
First create an EnhancedGrid? with valid structure and data, then change the structure via grid.set('structure', newStructure); and store via grid.setStore(newStore);
var grid = new dojox.grid.EnhancedGrid({ store : initialStore, structure : initialStructure, clientSort : false, singleClickEdit : true, region : "center" }); borderContainer.addChild(this._grid);
After retrieving data from server and populating the grid with the new data:
grid.set('structure', newStructure); grid.setStore(newStore);
The outcome seems to be correct but "this.scrollboxNode is undefined" and "node is undefined" pops up in firebug when clicking on the grids cells/header.
Change History (3)
comment:1 Changed 10 years ago by
Milestone: | 1.6.1 → 1.7 |
---|
comment:2 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Fixed by [24227] - resetting focusview during setStructure()(not sure why not reflected here).