SmartClient Version: v9.0p_2014-01-23/LGPL Development Only (built 2014-01-23)
I have a tree grid where I want to be able to drag record out of the grid. However I don't want to be able to drag "folders" out of the tree grid. I called setCanDragRecordsOut(true) on the tree grid and I added a onDragStart handler. In my handler I want to cancel the drag if the record being dragged is a "folder" record.
How do I identify in the onDragStart handler which record is being clicked on when started the drag?
I have a tree grid where I want to be able to drag record out of the grid. However I don't want to be able to drag "folders" out of the tree grid. I called setCanDragRecordsOut(true) on the tree grid and I added a onDragStart handler. In my handler I want to cancel the drag if the record being dragged is a "folder" record.
How do I identify in the onDragStart handler which record is being clicked on when started the drag?