SmartGWT version: SmartClient Version: v10.0p_2015-08-24/LGPL Development Only (built 2015-08-24) (but doesn't work with months old versions either)
Browser: Firefox 38.0.5 with Firebug
If I drag an element into a TileGrid, I'm getting a JavaScript-Exception in the smartclient JavaScript files.
This issue can be easily reproduced:
* run the code (see below)
* click and hold the tile "bla" of the lower TileGrid
* move your mouse to the upper TileGrid
* release mouse button
The code:
The result, as shown in my Firebug-console:
The stacktrace of my Developer Console:
Browser: Firefox 38.0.5 with Firebug
If I drag an element into a TileGrid, I'm getting a JavaScript-Exception in the smartclient JavaScript files.
This issue can be easily reproduced:
* run the code (see below)
* click and hold the tile "bla" of the lower TileGrid
* move your mouse to the upper TileGrid
* release mouse button
The code:
Code:
TileGrid tileGrid1 = new TileGrid();
tileGrid1.setCanAcceptDrop(true);
TileGrid tileGrid2 = new TileGrid();
tileGrid2.setFields(new DetailViewerField("a"));
tileGrid2.setData(new ListGridRecord[] {new ListGridRecord() {{setAttribute("a", "bla");}}});
tileGrid2.setCanDrag(true);
VLayout layout = new VLayout();
layout.addMember(tileGrid1);
layout.addMember(tileGrid2);
layout.setWidth100();
layout.setHeight100();
layout.show();Code:
TypeError: this.data is undefined
...A.drop=function isc_TileGrid_drop(){var _1=this.$610||0;if(_1>this.data.getLengt...
-------------------------------------------^Code:
17:09:32.478:MUP3:WARN:Log:TypeError: this.data is undefined
Stack from error.stack:
TileGrid.drop() @ Application/sc/modules/ISC_Grids.js:3348:694
Canvas.handleDrop() @ Application/sc/modules/ISC_Core.js:2815:1569
[c]EventHandler.bubbleEvent() @ Application/sc/modules/ISC_Core.js:1547:203
[c]EventHandler.handleEvent() @ Application/sc/modules/ISC_Core.js:1304:342
[c]EventHandler.handleDragStop() @ Application/sc/modules/ISC_Core.js:1483:165
EventHandler._handleMouseUp() @ Application/sc/modules/ISC_Core.js:1388:33
[c]EventHandler.handleMouseUp() @ Application/sc/modules/ISC_Core.js:1385:54
[c]EventHandler.dispatch() @ Application/sc/modules/ISC_Core.js:1623:76
anonymous() @ Application/sc/modules/ISC_Core.js line 55 > Function:1:95