How to control collapsible Sections on button clicks

Hi,

I have a scenario

I have one dashboard contains a collapsible section layout.

In that section layout, I have one button So here I need to control the collapsible section based on a button click.

For Example, If it is in expand mode then If I click on the button then it should be collapsible. 

Your suggestions are valuable.

 

 

Thanks In Advance

Aswini

  Discussion posts and replies are publicly visible