1

I see in this question: Create tree in angular-grid (ag-grid) with async data loading

that Niall recommends writing a cellRenderer but I'm not sure how that would work. I am guessing there would be a button in the cellRenderer that would trigger the call to get more data, but how would I rebind?

Community
  • 1
  • 1
MsGirlPerl
  • 337
  • 1
  • 4
  • 11

1 Answers1

0

adding rowData directly inside the component watched the updated rowData.

<ag-grid-angular style="width: 100%; height: 400px;" class="ag-theme-balham" 
  [gridOptions]="gridOptions"
  [showToolPanel]="showToolPanel"
  [rowData]="rowData">
</ag-grid-angular>

Here's official plunker Docs

Mukundhan
  • 3,284
  • 23
  • 36