This content has been marked as final. Show 5 replies
I use the grid layout extensively in my application pages and it works beautifully. In your case, one of the possible reasons I could think of (for the page items not getting aligned in the same row) is the use of different label field templates for the page items - some items with the label aligned above, some with left/right alignment etc.
Moreover, you can use the column span as described in the video:
If the issue is not resolved, it would be helpful if you can create a simple demo in apex.oracle.com
Thanks for the response Rohit!
I have tested this on the 'Sample Database Application' I installed on apex.oracle.com. (Page 7, the 'Add new Customer' form)
I have tried to put the "First Name" and "Last Name" on the same line.
Well, I have seen this earlier in my pages. You are using "Alert Region" as the Region Template. Try with Standard Region template or something else (other than Alert) and it will work for you.1 person found this helpful
I believe I have discovered the cause of the issue you are facing.
The problem is with the "Alert Region" region template and that it does not have any display points specified so indicate the number of grids that can fit in its region body. Without having any display points, the grid layout system attempts to use all columns available to its container. However, because the Alert Region has additional padding within, the columns will not fit and wrap to the next line.
To fix this issue, you will have to modify the "Alert Region" region template, go to "Display Points" and click Add Row. You will need to enter the following fields:
Name: Region Body
Template Substitution: BODY
Grid Support: Checked
Maximum Fixed Grid Columns: -1
This will fix the issue for you. I've logged a bug within our bug system to track this so we can fix it in a future release of APEX.
Thanks Shakeeb, always so helpful.
For now I am happy to change the region template (as per Rohit's suggestion) and work with a different template.