Since the first Early Adopter release of APEX 5.1 I have seen a number of questions or complaints about how column widths are handled in Interactive Grid. I think the complaints may be based on misunderstandings of how things work. I hope to explain here everything you need to know about column widths in Interactive Grids. Still, I’m not 100% sure that in implementing Interactive Grid we got it all exactly right. You can let me know in the comments after reading this.
How to pass data into and return data from an APEX dialog is something that comes up from time to time on the APEX forum. I have not seen a comprehensive treatment of this topic so decided to work up an example of the various possibilities.
In the beginning (or soon after) there was Component View. Then in APEX 5.0 we added Page Designer but left Component View around because it had some die hard fans and “just in case”.
Many speculated on what the ultimate fate of Component View would be. Now in 5.1 a new Component View tab has been added to Page Designer and the original Component View is re-dubbed Legacy Component View. Legacy Component view is disabled by default. To enable it go to Account Menu Preferences and set Enable Legacy Component View to Yes. Once you enable it you can find the link to it on the new Component View tab in Page Designer. Most importantly Legacy Component View is deprecated. The Release notes say:
Component View has been designated as a legacy user interface for editing application pages. Oracle recommends developers use Page Designer instead of Legacy Component View. …
So it will likely be removed completely in a future release. Already in 5.1 there are a number of new components like JET Charts and Interactive Grids that can’t be edited with Legacy Component View. Its just too much work to keep both Page Designer and legacy component edit pages up to date and in sync.
The Component View tab provides the familiar page organization of Legacy Component View with the editing efficiency of Page Designer. For people used to Component View we think it is the best of both worlds.
So Component View is dead, long live Component View!
Some may say “Whats the big deal with the new Component View tab? I’ve already moved on and this new tab just gets in my way”. For those people I have a little secret to share (its totally unsupported and it may not work in the future). You can remove the Component View tab from Page Designer by navigating to Page Designer then opening the browser’s console window and typing in the following code:
This is per user and will persist after you log out. To get it back again from Page Designer open the Settings menu and choose Reset Layout and then refresh the page. Refreshing the page is important because just resetting the layout alone won’t bring it back.
Don’t try this with other tabs.
I hope you enjoy this little trick and enjoy APEX 5.1