Hi Folks,
How can I have expand-all and collapse-all feature as a button/link in my interface which is having multiple section layout. I know we have is collapsible and isinitiallycollpased parameters which are present. But that works only on page load. How can I make it dynamic which is work on clicking of a button or link?
Regards,
Ghanashyam
Discussion posts and replies are publicly visible
Hi Ghanashyam, you can use richtextdisplayfield where you can use icons like chevron-up and down and configure dynamic link into it and then use a Boolean local variable into link's saveInto parameter and then add a condition in your interface to show rest of the section layout based on that local variable value.
This is one of my "feature request backlog" items - the ability to control the collapsed-state of collapsible components (sections, boxes, etc) from external controls (like just adding a parameter called "isCollapsed" which can be set to a variable which, when changed, causes the component to follow that behavior. or something).
Unfortunately it's not currently possible without using some workarounds that basically involve building your own "fake" component to replace the OOB component (similar to what Gopalk already described).
Thanks Mike. I agree with the solution to give a show when condition for the contents inside Section layout ; but that's unable to make the expand and collapse icon dynamic which is beside the label of the section layout. Any idea when this feature set will be ready ?
Thanks Gopalk. I agree with the solution to give a show when condition for the contents inside Section layout ; but that's unable to make the expand and collapse icon dynamic which is beside the label of the section layout.
There are no plans that I'm aware of to actually implement this - you'd need to reach out to Appian and request the funcitonality and/or see whether it's on their roadmap, though FYI this is usually a very slow process.