SMART datagrid v.1 > Classes > ButtonCellRenderer
Callback function which returns enable, disable states of button.
If specify a valid function in this property, enabledExpression property will be ignored.
Defaults to null.
var col = grid.columnByName('column1');
col.setRenderer({
enabledCallback: function (index) {
return index.getValue() > 100;
}
});