Tips for standardizing your APEX Interactive Grid configuration and customization (when customization is needed), APEX Interactive Grids give us fewer declarative configuration options than Interactive Reports. One can customize via JavaScript APIs, but this could lead to many different grids. This session promotes localizing JS configuration code to a common shared JS file to achieve uniform grid configuration across an app or an enterprise.
10. TH TechnologyTH Technology
Why Standardize?
• Write Once, Reuse Where
Needed
• Uniform Grid Configuration
• Not Everyone Has to be a
JavaScript Expert
10/1/2019APEX Grid APIs
11. TH TechnologyTH Technology
How?
• Determine Your Grid
“Standards”
• All JS Into a JS Include File
• Always
• Optional By Class
• Add Classes to Grids As Needed
10/1/2019APEX Grid APIs
12. TH TechnologyTH Technology
Set Your Standards
• Pagination Page/Scroll
• Sequence Number?
• Sticky Footer or No?
• Toolbar Config – Edit
• Toolbar Config – Static
… Determine Your Own
10/1/2019APEX Grid APIs
36. TH TechnologyTH Technology
Adding JS to APEX
Follow the Usual Best Practices:
• Put Bulk of Code in JS Files
• Minify
• Read More in the Introduction to the
JS API doc:
Adding JavaScript to an Application
Express application
https://docs.oracle.com/en/database/oracle/applicationhere!-
express/18.2/aexjs/toc.html
APEX Grid APIs 10/1/2019
43. TH TechnologyTH Technology
Do It Declaratively First
… but Be Careful w
Declarative in Combo w
Customizations
(Don’t Hang Yourself)
10/1/2019APEX Grid APIs