Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#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:


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"

After retrieving data from server and populating the grid with the new data:

grid.set('structure', newStructure);

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 11 years ago by evan


Fixed by [24227] - resetting focusview during setStructure()(not sure why not reflected here).

comment:2 Changed 11 years ago by evan

Resolution: fixed
Status: newclosed

comment:3 Changed 11 years ago by evan


Backported to 1.6 branch with [24272]

Note: See TracTickets for help on using tickets.