Docs
API
  • setData(data: Array)

    Rough but easy way to set new data to grid.
    It requires to rerender grid.update() grid after setting new data to view changes.

    Example

    
    grid.setData([
      {...},
      {...},
      ...
    ]);
    grid.update();
    

    See also

    Method clearData