SMART datagrid v.1 > Classes > GroupRow

Back  Forward

DataLudi.GroupRow.getMax  method

GridBase.rowGroupsummaryModeNONEではない時、 このグループに属したデータ行の中でパラメーターfieldで指定したフィールドの値たちの合計を計算して最大の値をリターンする。 

function getMax (field: Integer): Number;
Returns
Number
Parameters
field - Integer. required.
Code -1
    $('#getMax').click(function () {
        var row = grid.focusedRow();
        if (row instanceof GroupRow) {
            var max = row.getMax(0);
            $('#max').val(max);
        }
    });
See Also
getNumber
getSum
getAvg
getMin
getStdev
getVar
Examples
Row Grouping
併合モードグルーピング
Column Footer