Forum Stats

  • 3,852,723 Users
  • 2,264,130 Discussions


[APEX 5.0.1] Collapsible Region

SebastianR Member Posts: 44
edited Jan 13, 2016 4:20AM in APEX Discussions

Hi Everyone,

I have a Collapsibel Region which default state is collapsed.

Now I would like to have an dynamic action which switches the state to expanded if some conditions act.

My current solution is above:

Add Class: is-expanded

Remove Class: is-collapsed

Execute JavaScript: $('#a_Collapsible1_content').css('display','block');

The Problem is, that I cant collapse the region now (only after the second click).

Is there a better solution, maybe without jquery?

I wouldnt create two regions with differnent conditions and different state.

Thanks a lot.

This discussion has been closed.