I'm having this error on the devmode log when I mouse over some cells on a ListGrid (log collected with smartgwt power 3.1-p20130422, but problem persists with 3.1-p20131029).
We override ListGrid.getRollOverCanvas and sometimes return null, when we don't want a roll over canvas to be displayed for a particular row/col. Can this be the cause? If so, what can we do. If not, what else could be wrong?
[ERROR] [Main] - 12:14:30.507:MMV2:WARN:Log:TypeError: Cannot set property 'record' of null
Stack from error.stack:
isc.ListGrid.addMethods.updateRollOverCanvas() @ Main/sc/modules-debug/ISC_Grids.js:48618:27
isc.defineClass.addProperties.updateRollOver() @ Main/sc/modules-debug/ISC_Grids.js:16379:20
isc.GridRenderer.addMethods.mouseMove() @ Main/sc/modules-debug/ISC_Grids.js:13240:26
isc.Canvas.addMethods.handleMouseMove() @ Main/sc/modules-debug/ISC_Core.js:53111:37
isc.EventHandler.addClassMethods.bubbleEvent() @ Main/sc/modules-debug/ISC_Core.js:29250:40
isc.EventHandler.addClassMethods.__handleMouseMove() @ Main/sc/modules-debug/ISC_Core.js:26710:8
isc.EventHandler.addClassMethods._handleMouseMove() @ Main/sc/modules-debug/ISC_Core.js:26556:26
isc.EventHandler.addClassMethods.handleMouseMove() @ Main/sc/modules-debug/ISC_Core.js:26529:21
isc.EventHandler.addClassMethods.dispatch() @ Main/sc/modules-debug/ISC_Core.js:29969:34
HTMLDocument.eval() @ eval at <anonymous> (http://localhost:7001/linker/Main/sc/modules-debug/ISC_Core.js:1263:54), <anonymous>:3:129
We override ListGrid.getRollOverCanvas and sometimes return null, when we don't want a roll over canvas to be displayed for a particular row/col. Can this be the cause? If so, what can we do. If not, what else could be wrong?
[ERROR] [Main] - 12:14:30.507:MMV2:WARN:Log:TypeError: Cannot set property 'record' of null
Stack from error.stack:
isc.ListGrid.addMethods.updateRollOverCanvas() @ Main/sc/modules-debug/ISC_Grids.js:48618:27
isc.defineClass.addProperties.updateRollOver() @ Main/sc/modules-debug/ISC_Grids.js:16379:20
isc.GridRenderer.addMethods.mouseMove() @ Main/sc/modules-debug/ISC_Grids.js:13240:26
isc.Canvas.addMethods.handleMouseMove() @ Main/sc/modules-debug/ISC_Core.js:53111:37
isc.EventHandler.addClassMethods.bubbleEvent() @ Main/sc/modules-debug/ISC_Core.js:29250:40
isc.EventHandler.addClassMethods.__handleMouseMove() @ Main/sc/modules-debug/ISC_Core.js:26710:8
isc.EventHandler.addClassMethods._handleMouseMove() @ Main/sc/modules-debug/ISC_Core.js:26556:26
isc.EventHandler.addClassMethods.handleMouseMove() @ Main/sc/modules-debug/ISC_Core.js:26529:21
isc.EventHandler.addClassMethods.dispatch() @ Main/sc/modules-debug/ISC_Core.js:29969:34
HTMLDocument.eval() @ eval at <anonymous> (http://localhost:7001/linker/Main/sc/modules-debug/ISC_Core.js:1263:54), <anonymous>:3:129
Comment