Collapse/expand container

tejumes
Kilo Guru

I have a record producer has 6 container . I'm able to collapse all the container when catalog onLoad with the below script.

Catalog Client script

OnLoad

setCollapseAllIcons('collapse', '');

expandCollapseAllSets(false);

BUT user wants to expand the first container alone when the catalog onLoad other container needs to be collapse.

I tried with togglevariablecontainer() and toggleSectionDisplay('sys_id'); NOT working.

Any help??

1 ACCEPTED SOLUTION

Kalaiarasan Pus
Giga Sage

expandCollapseAllSets(false);


toggleVariableSet('3c9975a10f3ed200781ccf8ce1050e05'); //replace with the sys id of the first container variable.


View solution in original post

14 REPLIES 14

tejumes
Kilo Guru

Any Idea on this?


tejumes
Kilo Guru

Any help on this?


Kalaiarasan Pus
Giga Sage

expandCollapseAllSets(false);


toggleVariableSet('3c9975a10f3ed200781ccf8ce1050e05'); //replace with the sys id of the first container variable.


Great to see the result ..Awesome Kalai. Struggling for some days.


Worked like a treat:)