TH Technology
APEX
Interactive
Grids:
Standardize
for Sanity
Karen Cannell
kcannell@thtechnology.com
TH Technology
@thtechnology
TH Technology
About Me …
• TH Technology – Oracle Consulting Services, APEX Focus
• Mechanical/SW Engineer - Analyzed, designed, developed,
converted, upgraded, enhanced legacy & Oracle database applications
for 30+ Years
• Web/APEX applications for Govt, Medical, Engineering, Fisheries
since HTMLDB
• ODTUG Vice President, Editor Emeritus, Technical Journal
• APress Author
• Oracle ACE Director
APEX Grids: Standardize 6/17/2020 2
TH Technology
#StaySafe
#FlattenTheCurve
#StayVigilant
6/17/2020 3APEX Interactive Grids: Standardize
TH Technology
About You …
• APEX Experience?
• APEX Versions?
• Grid Experience?
• JavaScript Experts?
• <1 to Many Yrs
• 5.1 and Higher
• Fair to Middlin’
• Not Exactly
6/17/2020 4APEX Grids: Standardize
TH Technology
STANDARDIZE
Your
Interactive Grids
Why ~ How ~ Best Practices
6/17/2020APEX Grids: Standardize 5
TH Technology
Interactive Grid == Better Sandbox
6/17/2020APEX Grids: Standardize 6
TH Technology
Out of the Sandbox
6/17/2020APEX Grids: Standardize 7
TH Technology
6/17/2020APEX Grids: Standardize 8
TH Technology
Direction
Interactive Report
Tabular Form
Interactive Grid
6/17/2020APEX Grids: Standardize
Now
Future
9
TH Technology
Interactive Grid
(Interactive Report or Tabular Form)
+ <All the Features You Ever Wanted>
(Thank You APEX Team!)
-----------------------------------------
Interactive Grid
6/17/2020APEX Grids: Standardize 10
TH Technology
IGrid Architecture
Interactive Grid – Under the Hood
J Snyders
http://hardlikesoftware.com/weblog/2016/06/
08/interactive-grid-under-the-hood/
6/17/2020APEX Grids: Standardize 11
TH Technology
Interactive Grid Customization
Leaves
LOW CODE
Behind …
So … Standardize
6/17/2020APEX Grids: Standardize 12
TH Technology
Settings and Configurations
• Do It Declaratively First
6/17/2020APEX Grids: Standardize
LOW CODE
13
TH Technology
Lots of Declarative Settings
6/17/2020 14APEX Grids: Standardize
TH Technology
Not All is Declarative …
• Turn Column Header Off
• Add/Remove Toolbar Buttons /Actions
• Add/Remove Action Menu Options
6/17/2020 15APEX Grids: Standardize
TH Technology
Not All is Declarative …
• Turn Column Header Off
• Code in Column Advanced → JavaScript
• Add/Remove Toolbar Buttons /Actions
• Code in Grid Advanced → JavaScript
• Add/Remove Action Menu Options
• Code in Page Advanced → JavaScript
6/17/2020 16APEX Grids: Standardize
TH Technology
Most Grids are a Combination
• Declarative
• Customizations
6/17/2020 17APEX Grids: Standardize
TH Technology
Grid Configuration Examples
• We can customize Grids to look like
these …
6/17/2020 18APEX Grids: Standardize
TH Technology
Grid Customization Examples
• We can customize Grid columns to
behave like these …
6/17/2020 19APEX Grids: Standardize
TH Technology
Consider …
• 5 Developers ➔ 5 Different Grids
• 5 Developers, Same App
➔ 5 Different Grids
COMMUNICATE
SHARE
6/17/2020 20APEX Grids: Standardize
TH Technology
Consider …
• 1 Developer, 5 Days
➔ 5 Different Grids
• 1 Developer, 5 Apps
➔ 5 Different Grids
STANDARDS …
SLEEP or COFFEE or SANITY
6/17/2020 21APEX Grids: Standardize
TH Technology
Mixed Up Application Examples
• Different Grid Appearance
• Different Grid Functions
• Different Column Names, Order, Size
• Different Pagination,
• Different Edit Modes, Validations,
Messages
6/17/2020 22APEX Grids: Standardize
TH Technology
6/17/2020APEX Grids: Standardize 23
TH Technology
Why Standardize Your Grids?
• User Experience
• User Sanity (Your Reputation)
• Developer Development and
Maintenance
• Developer Sanity
6/17/2020 24APEX Grids: Standardize @thtechnology
TH Technology
Standardize: User Experience
• Column Names, Types, Order, Size
• Toolbar Configuration
• Button Names, Placement, Actions
• “Add Row” vs “Add Employee”
• Text vs Icons vs Both
• Pagination, # Rows Displayed, Shading
6/17/2020 25APEX Grids: Standardize @thtechnology
TH Technology
Standardize: Developer Experience
• No Guessing
• No Reinventing the Wheel
• Directions
• Common Code Base, Settings
• Use Your JavaScript Experts
6/17/2020 26APEX Grids: Standardize
TH Technology
Standardize
1. Have Standards
2. Use Your Standards
3. Share Configuration Settings, Code
4. Really Use Your Standards
6/17/2020 27APEX Grids: Standardize
TH Technology
Grid Standards
• Features
• Buttons, Pagination, Actions, Shortcuts
• Views: Chart, GB, Icon, Detail
• Template
• Column
• Name, Format, Alignment, Order
6/17/2020 28APEX Grids: Standardize
TH Technology
How to Standardize Grids
• Cheat Sheet of Grid Settings, Config
• Build One and Copy/Duplicate
• Build a Plugin
• Use a Plugin*
• Use a Common Configuration File
6/17/2020 29APEX Grids: Standardize
TH TechnologyTH Technology
Let’s Take A Look …
6/17/2020 30APEX Grids: Standardize @thtechnology
TH Technology
Do It Declaratively First
… but Be Careful w
Declarative in Combo w
Customizations
(Don’t Hang Yourself)
6/17/2020APEX Grids: Standardize @thtechnology 31
TH Technology
• Example of Declaratively Turning Off
Edit, Save button
• Custom Code to Limit Buttons
6/17/2020APEX Grids: Standardize 32
TH Technology
• Example of Column Heading Settings
• Custom Code for 3 types of settings, mix
of declarative and code
• Freeze vs noHeaderActivate and Sort
• noReorder
6/17/2020APEX Grids: Standardize 33
TH Technology
APEX
Interactive
Grid:
Standardize
JavaScript
APIs
6/17/2020
APEX Grids: Standardize 34
TH Technology
Documented APIs
• APEX 18.1+
• Documented == Supported
https://apex.oracle.com/api
#39 JavaScript APIs
6/17/2020APEX Grids: Standardize 35
TH Technology
interactiveGrid - Customizations
6/17/2020APEX Grids: Standardize 36
TH Technology
interactiveGrid -- Save
6/17/2020APEX Grids: Standardize 37
TH Technology
model When Accessing Data
6/17/2020APEX Grids: Standardize 38
TH Technology
Access the Model …
6/17/2020APEX Grids: Standardize 39
TH Technology
apex.item in Dyn Action Validations
6/17/2020APEX Grids: Standardize 40
TH Technology
APEX
Interactive
Grid:
Standardize
Customizations
for Menus, Toolbars and
More
6/17/2020
APEX Grids: Standardize 41
TH Technology
Customizations
• Advanced → JavaScript Code
• Grid → Grid Menus
• Column → Column Menu
(Most of the Time…)
• Read Documented APIs to Learn What is Possible
• Read Hardlikesoftware.com
• Study IG Cookbook App
No Longer PL/SQL Collections ~
Now JavaScript
6/17/2020APEX Grids: Standardize 42
TH Technology
6/17/2020APEX Grids: Standardize 43
TH Technology
Customization Examples
• Change Toolbar
• Change Column Heading Menu
• Change RowAction Menu
• Change Toolbar Actions Menu
• Standardize w “Global” Settings
6/17/2020APEX Grids: Standardize 44
TH Technology
There’s A Plugin for That …
• Extend IG Toolbar
M. Goricki
https://apex.oracle.com/pls/apex/f?p=apex
byg:extendigtoolbar
https://github.com/mgoricki/apex-
plugin-extend-ig-toolbar
6/17/2020APEX Grids: Standardize 45
TH Technology
• Using This Plugin Does NOT
Standardize !
• Just Makes It Easier (Less Code) to
Customize …
6/17/2020 46APEX Grids: Standardize
TH Technology
Change Toolbar
6/17/2020APEX Grids: Standardize 47
TH Technology
Change Toolbar
6/17/2020APEX Grids: Standardize
Goes in Grid
Advanced →
JavaScript
48
TH Technology
Combine Stuff
6/17/2020APEX Grids: Standardize 49
TH Technology
Change Toolbar
6/17/2020APEX Grids: Standardize 50
TH Technology
Replace Toolbar Code
6/17/2020APEX Grids: Standardize 51
TH Technology
Change Column Heading Menu
6/17/2020APEX Grids: Standardize 52
TH Technology
Change Column Heading Menu
6/17/2020APEX Grids: Standardize
Goes in Column
Advanced →
JavaScript
OLD WAY …!
53
TH Technology
Change Column Heading Menu
• Wait! Now Declarative … Mostly
6/17/2020APEX Grids: Standardize 54
TH Technology
Change Column Heading Menu
6/17/2020APEX Grids: Standardize 55
TH Technology
Change Column Heading Menu
6/17/2020APEX Grids: Standardize
Goes in Column
Advanced →
JavaScript
56
TH Technology
Change RowAction Menu
6/17/2020APEX Grids: Standardize 57
TH Technology
Change RowAction Menu
6/17/2020APEX Grids: Standardize
Goes in Page
JavaScript
58
TH Technology
Change Toolbar Actions Menu
6/17/2020APEX Grids: Standardize 59
TH Technology
Change Toolbar Actions Menu
6/17/2020APEX Grids: Standardize
Goes in Grid
Advanced →
JavaScript
60
TH Technology
APEX
Interactive
Grid:
Standardize
Customizations Across
Applications
6/17/2020
APEX Grids: Standardize @thtechnology 61
TH Technology
Standardize via “Global” Settings
• JS Function in JS File
• Include File
• Reference JS Function in Advanced
→ JavaScript Code
• Add Classes on Grids
6/17/2020APEX Grids: Standardize 62
TH Technology
APEX Grids: Standardize 6/17/2020 63
TH Technology
6/17/2020APEX Grids: Standardize 64
TH Technology
6/17/2020APEX Grids: Standardize 65
TH Technology
Global Settings
• Add JS Function in Advanced→
JavaScript Initialization Code of the
Grid
• Add classes to the CSS Classes of the
Grid
APEX Grids: Standardize 6/17/2020 66
TH Technology
6/17/2020APEX Grids: Standardize 67
TH Technology
If There Is A Mistake ….
APEX Grids: Standardize 6/17/2020 68
TH Technology
Best Practices
Recommendations for Adding
JavaScript to APEX
Applications
6/17/2020
APEX Grids: Standardize 69
APEX
Interactive
Grids:
Standardize
TH 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/application-
express/19.1/aexjs/index.html
6/17/2020APEX Grids: Standardize 70
TH Technology
6/17/2020APEX Grids: Standardize 71
TH Technology
APEX
Interactive
Grids:
Standardize
Wrapup
6/17/2020
APEX Grids: Standardize 72
TH Technology
Standardize Your Grids
• Have Standards
• Apply Common Settings,
Configurations
• Use Copy/Duplicate and/or Plugins
• Use a Standard Global Configuration
File, Function and Classes
6/17/2020 73APEX Grids: Standardize
TH Technology
Stay Sane,
Keep Your Users Happy …
6/17/2020 74APEX Grids: Standardize
TH Technology
6/17/2020APEX Grids: Standardize 75
TH Technology
6/17/2020APEX Grids: Standardize 76
TH Technology
Challenge
• Sample Interactive Grid App
• IG Cookbook
http://www.hardlikesoftware.com
• Read the APIs (coffee!!)
• Read the JS Widget Code
<apex_install_dir>/images/libraries/apex
PLAY
6/17/2020APEX Grids: Standardize
Homework
77
TH Technology
Questions?
Thank You
Email for Demo App, Slides
Karen Cannell
kcannell@thtechnology.com
@thtechnology
TH Technology
Resources
• APEX JavaScript Reference
https://docs.oracle.com/en/database/oracle/application-express/19.1/aexjs/index.html
• Sample Interactive Grids
APEX 19.1+ Sample Application, Editing section
• Interactive Grid Cookbook, 19.1
http://hardlikesoftware.com/weblog/2019/03/30/apex-ig-cookbook-update-for-19-1/
• Architecture: Interactive Grids Under the Hood
http://hardlikesoftware.com/weblog/2016/06/08/interactive-grid-under-the-hood/
• More on Grids: How to Hack Interactive Grids, Parts I thru IV
http://hardlikesoftware.com/weblog/2017/01/18/how-to-hack-apex-interactive-grid-part-1/
6/17/2020APEX Grids: Standardize 79
TH Technology
Resources, cont’d
• APEX Client-Side Validation
http://hardlikesoftware.com/weblog/2017/05/10/apex-client-side-
validation/#more-615
• Interactive Grid Extend Toolbar Plugin
https://github.com/mgoricki/apex-plugin-extend-ig-toolbar
Shortcut to APEX JavaScript APIs:
apex.oracle.com/api
#39 JavaScript APIs
follow the link
6/17/2020APEX Grids: Standardize 80
TH Technology
Where to Put JS Files
• https://www.talkapex.com/2017/01
/how-to-reference-javsscript-and-css-
files-for-entire-application/js-
storage.gif
6/17/2020APEX Grids: Standardize 81

