Page 1 of 1
Collapse and expand individual sections in topic
Posted: Tue Apr 21, 2020 5:44 am
by mdslup
Is there a way to collapse and expand individual sections within a topic? I know there is a way to do this for *all* sections at once, but can it be done individually? Additionally, how can I set the default behavior so that all sections begin as collapsed? I want the user to see all collections as collapsed by default, then expand them individually as needed.
Re: Collapse and expand individual sections in topic
Posted: Tue Apr 21, 2020 1:09 pm
by Costin
Hi Mark,
Please provide more details on the 1st request.
As for the additional request, there is the "webhelp.topic.collapsible.elements.initial.state" parameter, that you could use and set it's value to "collapsed". By default, the sections are expanded.
Best Regards,
Costin
Re: Collapse and expand individual sections in topic
Posted: Tue Apr 21, 2020 11:30 pm
by mdslup
I really want to be able to collapse and expand individual sections, instead of all at once. So I want each section to have its own collapse/expand button. Here's a diagram:
https://i.imgur.com/6GgSSNo.jpg
Re: Collapse and expand individual sections in topic
Posted: Wed Apr 22, 2020 2:18 pm
by cosmin_andrei
Hi Mark,
As you can see on our online documentation, there you are able to collapse and expand individual sections:
https://www.oxygenxml.com/doc/versions/ ... -html.html