Docs
API
  • gridToGrid

    Deprecated

    Deprecated.
    It is recommended to use droppable

    Enables drag and drop from grid to grid.

    Example

    
    ...
    renderTo: 'mainOffice',
    gridToGrid: {
      dragGroup: 'dd-group-main-office',
      dropGroup: 'dd-group-new-office',
      onDrop: function(items, rowIndex){
        this.remove(items);
          
        FancyGrid.get('newOffice').insert(rowIndex, items);
      }
    },
    ...
    ...
    renderTo: 'newOffice',
    gridToGrid: {
      dragGroup: 'dd-group-new-office',
      dropGroup: 'dd-group-main-office',
      onDrop: function(items, rowIndex){
        this.remove(items);
        
        FancyGrid.get('mainOffice').insert(rowIndex, items);
      }
    },
    

    Default

    
    undefined