Answers for "loading false when data not found aggrid"

2

ag grid showing no row to show when data is loading

this.gridOptions.suppressNoRowsOverlay = true;
this.service.getData()
  .subscribe(data => {
    if (!data || !data.length) {
      this.gridOptions.suppressNoRowsOverlay = false;
      this.gridOptions.api.showNoRowsOverlay();
    }
Posted by: Guest on June-23-2020

Code answers related to "loading false when data not found aggrid"

Browse Popular Code Answers by Language