Opened 9 years ago

Closed 9 years ago

#11633 closed defect (duplicate)

EnhancedGrid memory leak fixing & API improvements

Reported by: evan Owned by: evan
Priority: high Milestone: tbd
Component: DojoX Grid Version: 1.5
Keywords: enhanced grid memroy leak plugin support Cc: hwcdl@…, drschwar@…
Blocked By: Blocking:

Description

This ticket is used to tracking the memory leak fixes & API improvements for EDG, mainly includes:
1.Memory leak fixes

  • Fixing by cleaning up all connect/topics during destroy() phase
  • Testing result 1 (keep scrolling & creating/destroying Grid)
  • Testing result 2 (runing Grid for 10 mins and close page Tab/window)

2.DnD API improvement

  • Mapping info is added in published topic when col/row moved - in form of {fromIdx: toIdx}

3.Requirement

  • Make the dummy plugin mechanism more pluggable in EDG

With this patch, user can either customize or add new plugins

dojo-enhanced-grid-#9287-08182010-2.patch - for v.1.5.1

Attachments (1)

11633-08252010.patch (114.8 KB) - added by Adam Peller 9 years ago.
updated patch from Evan (IBM, CCLA) This patch mainly adds small changes - changed all patterns of dojo.hitch(this.grid.selection, dojox.grid.Selection.prototype[value ? 'addToSelection' : 'deselect'])(idx); to dojox.grid.Selection.prototype[value ? 'addToSelection' : 'deselect'].call(this.grid.selection, idx);

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by Adam Peller

Attachment: 11633-08252010.patch added

updated patch from Evan (IBM, CCLA) This patch mainly adds small changes - changed all patterns of dojo.hitch(this.grid.selection, dojox.grid.Selection.prototype[value ? 'addToSelection' : 'deselect'])(idx); to dojox.grid.Selection.prototype[value ? 'addToSelection' : 'deselect'].call(this.grid.selection, idx);

comment:1 Changed 9 years ago by Adam Peller

Owner: changed from bryanforbes to evan

comment:2 Changed 9 years ago by Adam Peller

Resolution: duplicate
Status: newclosed

replaced by #11641-11645

Note: See TracTickets for help on using tickets.