Alexander Smelyanets (AlexanderS2783)

AlexanderS2783 Member since 2014 9 posts
Posted: April 26, 2017
Last activity: April 27, 2017
Posted: 26 Apr 2017 4:20 EDT
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.

Low-Code App Development User Experience
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.