Is there any possible solution to move or drag and drop multiple row data between two JQGrid table. The below function, i used it to select multiple rows using check box and move them down.Is there any properties in jqgrid to select multiple rows?
function downfn()
{
Rowid = $('#grid-table').getGridParam('selrow');
//alert(Rowid);
if(Rowid!=null)
{
RowList=$('#grid-table').jqGrid('getDataIDs');
var dselected=$('#grid-table').jqGrid('getRowData', Rowid );
var list=RowList.length;
for(var i=0;i<list;i++)
{
if(Rowid>=RowList[i])
{
// alert(Rowid);
}
else
{
var selected=dselected;
var temp = $('#grid-table').jqGrid('getRowData', RowList[i] );
$('#grid-table').jqGrid('delRowData',RowList[i] );
$('#grid-table').jqGrid('delRowData',Rowid );
$('#grid-table').jqGrid('addRowData', Rowid , temp );
$('#grid-table').jqGrid('addRowData', RowList[i] , selected );
var Rowid=RowList[i];
}
}
}
}