OK,
You can try to use getClass config
1. In DesignTime:
YourActionColumnButton -> ImageIndex = -1
2. UniDBGrid -> ClientEvents -> ExtEvents -> function reconfigure(sender, store, columns, oldStore, oldColumns, eOpts):
function reconfigure(sender, store, columns, oldStore, oldColumns, eOpts)
{
dataColIndx = 0;
actionColIndx = 6;
actionItemsIndx = 0;
columns[actionColIndx].items[actionItemsIndx].isActionDisabled = function (grid, rowIndex, colIndex, items, record) {
return (record.data[dataColIndx] > 1500);
};
columns[actionColIndx].items[actionItemsIndx].getClass = function(value, metadata, record) {
if (record.data[dataColIndx] > 1500) {
return "x-fa fa-home"
}
else {
return "x-fa fa-user"
}
};
}