Hi,
I have been searching for solutions for this. I have two grid panels which have drag and drop plugin enabled.
I want the copy of the record which is dragged to destination grid to be inserted in , but when once record is dropped to other grid the record is lost in source grid.
I am using ext-js 4.2.1 and in document there is no copy config present
There is no config option as copy present.
Can anyone suggest how to achieve this functionality in ext-js 4.2.1.
Copy records in Drag and Drop Grid ext-js 4.2.1
I have been searching for solutions for this. I have two grid panels which have drag and drop plugin enabled.
I want the copy of the record which is dragged to destination grid to be inserted in , but when once record is dropped to other grid the record is lost in source grid.
I tried to find some solutions found this at many places.
Code:
Ext.create('Ext.grid.Panel', {
store: 'testStore',
columns: [
{header: 'Name', dataIndex: 'name', flex: true}
],
viewConfig: {
copy: true,
plugins: {
ptype: 'gridviewdragdrop',
dragText: 'Drag and drop to reorganize'
}
},
height: 200,
width: 400,
renderTo: Ext.getBody()
I am using ext-js 4.2.1 and in document there is no copy config present
There is no config option as copy present.
Can anyone suggest how to achieve this functionality in ext-js 4.2.1.
Thanks & Regards
Rakesh
Copy records in Drag and Drop Grid ext-js 4.2.1
Aucun commentaire:
Enregistrer un commentaire