I have a ActionColumn (Unidbgrid) with 3 Buttons (Id 0,1,2).
When meet the condition 1 ,Button 0 and Button 1 show ,Button 2 hide.
When meet the condition 2, Button 0 and Button 2 hide,Button 1 show.
when meet the condition 3, Button 0 and Button 1 hide, Button 2,show.
What can I do ?
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,