SMART datagrid v.1 > Classes > ButtonCellRenderer
The text which is displayed on the disabled button.
If specify null or undefined, it will display the value which has been specified in text.
If specify ""(empty string), it will not display the text. v 1.3.8
Defaults to undefined.
var columns = [{
name: "column1",
renderer: {
type: "button",
disabledText : "Not Avaliable"
}
},
...
];
grid.setColumns(columns);
$("#changeText").click(function () {
var col = grid.columnByName('column1');
col.setRenderer({
disabledText : "Not Avaliable"
});
});