View Full Version : drag and drop functionality not working in single grid

7 Jan 2012, 10:17 AM
I am implementing drag and drop functionality in singe grid, but it is not working. Can anyone let me know what is wrong I am doing.

Here is my code

Ext.define('AS.view.task.TaskListView', {
extend: 'Ext.grid.Panel',
alias: 'widget.tasklist',
id: 'organizationTasks',
selType: 'cellmodel',
store: 'TaskRootStore',
autoHeight: true,

viewConfig: {
copy: true,
stripeRows: false,
getRowClass: function (row, index) {
var data = row.data;
return data.HighlightClass;
plugins: {
ptype: 'gridviewdragdrop',
dragText: 'Drag and drop to reorganize'

plugins: [
Ext.create('Ext.grid.plugin.CellEditing', { clicksToEdit: 2 })

8 Jan 2012, 12:03 AM
I found the solution, if property

selType: 'cellmodel' then drag and drop doesnot work. I dont know if this is a bug.

14 Mar 2012, 8:17 AM
Thanks mate

I had exactly the same issue, I would have never thought of changing cellmodel

All the best