Monday 3 February 2014

APEX 5.0 - New Features - Sub Region - Region Position

One of the first things I checked in APEX 5.0 EA was the region positioning of the sub regions. I was positively surprised to see that I can now position the regions next to each other as well. In earlier versions the only option was underneath. Having this possibility it will be much easier to create complex forms where you need to take care of positioning multiple items in more than one column. At the moment this is doable but somewhat tricky.

5 comments:

Patrick Wolf said...

Hi,

sub region positioning is not a new feature in APEX 5.0, it's already available in 4.2 and I believe also in 4.1.

The possibility to position sub regions is defined by the "Sub Region Template" attributes in the region template of your parent region. If those are empty, we can generate a regular layout grid and developers will be able to specify a usual properties like Start New Row, ...
If you have defined a Sub Region Template, for example to show an accordion, ... you are taking control of the emitted HTML and we can't generate the grid layout anymore.

Hope that explains the behavior
Regards
Patrick

Denes Kubicek said...

Patrick,

Thanks. I just checked and you are correct. Obviously I checked that in templates where the grid layout wasn't possible.

Regards,

Denes

AndrewPaul4Ever said...

Hi Patrick/Denes,

I am beginner in Apex, i Need to create a parent Region and Sub regions inside same as specified in the beginning of post.

Your help is appreciated, Thanks in advance.

Regards
Andrew Paul S

Denes Kubicek said...

Paul,

help regarding what exactly?

Regards,

Denes

Unknown said...

Hi,

Can you please share the steps to position the regions next to each other in APEX 5.0. I created a region and two sub regions but they are not appearing next to each other.
-Regards, Shalabh