SMART datagrid v.1 > Classes > ButtonCellRenderer
The URL of image which is displayed when the mouse is over 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",
hoveredImageUrl : "img/btn_hovered.png"
}
},
...
];
grid.setColumns(columns);
$("#changeImage").click(function () {
var col = grid.columnByName('column1');
col.setRenderer({
hoveredImageUrl : "img/btn_hovered.png"
});
});