SMART datagrid v.1 > Classes > GroupRow

Back  Forward

DataLudi.GroupRow.getMin  method

When summaryMode of GridBase.rowGroup is not NONE, it will return the minimum value by calculating the sum of field values specified by parameter field among data row of belonging to this group. 

function getMin (field: Integer): Number;
Returns
Number
Parameters
field - Integer. required.
Code -1
    $('#getMin').click(function () {
        var row = grid.focusedRow();
        if (row instanceof GroupRow) {
            var min = row.getMin(0);
            $('#min').val(min);
        }
    });
See Also
getNumber
getSum
getAvg
getMax
getStdev
getVar
Examples
Row Grouping
Merged Mode Grouping
Column Footer