More Related Content

PDF
APEX Interactive Grids: Standardize for Sanity
PDF
APEX JET Charts: Data Viz now!
PDF
Validate Your Validations: Both Sides Now
PDF
Oracle APEX Interactive Grid Essentials
PDF
Boston APEX Meetup ~ Standardize Your Grids
PDF
Oracle Low Code Lowdown: APEX vs VBCS
PDF
UTOUG Training Days 2019 APEX Interactive Grids: API Essentials, the Stuff Yo...
PPTX
Low Code Lowdown: APEX vs Visual Builder: Which is For You?
APEX Interactive Grids: Standardize for Sanity
APEX JET Charts: Data Viz now!
Validate Your Validations: Both Sides Now
Oracle APEX Interactive Grid Essentials
Boston APEX Meetup ~ Standardize Your Grids
Oracle Low Code Lowdown: APEX vs VBCS
UTOUG Training Days 2019 APEX Interactive Grids: API Essentials, the Stuff Yo...
Low Code Lowdown: APEX vs Visual Builder: Which is For You?

What's hot (19)

PDF
APEX Interactive Grid API Essentials: The Stuff You Will Really Use
PDF
APEX 18 Interactive Grids: And Them Some, Part 2
PDF
UTOUG Training Days 2019 Voyage to Visual Builder Cloud Service
PDF
RMOUG Training Days 2019 Analytic Views for Mortals: Worth A Look?
PDF
APEX Interactive Grids: Essentials and Then Some, Part 1
PDF
East Coast Oracle 2018 APEX Charts - Data Viz Now
PDF
APEX 5.1 Interactive Grid: What it Means for You and Your Users
PDF
APEX 5 IR Guts and Performance
PDF
Migrate BI to APEX 5
PDF
APEX 5 Interactive Reports: Deep Dive and Upgrade Advice
PDF
Oracle APEX Cheat Sheet
PDF
Advanced Reporting And Charting With Oracle Application Express 4.0
PDF
Oracle APEX, Oracle Autonomous Database, Always Free Oracle Cloud Services
PDF
APEX Alpe Adria Mike Hichwa Keynote April 11th 2019- Zagreb
PDF
Creating custom reports ora app express apex listener
PPTX
PPTX
VizEx Edit 11.0 New features
PDF
Scalable Automatic Machine Learning in H2O
PDF
GraphQL Munich Meetup #1 - How We Use GraphQL At Commercetools
APEX Interactive Grid API Essentials: The Stuff You Will Really Use
APEX 18 Interactive Grids: And Them Some, Part 2
UTOUG Training Days 2019 Voyage to Visual Builder Cloud Service
RMOUG Training Days 2019 Analytic Views for Mortals: Worth A Look?
APEX Interactive Grids: Essentials and Then Some, Part 1
East Coast Oracle 2018 APEX Charts - Data Viz Now
APEX 5.1 Interactive Grid: What it Means for You and Your Users
APEX 5 IR Guts and Performance
Migrate BI to APEX 5
APEX 5 Interactive Reports: Deep Dive and Upgrade Advice
Oracle APEX Cheat Sheet
Advanced Reporting And Charting With Oracle Application Express 4.0
Oracle APEX, Oracle Autonomous Database, Always Free Oracle Cloud Services
APEX Alpe Adria Mike Hichwa Keynote April 11th 2019- Zagreb
Creating custom reports ora app express apex listener
VizEx Edit 11.0 New features
Scalable Automatic Machine Learning in H2O
GraphQL Munich Meetup #1 - How We Use GraphQL At Commercetools
Ad

