redefine this method in your code to specify how grid row values should be used in another grid
| rowId | string|number | the id of the dragged row |
| sgrid | object | source grid object |
| tgrid | object | target grid object |
myGrid.gridToGrid = function(rowId,sgrid,tgrid){ var z=[]; for (var i=0; i<sgrid.getColumCount(); i++) // for each cell in the source grid z[i]=sgrid.cells(rowId,i).getValue(); // prepare data for the target grid return z; }
Back to top