Hi,
In Oracle APEX 20.2, I have 2 parent regions, named Group and Ungroup, that uses type PL/SQL Dynamic Content. In the code, I used APEX's collapsible feature by copying the classes needed. Next, I created 2 buttons on a separate region, called Group and Ungroup, with Dynamic Actions. The Group button will show parent region Group and hide parent region Ungroup, while the Ungroup button will show region Ungroup and hide region Group.
The problem is, when I click Group button, it successfully shows parent region Group and hides parent region Ungroup, but when I click Ungroup button, it successfully hides parent region Group but fails to show parent region Ungroup.
After hours of testing and investigation, I found out that it could be caused by the same APEX collapsible classes I used in my code for the 2 parent regions. It seems the parent region Ungroup, is treated as a child region of parent region Group (even though Ungroup region is already a parent), and that's what's stopping the Ungroup region to be shown when I click Ungroup button.
Is there a way to avoid making Ungroup region be a child of Group region but still being able to the same APEX collapsible classes?
My last resort might be that I will no longer use the APEX classes for the Ungroup region.
Any ideas or suggestions are appreciated!
-Jazz