Similar to APEX Grids: Standardize for Productivity and Sanity (20)

PDF
Utah Geek Events Big Mountain Data Mastering Oracle Interactive Grids
PDF
ACM TechTalks : Apache Arrow and the Future of Data Frames
PDF
ODSA - PoC Requirements and Use Cases
PDF
PoC Requirements and Use Cases
PDF
How to be a Network Engineer in a Programmable Age
PDF
OpenTSDB for monitoring @ Criteo
PDF
PlantPAx DCS Rockwell Automation Network
PDF
ER/Studio and DB PowerStudio Launch Webinar: Big Data, Big Models, Big News!
PDF
A BASILar Approach for Building Web APIs on top of SPARQL Endpoints
PDF
Tutorial Expert How-To - Command Line Interface (CLI)
PPTX
Old code doesn't stink
PDF
High-Level Synthesis for the Design of AI Chips
PPTX
PostgreSQL as a Strategic Tool
 
PDF
EDB & ELOS Technologies - Break Free from Oracle
 
PDF
Design Choices for Cloud Data Platforms
PDF
Afterwork big data et data viz - du lac à votre écran
PDF
ITCamp 2018 - Damian Widera - SQL Server 2016. Meet the Row Level Security. P...
PDF
Bridging the Gap Between Data Scientists and Software Engineers – Deploying L...
PDF
Scaling face recognition with big data - Bogdan Bocse
PPSX
Elastic-Engineering
Utah Geek Events Big Mountain Data Mastering Oracle Interactive Grids
ACM TechTalks : Apache Arrow and the Future of Data Frames
ODSA - PoC Requirements and Use Cases
PoC Requirements and Use Cases
How to be a Network Engineer in a Programmable Age
OpenTSDB for monitoring @ Criteo
PlantPAx DCS Rockwell Automation Network
ER/Studio and DB PowerStudio Launch Webinar: Big Data, Big Models, Big News!
A BASILar Approach for Building Web APIs on top of SPARQL Endpoints
Tutorial Expert How-To - Command Line Interface (CLI)
Old code doesn't stink
High-Level Synthesis for the Design of AI Chips
PostgreSQL as a Strategic Tool
 
