SMART datagrid v.1 > Classes > ButtonCellRenderer
The URL of image of disabled button.
If do not specify this value, it will display the image which has been specified in imageUrl.
Defaults to null.
var columns = [{
name: "column1",
renderer: {
type: "button",
disabledImageUrl : "img/btn_disabled.png"
}
},
...
];
grid.setColumns(columns);
$("#changeImage").click(function () {
var col = grid.columnByName('column1');
col.setRenderer({
disabledImageUrl : "img/btn_disabled.png"
});
});