-
Book Overview & Buying
-
Table Of Contents
Oracle APEX Cookbook : Second Edition
When you create a form or a report, most of the time this is done with the help of a wizard. It is very easy for the most common things, but if you want a different width of a text item, other than the default width, you have to do this afterwards. When you have a lot of items on your screen this could be very cumbersome. In this recipe, we will show you how to set the default width of columns with the APEX_UI_DEFAULT_UPDATE.UPD_ITEM_DISPLAY_WIDTH procedure. We will set the default width of column EVENT in table APP_EVENTS to 200.
Before you can use this function, the table needs to be included in the APEX dictionary. The view APEX_UI_DEFAULTS_COLUMNS holds the columns and their default width. You can add your table to this dictionary view by doing the following:
In APEX, go to SQL workshop.
Click on Utilities.
Click on User interface defaults.
Click on the Manage table dictionary button.
Click on the Synchronize button on...
Change the font size
Change margin width
Change background colour