PDA

View Full Version : Drag cells from RowSelectionModel of editable grid



ev_irtt
22 Feb 2011, 9:46 PM
How can i drag cells in the rowselectionmodel of an editorgrid. The functionality is like, the user has to select multiple rows for cut, copy, paste and delete operations so i have to use rowselectionmodel in the grid and also i have to drag the cells from the grid in to different components.

If i use RowSelectionModel, the multiple selection of rows are working fine but i can't achieve the drag functionality because the whole row is selected for dragging and it shows "1 row selected".

If i use CellSelectionModel, the drag functionality works fine but multiple row selections is not working.

Experts, Please suggest me which is the good way of implementing for achieving both the functionality.

Thanks a lot in Advance,
Venky

Condor
23 Feb 2011, 6:02 AM
So you need a 'MultiCellSelectionModel'?

I don't think somebody has created one yet (IIRC back in the Ext 2.x days there have been some people experimenting with this).

Condor
23 Feb 2011, 6:03 AM
So you need a 'MultiCellSelectionModel'?

I don't think somebody has created one yet (IIRC back in the Ext 2.x days there have been some people experimenting with this).