I have a self-hierarchy grid that has three boolean columns IsText, IsDate, IsParty.
I want to set three other columns visiblility in edit mode to the value of the boolean fields. i.e. ...
EditTextColumn.visible = IsText;
EditDateColumn.visible = IsDate;
EditPartyColumn.visible = IsParty;
Where would this best be done? I am trying the ItemCommand but can't seem to cast the selected item to columns so I can set visibility.
I want to set three other columns visiblility in edit mode to the value of the boolean fields. i.e. ...
EditTextColumn.visible = IsText;
EditDateColumn.visible = IsDate;
EditPartyColumn.visible = IsParty;
Where would this best be done? I am trying the ItemCommand but can't seem to cast the selected item to columns so I can set visibility.