Answers for "ag-grid event hide overlay"

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

Browse Popular Code Answers by Language