Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Drag and Drop Extended ListGrid Class Does Not Display On Palette

$
0
0
I've followed the palette code sample, and tried to apply it to an extended ListGrid without success. However, when dragging and dropping my extended ListGrid object, an exception is raised.

The only workaround I know is to include my extended ListGrid object in a Windows object. If so, I'm able to drag and drop the window from a palette into an edit pane.



/*-----------------------------------------------------*/
SmartGWT - SmartClient Version: v10.0p_2015-04-01/EVAL Deployment

Firefox 36

Stack Trace:

11:38:29.832:MUP4:WARN:Log:TypeError: _4.getInstanceProperty is not a function
Stack from error.stack:
.createLiveObject() @ builtinds/sc/modules/ISC_DataBinding.js:2693:254
.makeEditNode() @ builtinds/sc/modules/ISC_DataBinding.js:2685:343
EditContext.makeEditNode() @ builtinds/sc/modules/ISC_DataBinding.js:2609:129
EditContext.addFromPaletteNodes() @ builtinds/sc/modules/ISC_DataBinding.js:2639:14
EditProxy.completeItemDrop() @ builtinds/sc/modules/ISC_DataBinding.js:2804:21
EditProxy.drop() @ builtinds/sc/modules/ISC_DataBinding.js:2802:1
[c]EventHandler.bubbleEvent() @ builtinds/sc/modules/ISC_Core.js:1568:82
[c]EventHandler.handleEvent() @ builtinds/sc/modules/ISC_Core.js:1326:342
[c]EventHandler.handleDragStop() @ builtinds/sc/modules/ISC_Core.js:1503:165
EventHandler._handleMouseUp() @ builtinds/sc/modules/ISC_Core.js:1408:33
[c]EventHandler.handleMouseUp() @ builtinds/sc/modules/ISC_Core.js:1405:54
[c]EventHandler.dispatch() @ builtinds/sc/modules/ISC_Core.js:1643:76
anonymous() @ builtinds/sc/modules/ISC_Core.js line 77 > Function:1:95

Attached Files
File Type: java ItemPalette.java (3.4 KB)
File Type: java PaletteEditPane.java (433 Bytes)
File Type: java TrackModelGrid.java (593 Bytes)
File Type: java BuiltInDS.java (3.7 KB)

Viewing all articles
Browse latest Browse all 4756

Trending Articles