Page 1 of 1
Accordion Collapse/Exapnd Method
Posted: Fri Dec 11, 2015 11:53 am
by alexamores
Grid has an available method to collapse/expand all at once. Is there one for accordion layout?
Re: Accordion Collapse/Exapnd Method
Posted: Fri Dec 11, 2015 2:58 pm
by Scott Klement
Not that I'm aware of... I haven't heard anyone ask for this before.
Re: Accordion Collapse/Exapnd Method
Posted: Mon Dec 14, 2015 10:22 am
by alexamores
Thank you Scott for the reply. Would it be possible that this feature be included in future release? Would a JS help? Can you please show me how.
Re: Accordion Collapse/Exapnd Method
Posted: Tue Dec 15, 2015 8:54 am
by Scott Klement
Accordion Panel Layouts can have only one section open at a time. It does not have the capability to open multiple sections at once. So, I'm not sure that what you're asking for is possible...
If you just want to expand a single section, there's an 'active section' property that can be bound to a variable, allowing you to control which section is open.
So, I'm not sure what you are looking for... I think you want a whole different type of accordion, one where you can have multiple sections open at once, right?
I don't understand what you are offering when you say 'Would a JS help?" Are you asking me to teach you the JavaScript programming language?
Re: Accordion Collapse/Exapnd Method
Posted: Wed Dec 16, 2015 4:40 pm
by alexamores
Thank you for the reply. I saw that property where we can control which section to open.
What we are looking for is actually a property where we can tie to a button or link that will collapse all open sections or open all collapse sections at once.
I am sorry to ask for too much for JS. I just thought that you may have something on top of your mind that can give the experience above by using JS.
Re: Accordion Collapse/Exapnd Method
Posted: Wed Dec 16, 2015 10:36 pm
by Scott Klement
Hopefully the answer to that is now clear to you? An accordion panel is not capable of what you're trying to do.