SMART datagrid v1.4 > Classes > DataColumn

Back  Forward

DataLudi.DataColumn.minimum  property

컬럼에 연결된 필드ValueType숫자일 때 입력 가능한 최소값. 

Getter
function minimum(): Integer
Setter
function setMinimum(value: Integer)
Code -1
    var fields = [{
        fieldName: 'addr',
        dataType: DataLudi.ValueType.TEXT
    }, {
        fieldName: 'distance',
        dataType: 'number'
    },
    ...
    ];
    dataSource.setFields(fields);
    
    var columns = [{
        name: "addr",
        fieldName: "addr"
    }, {
        name:"distance",
        fieldName:"distance",
        minumum:10
    },
    ...
    ];
Code -2
    $('#setMinimum').click(function () {
        var column = grid.focusedColumn();
        column.setMinimum(10);
    });
See also
maximum
ValueType
ValueType.NUMBER
Examples
Number Value