Question

Customertimes
LV
Last activity: 27 Apr 2017 8:34 EDT
How to conditionally allow expand a row in expand pane from repeating grid
I have a repeat grid with master detail "expandable rows" type. Configuration below:
Business requirement is that when status property have one of allowed values, disallow to expand a row. For example, if status = closed (pre-last column), when user clicks an expand icon, nothing happens, or expand icon just disabled / not visible.
How can I accomplish desired behavior? It is possible for collapsible container for dynamic layout (with Expand when), but as I can see, there is no baseclass property like pyExpandable for grid row.
I tried to set pyExpanded on property status change (in action set), but it doesn't work for me, even if I set "Enable displaying details on multiple rows". Also I tried to customize pyPreGridUpdate and pyPostGridUpdate Activity with EDITITEM grid action. Finally, I can't found template for expandpane header, where I could set visibility condition for expand icon.