SMART datagrid v.1 > Classes > ButtonCellRenderer
The property which adjusts the location of button image when the button has been clicked.
If specify a value greater than 0, it will work as clicking the button.
Defaults to 0.
var columns = [{
name: "column1",
renderer: {
type: "button",
downOffset : 1
}
},
...
];
grid.setColumns(columns);
$("#changeOffset").click(function () {
var col = grid.columnByName('column1');
col.setRenderer({
downOffset : 1
});
});