Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#12362 closed defect (duplicate)

LazyTreeGrid + TreeGrid == error loading table data

Reported by: Karl Tiedt Owned by: evan
Priority: high Milestone: tbd
Component: DojoX Grid Version: 1.6.0rc1
Keywords: TreeGrid LazyTreeGrid TreeCell Cc: Evan
Blocked By: Blocking:

Description

If you have a single page app that loads the new LazyTreeGrid? on 1 page (must be loaded first) then create a TreeGrid? on another pane in the app, the TreeGrid? will error loading data every time

The bug happens at line 245 in LazyTreeGrid?.js

dojo.mixin(dojox.grid.cells.TreeCell, { ... }

which blows away the existing TreeCell? methods for formatAtLevel and formatIndexes

Simple fix is to clone the existing TreeCell? and force the assignment of dojo.mixin to dojox.grid.cells.LazyTreeCell?, may have a patch for this later today (need to check on some CCLA stuff from the person who found it)

Change History (4)

comment:1 Changed 8 years ago by Karl Tiedt

Cc: evan added

comment:2 Changed 8 years ago by Karl Tiedt

Owner: changed from bryanforbes to evan

comment:3 Changed 8 years ago by Karl Tiedt

Resolution: duplicate
Status: newclosed

fixed by [24004] (#12424) and [24005] (#12425)

comment:4 Changed 8 years ago by Evan

Cc: Evan added; evan removed
Note: See TracTickets for help on using tickets.