Question

2
Replies
3640
Views
AlexanderS2783 Member since 2014 9 posts
IT
Posted: April 26, 2017
Last activity: April 27, 2017
Closed
Solved

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 Interface
Moderation Team has archived post
Share this page LinkedIn