EDB & ELOS Technologies - Break Free from Oracle
 
Design Choices for Cloud Data Platforms
Afterwork big data et data viz - du lac à votre écran
ITCamp 2018 - Damian Widera - SQL Server 2016. Meet the Row Level Security. P...
Bridging the Gap Between Data Scientists and Software Engineers – Deploying L...
Scaling face recognition with big data - Bogdan Bocse
Elastic-Engineering
Ad

More from Karen Cannell (10)

PDF
Mentors and Mentoring: Steps to Take When You are Stuck
PDF
RMOUG Training Days 2019 Oracle JET Charts in APEX: Data Viz Now!
PDF
Utah Geek Events Big Mountain Data: Oracle Analytic Views: Worth It?
PDF
Going to the Grid: Tabular Form Edition (Oracle APEX Editable Interactive Grids)
PDF
How to Load Data, Revisited, UTOUG
PDF
How to Load Data, Revisited
PDF
APEX 5 IR: Guts & Performance
PPTX
APEX 5 Interactive Reports: Guts and PErformance
PDF
Migrate BI to APEX 5: Are We There Yet?
PDF
RTF Primer: Building and RTF Document
Mentors and Mentoring: Steps to Take When You are Stuck
RMOUG Training Days 2019 Oracle JET Charts in APEX: Data Viz Now!
Utah Geek Events Big Mountain Data: Oracle Analytic Views: Worth It?
Going to the Grid: Tabular Form Edition (Oracle APEX Editable Interactive Grids)
How to Load Data, Revisited, UTOUG
How to Load Data, Revisited
APEX 5 IR: Guts & Performance
APEX 5 Interactive Reports: Guts and PErformance
Migrate BI to APEX 5: Are We There Yet?
RTF Primer: Building and RTF Document

