Hi, just modified your example "Drag n Drop -> between grids" like this:
//2nd grid
$("#dndgrid2").pqGrid({
height: 500,
width: '45%',
colModel: $.extend(true, [], columns),
dataModel: $.extend(true, {}, dataModel),
complete: function () {
this.flex();
},
dragModel:{
on: true,
clsDnD: 'dnd2',
diHelper:['OrderID']
},
//dropModel:{
// on: true,
// accept: '.dnd1'
// },
//pageModel: { type: 'local', rPP: 20, rPPOptions: [1, 10, 20, 30, 40, 50, 100] },
title: "Shipping Orders"
});
$("#dndgrid2").pqGrid( "option", "dropModel", {
on: true,
accept: '.dnd1'
} );
Setting dropModel via option fails in this case.
Is this issue a bug?