Question related to collapse/expand feature of section

Hello,

I have a question related to collapse/expand feature of section. I have one report which contains below things on initial page:
1) Three Charts
2) Four Grids
3) Refresh Button and Edit Filter Button

All are in SectionLyout.

I have configured refresh button, so every time I don't have to go to Edit Filter button and from there again come back to initial page to load new data. Now my main purpose is to see one of the grid expanded all the time and all other grids and charts collapsed and through out the day by using Refresh Button, I can see updated data into that grid only.

Currently, when all other grids and charts are collapsed (excerpt one which I need to be open all the time) and when I click on Refresh button for first time, all charts are expanded automatically, on next click on Refresh button, all are collapsed once again and so on..

'iscollapsible' is true for all sections, I haven't used 'isInitiallyCollapsed' option so far. Please...

OriginalPostID-185577

OriginalPostID-185577

  Discussion posts and replies are publicly visible

Parents
  • Using "isInitiallyCollapsed" will collapse all grids when you first load the page, but I believe it will not collapse them again when you hit the "refresh" button. If you want the refresh button to also collapse all sections then you may have to manually build the "isCollapsible" functionality. You can use a button or a dynamic link with the label "collapse" and "expand" as necessary, and then use an if statement to show or hide the contents of the section depending on the value of the button/link. That way you can reset those values during a refresh and hide the sections that should be collapsed by default.
Reply
  • Using "isInitiallyCollapsed" will collapse all grids when you first load the page, but I believe it will not collapse them again when you hit the "refresh" button. If you want the refresh button to also collapse all sections then you may have to manually build the "isCollapsible" functionality. You can use a button or a dynamic link with the label "collapse" and "expand" as necessary, and then use an if statement to show or hide the contents of the section depending on the value of the button/link. That way you can reset those values during a refresh and hide the sections that should be collapsed by default.
Children
No Data