SMART datagrid v.1 > Classes > GroupRow
When summaryMode of GridBase.rowGroup is not NONE, it will return the standard deviation value by calculating the sum of field values specified by parameter field among data row of belonging to this group.
If set parameter n as 0, it will be "population standard deviation(Stdevp)", and if set as 1, it will be "sample standard deviation(Stdev)" value.
$('#getStdev').click(function () {
var row = grid.focusedRow();
if (row instanceof GroupRow) {
var v = row.getStdev(0, 0);
$('#stdev').val(v);
}
});