Docs
API
  • update()


    If in grid there are changes that are not saved than it requires to run method update to apply changes.
    If run method update without params it will update all grid cells.

    Example

    
    grid.update();
    

    update(options: Object)


    Use options to update only changed cells/rows and flash changes.

    Example: update changed cells

    
    grid.update({
      type: 'cell'
    });
    

    Example: update changed rows

    
    grid.update({
      type: 'row'
    });
    

    Example: flash changed cells' values

    
    grid.update({
      flash: true,
      duration: 1500
    });
    

    Example: flash changed cells' values with positive and negative classes

    Positive class: fancy-grid-cell-flash-plus
    Negative class: fancy-grid-cell-flash-minus

    
    grid.update({
      type: 'cell',
      flash: 'plusminus',
      duration: 1500
    });