Trying to access all data rendered in Ag-Grid - including the value of calculated columns which use value getters. I have only been able to access the data provided to Ag-Grid, but not any calculated columns (see code below).
var items = [];
var cnt = gridOptions.api.getDisplayedRowCount();
for (var i = 0; i < cnt; i++) {
var rowNode = gridOptions.api.getDisplayedRowAtIndex(i);
items.push(rowNode.data);
}
Any suggestions would be greatly appreciated. I'm trying to save the output of the calculated columns to a database.