Recently uploaded (20)

PDF
Convolutional neural network based encoder-decoder for efficient real-time ob...
PDF
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
PDF
OpenACC and Open Hackathons Monthly Highlights July 2025
PPTX
Chapter 5: Probability Theory and Statistics
PPTX
Benefits of Physical activity for teenagers.pptx
PDF
Produktkatalog für HOBO Datenlogger, Wetterstationen, Sensoren, Software und ...
PDF
Credit Without Borders: AI and Financial Inclusion in Bangladesh
PDF
Zenith AI: Advanced Artificial Intelligence
PDF
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
PPT
Galois Field Theory of Risk: A Perspective, Protocol, and Mathematical Backgr...
PDF
sbt 2.0: go big (Scala Days 2025 edition)
PPT
What is a Computer? Input Devices /output devices
PDF
1 - Historical Antecedents, Social Consideration.pdf
PDF
Developing a website for English-speaking practice to English as a foreign la...
PDF
Enhancing emotion recognition model for a student engagement use case through...
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
A review of recent deep learning applications in wood surface defect identifi...
PPT
Module 1.ppt Iot fundamentals and Architecture
PDF
The influence of sentiment analysis in enhancing early warning system model f...
PDF
Two-dimensional Klein-Gordon and Sine-Gordon numerical solutions based on dee...
Convolutional neural network based encoder-decoder for efficient real-time ob...
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
OpenACC and Open Hackathons Monthly Highlights July 2025
Chapter 5: Probability Theory and Statistics
Benefits of Physical activity for teenagers.pptx
Produktkatalog für HOBO Datenlogger, Wetterstationen, Sensoren, Software und ...
Credit Without Borders: AI and Financial Inclusion in Bangladesh
Zenith AI: Advanced Artificial Intelligence
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
Galois Field Theory of Risk: A Perspective, Protocol, and Mathematical Backgr...
sbt 2.0: go big (Scala Days 2025 edition)
What is a Computer? Input Devices /output devices
1 - Historical Antecedents, Social Consideration.pdf
Developing a website for English-speaking practice to English as a foreign la...
Enhancing emotion recognition model for a student engagement use case through...
A comparative study of natural language inference in Swahili using monolingua...
A review of recent deep learning applications in wood surface defect identifi...
Module 1.ppt Iot fundamentals and Architecture
The influence of sentiment analysis in enhancing early warning system model f...
Two-dimensional Klein-Gordon and Sine-Gordon numerical solutions based on dee...

APEX Grids: Standardize for Productivity and Sanity