SMART datagrid v.1 > Classes > DisplayOptions
Callback function which returns the mouse cursor shape of being displayed when the mouse is over data cell.
If return the unspecified value like undefined in callback function, the cursor which has been specified in ValueColumn.cursor will be displayed.
The cursor shape will directly use the value which is used in css cursor.
Defaults to null.
grid.setOptions({
display: {
cursorCallback: function (index) {
if (index.column.name() == 'country') {
if (index.rowIndex % 2) {
return "pointer";
} else {
return "not-allowed";
}
}
}
}
});