I have 2 columns that I am pulling the total from, doing a bit of math, and then trying to display the ratio of the 2 items.
When I add the following bit of code the entire thing comes to a screeching hault and it takes about 15 minutes to load the grid.
aggregates: [{ '<b>Total</b>':
function (aggregatedValue, currentValue, column, record) {
var sumMiles = $("#jqxgrid").jqxGrid('getcolumnaggregateddata', 'miles', ['sum']);
var sumRate = $("#jqxgrid").jqxGrid('getcolumnaggregateddata', 'rate', ['sum']);
return sumRate.sum / sumMiles.sum;
}
}]