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

Enable Drag on Treegrid which is an expansion component

$
0
0
We are currently using smartgwt lgpl
version 4.0-10-28-2013 and are using only Firefox version 10.x for our application.

We are building out a widget to meet a requirement in our application wherein the widget is containes


ListGrid (with a RecordComponent)
+ TreeGrid1 (with a RecordComponent and is an expansion component of the ListGrid)
+ TreeGrid2 (which is an expansion component of TreeGrid1).

The requirement is that we have to enable dragging records from TreeGrid2 onto the nodes / leaves on TreeGrid1 .

We are setting all the following options on all the grids

setSelectionType(SelectionStyle.SINGLE)
setCanDrag(Boolean.TRUE);
setCanReorderRecords(Boolean.TRUE);
setCanDragRecordsOut(Boolean.TRUE);
setCanRemoveRecords(true); setDragAppearance(DragAppearance.OUTLINE);
setDragTrackerMode(DragTrackerMode.RECORD);

but we just can't drag records out of a treegrid which is an expansion component of another TreeGrid which in turn is an expansion component of a listgrid as explained above ?


The basic question is that is it possible to enable dragging from an expansion component of an expansion component ?

Any help would be highly appreciated.

Viewing all articles
Browse latest Browse all 4756

Trending Articles