It was earlier that OA Framework used OATableBean to render tables but
now things have changed and OAAdvancedTableBean extends
OATableBean. The best part of this is that with advancedtable provides declarative support for the functionalities which required programming with simple table.
The magic doesn? ends here, OAAdvancedTableBean also provides declarative support to many of the new features that were not available with OATableBean, just for an example features like column span in a table column header were not available with OATableBean but is now declaratively supported by OAAdvancedTableBean.
Advanced table has many rich features, some of which can be like a table can now have an instruction text and even a tip, also table can have a navigation bar, selection column, add rows button, control bar, recalculate and many more.
Advanced table even allows you to brand the table so that it looks more beautiful once it? displayed. The branding options include:
1. RowBranding
2. ColumnBranding
3. NoBranding
By default ?oBranding?option will be active.
Row Branding: Once you set the branding style in the property palette of advancedTable region and run the page, you will note that the alternative rows of the table are in grey bands of color. Even you have the option to choose the branding interval, by default the branding interval is 1 and hence alternative row is displayed in grey brand color, if you choose 2 as branding interval then the grey band row will appear after every 2 rows.
Column Branding: This is similar to row banding except that now rather that rows the columns of your advanced table will be in the grey band branding style.
No Branding: This is the default branding style that? selected if you don? choose other styles, in this style neither rows nor columns will be branded and all the rows and tables of the advanced table will be displayed as mentioned in Oracle BLAF.
Some more features of advanced table are:
Text: This is the text that will be displayed on the top of the table once the OA Framework page is rendered.
Records Displayed: This property can limit the number of records that can be displayed on the screen once the advanced table is rendered. Be default the number of records displayed is 10.
Width: this is another important property of advancedtable. Here as the name suggests you can enter the width of the table once the table is rendered. You can either enter the width in pixels or in percentage. In order to enter the width of the table in pixel enter 500 or 600 in the property palette. In order to enter the width of the table in percentage enter 70% or 80% in the palette.
Once you enter the width of table to be 100% the navigation links (Next and Previous) will be displayed on top of the table. These links allow you to navigate to the other rows, apart from those being displayed on the OA Framework page currently.
Controller Class: This is an optional property. If you want to perform some runtime action then only you need to create a controller class where you will be handling the events and navigations performed on the advancedTable.
Admin Perosnlization: Set to true if you want the admin to be able to personalize the advancedTable region else false.
User Personalization: Set to true if you want the user to be able to personalize the advancedTable region else false.