TH Technology
Mastering
APEX
Interactive
Grids
Karen Cannell
kcannell@thtechnology.com
TH Technology
TH TechnologyTH Technology
Master Interactive Grids
• Review the Essentials
• Learn Interactive Grid New and
Lesser-Known Features
Alt Edit Options ~ Alt Views ~ Charts ~ 18.1 New Features ~
Key APIs ~ Customizations
• Questions
Thanks to our Sponsors!
Partners
Premier
Logo:
TH TechnologyTH Technology
About Me …
• TH Technology – Oracle Consulting Services, APEX Focus
• Mechanical/SW Engineer - Analyzed, designed,
developed, converted, upgraded, enhanced legacy &
database applications for 30+ years
• Building Web/APEX applications for government, medical,
engineering industries since HTMLDB beginnings
• Leveraging Oracle 10g,11g,12c,18 suite of tools
• Editor Emeritus, ODTUG Technical Journal
• Oracle Ace
• APress Author
• ODTUG Director
TH Technology
TH TechnologyTH Technology
About You …
• Oracle Technology ?
• Years w APEX ?
• APEX Versions ?
• Interactive Reports and Tabular Forms ?
• Customizations ?
Biggest Gripes?
TH TechnologyTH Technology
Agenda – Master Interactive Grids
• Review the Essentials
• Learn Interactive Grid New Feature
and Extras
Alt Edit Options ~ Alt Views ~ Charts ~ 18.1 New Features ~ Key APIs ~
Customizations
• Questions
TH TechnologyTH Technology
In the Sandbox …
TH TechnologyTH Technology
Out of the Sandbox
TH TechnologyTH Technology
Interactive Grid == Better Sandbox
TH Technology
Interactive
Grid:
to BuildEssentials
Background
Build/Upgrade
Features Oddities
TH TechnologyTH Technology
Interactive Grid
(Interactive Report or Tabular Form)
+ <All the Features You Ever Wanted>
(Thank You APEX Team!)
-----------------------------------------
Interactive Grid
TH TechnologyTH Technology
Direction
Interactive Report
Tabular Form
Interactive Grid
Now
Future
TH Technology
Interactive
Grid:
to Build
Quick Demo
TH TechnologyTH Technology
IGrid Architecture
Interactive Grid – Under the Hood
J Snyders
http://hardlikesoftware.com/weblog/201
6/06/08/interactive-grid-under-the-hood/
TH Technology
Interactive Report
• Generates HTML on
Server, part of Page
• Data Returned w UI
Markup
• One Big JS Module
Interactive Grid
• HTML Renders on
Client
• Data/Edits from
Server via JSON
• Collection of
Widgets
TH Technology
Interactive Report
• Collections
(pre 5.0)
• Browser Decides
Column Width
table-layout: auto;
Interactive Grid
• Model
• Each Column is an
“Item”
• Fixed Table
Layout
TH TechnologyTH Technology
Interactive Grid
• Add image here – looks pretty
much the same
TH TechnologyTH Technology
Editable Interactive Grid
TH TechnologyTH Technology
Editable
TH TechnologyTH Technology
What Is Editable
Columns
• Query Only
Rows
• Allowed Row Operations
• Set Column to Control Which Rows
Are Editable
• ‘U’ or ‘UD’ or NULL
TH TechnologyTH Technology
Who Can Edit (Authorizations)
TH TechnologyTH Technology
If Editable, Must
• Set a PK
• Set Reload on Submit
→ Only On Success
TH TechnologyTH Technology
TH TechnologyTH Technology
Edit: Set One Column as a Primary Key
TH TechnologyTH Technology
TH TechnologyTH Technology
Edit: Page Reload on Submit
TH Technology
Interactive
Grid:
to BuildIcon and Detail
Views
TH TechnologyTH Technology
Icon View
• Show → Yes
• Include Icon in Query
TH TechnologyTH Technology
Detail View
• Detail Show -> Yes
• Complete Before Row, Row and
After Row CSS
TH TechnologyTH Technology
Extreme Detail View
TH TechnologyTH Technology
TH Technology
Interactive
Grid:
to BuildAlternate
Save Options
Region Source
Table or View
PL/SQL Code
TH TechnologyTH Technology
Save Interactive Grid DataAlternate Processing Options
TH TechnologyTH Technology
TH TechnologyTH Technology
Region Source
TH TechnologyTH Technology
Table/View
• Can Be a DIFFERENT Table or
View w INSTEAD OF Triggers
• Ex: Display a View
• Save Using a Table
• Be Sure to Set Non-Updateable Cols
Query Only Yes
TH TechnologyTH Technology
PL/SQL Code
• Any PL/SQL Process
• Called For Each Submitted Row
• Cols are :BIND_VARIABLES
TH TechnologyTH Technology
Custom PL/SQL Process
• Beyond C U D
• PL/SQL Process –Copy Data to APEX
Collection
• Called For Each Submitted Row
• Cols are :BIND_VARIABLES
• Custom DML – Whatever Needed –
via the APEX Collection
TH TechnologyTH Technology
Custom PL/SQL
• Image of the example process
TH Technology
Upgrading
to Grid:
to Build
IR to Grid,
Tabular Form
to Grid
TH TechnologyTH Technology
Upgrade Tabular Forms?
• Upgrade Utility
• May Need Rework
• Standard ➔ YES
• Non-Standard
• Maintain vs Rebuild
• Rebuild is Relatively Quick
• Rebuild is Cleaner
HOW
WHEN
TH TechnologyTH Technology
• Converting Tabular Forms to
Grids
• Roger Richardson
• 2:00 – 3:00pm
TH TechnologyTH Technology
What Will Upgrade?
• Keys Off ApplyMRU, ApplyMRD
• Tries!
• Custom Embedded Javascript
• Custom Processes
TH Technology
Interactive
Grid:
to BuildCharts
Declarative Oracle
JET Charts
For End Users
TH TechnologyTH Technology
• Know Your Data
• Know Your Users
• Know What Your Users Do
With The Data
TH TechnologyTH Technology
Data Tells A Story …
TH TechnologyTH Technology
Data Tells A Story …
TH TechnologyTH Technology
Data Tells A Story …
TH TechnologyTH Technology
Data Tells A Story …
TH TechnologyTH Technology
Data Tells A Story …
TH TechnologyTH Technology
Oracle JET
TH TechnologyTH Technology
Oracle JET
• JavaScript Extension Toolkit
• Client-Side Apps
• Open Source + Oracle JS Libraries
• Components
https://www.oracle.com/webfolder/technetwork/jet/index.html
TH TechnologyTH Technology
Oracle JET Charts
TH TechnologyTH Technology
APEX JET Charts
• Subset of JET Charts
• SQL Query – Table – Web Service
• Declarative Attributes
• Adjust Attributes As Needed
TH TechnologyTH Technology
JET Charts in IR and IGrid
• Subset (IR/Grid JET Charts)
of the Subset (APEX JET Charts)
• Developer Must Supply Required Data
in Source
• Train End Users
• Ex: Grid Bubble,
• Ex: No Chart, JS Error
TH TechnologyTH Technology
Interactive Grid Charts
• More Options
• No Declarative Way to Limit
Chart Options
• Train End Users!
TH Technology
Interactive
Grid:
to Build18.1 New
Features
Declarative Oracle JET
Charts
For End Users
TH TechnologyTH Technology
I-Grid 18.1 New Features
• Cell Selection – Toggle Cell/Row
• Copy Down, Copy To Clipboard
• NoStretch
• Dynamic Action Events
TH TechnologyTH Technology
Cell/Row Selection and Copy
TH TechnologyTH Technology
Column Stretch
TH TechnologyTH Technology
Dynamic Action Events
• New Component Events
Specifally for Interactive Grids
TH TechnologyTH Technology
Mode Change
• Edit Mode On/Off
TH TechnologyTH Technology
Page Change
• Pagination
Report Change
• Primary to Alternate to Private
Selection Change
• Cell to Row Selection
TH TechnologyTH Technology
Row Initialization
• Add Row
View Change
• Grid to Chart to Icon to Detail
Save
→ Obvious
TH Technology
Interactive
Grid:
to BuildAPIs
18.1 and 18.2
Documented
JS APIs
TH TechnologyTH Technology
APEX 18.2 JavaScript APIs
https://docs.oracle.com/database/apex-
18.2/AEXJS/index.html
Note: This doc does not yet have the new stuff:
https://docs.oracle.com/database/apex-
18.2/AEAPI/JavaScript-APIs.htm#AEAPI266
TH TechnologyTH Technology
TH TechnologyTH Technology
• Pic of grid API
• Pic of interactiveGrid API
• One common use
TH TechnologyTH Technology
TH TechnologyTH Technology
Accessing the Data (“Model”)
• apex.item – Within Row
• apex.model –Across Rows
TH TechnologyTH Technology
JS: Access Grid, Model, Record…
TH TechnologyTH Technology
Access the Model …
TH Technology
Interactive
Grid:
to Build
Customizations
JS Customizations
for Menus, Toolbars
and More
TH TechnologyTH Technology
Customization Options
• Same For Editable/Non-Editable
• Toolbar
• Action Menu
• Column Heading Menu
• Row Actions Menu
TH TechnologyTH Technology
Customizations
• Advanced → JavaScript Code
• Grid → Grid Menus
• Column → Column Menu
(Most of the Time…)
• Read Widget JS Files to Learn What is Possible
• Read Hardlikesoftware.com
No Longer PL/SQL Collections ~
Now JavaScript
TH TechnologyTH Technology
Grid Plugins
• Extend IG Toolbar
https://apex.oracle.com/pls/apex/f?p=
apexbyg:extendigtoolbar
TH Technology
TH Technology
TH TechnologyTH Technology
So What (Else) Can I Do ?
From the JavaScript console type:
apex.region(“igrid_id").widget().interactiveGrid("option","config")
TH TechnologyTH Technology
…
TH TechnologyTH Technology
Customization Examples
• Change Toolbar
• Change Column Heading Menu
• Change RowAction Menu
• Change Toolbar Actions Menu
• “Global” Settings
TH TechnologyTH Technology
Customized Row Actions, Action
Menu
TH TechnologyTH Technology
Change Toolbar
TH TechnologyTH Technology
Change Toolbar Goes in Grid
Advanced →
JavaScript
TH TechnologyTH Technology
Combine Stuff
TH TechnologyTH Technology
Change Toolbar
TH TechnologyTH Technology
Change Column Heading Menu
TH TechnologyTH Technology
Change Column Heading Menu
Goes in Column
Advanced →
JavaScript
TH TechnologyTH Technology
Change Column Heading Menu
TH TechnologyTH Technology
Change RowAction Menu
TH TechnologyTH Technology
Change RowAction Menu
Goes in Page
JavaScript
TH TechnologyTH Technology
Access the Model …
TH TechnologyTH Technology
Change Toolbar Actions Menu
TH TechnologyTH Technology
Change Toolbar Actions Menu
Goes in Grid
Advanced →
JavaScript
TH TechnologyTH Technology
“Global” Settings
• JS Function in JS File
• Include File
• Reference JS Function in
Advanced → JavaScript Code
• Add Classes on Grids
TH TechnologyTH Technology
• << code example>>
• << Demo app w common
settings >>
TH Technology
TH TechnologyTH Technology
TH TechnologyTH Technology
gReport.search Equivalent
TH Technology
Editable
Grid:
Wrapup
to Build
Pros, Cons,
Discussion
TH Technology
Recap
• Reviewed Essentials
• Icon and Detail Views
• Charts
• 18.1+ New Features
• Dyn Action Grid Events
• Documented APIs
TH TechnologyTH Technology
TH TechnologyTH Technology
Challenge
• Sample Interactive Grid App
• IG Cookbook 18.2 Version
http://www.hardlikesoftware.com
• Read the JS APIs
PLAY
Homework
TH Technology
Comments?
Questions?
Thank You!
Karen Cannell
kcannell@thtechnology.com
@thtechnology
Thanks to our Sponsors!
Partners
Premier
Logo:
TH TechnologyTH Technology
Resources
• Sample Interactive Grids
APEX 5.1 Sample Application, Editing section
• Interactive Grids Under the Hood
http://hardlikesoftware.com/weblog/2016/06/08/interactive-grid-under-the-
hood/
• How to Hack Interactive Grids, Parts I thru IV
http://hardlikesoftware.com/weblog/2017/01/18/how-to-hack-apex-interactive-grid-
part-1/
• APEX: Updating Interactive Grid Cells
https://ruepprich.wordpress.com/2017/03/09/apex-updating-interactive-grid-cells/
• Interactive Grid Cheat Sheet
https://github.com/mgoricki/orclapex-ig-cheat-sheet
TH TechnologyTH 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
• APEX Grid Preventing Lost Updates
http://www.explorer.uk.com/apex-interactive-grid-preventing-lost-
updates-record-locking/
• Editable Grid, PL/SQL Process
https://apex.oracle.com/pls/apex/germancommunities/apexcommunity
/tipp/6361/index-en.html
TH TechnologyTH Technology
Validations (Overview!)
• :COLUMN_NAME References
• Similar to 4.2 Tab Form
• On Submit
• Dynamic Actions
• Column Option
• HTML5 Form Validation
• Required
• Pattern – Min, Max (Numbers)
• In Custom Attributes
TH TechnologyTH Technology
TH Technology
Validation – Dyn Action JS
TH Technology
footer
id
validity
attribute
TH TechnologyTH Technology
ids
validity
attribute
TH Technology
footer
TH TechnologyTH Technology
JS: Access Grid, Model, Record…
TH TechnologyTH Technology
Row Selector
TH TechnologyTH Technology
Working w the Row Selector
• JavaScript
TH TechnologyTH Technology
APEX$ROW_SELECTOR – PL/SQL
• Same as Tab Form:
BEGIN
IF :APEX$ROW_SELECTOR = ‘X’ THEN
-- your processing goes here
DELETE FROM EMP WHERE EMPNO = :ID;
END IF;
END;
TH TechnologyTH Technology
Row Action Menu

More Related Content

PDF
East Coast Oracle 2018 APEX Charts - Data Viz Now
PDF
APEX Interactive Grids: Essentials and Then Some, Part 1
PDF
APEX 18 Interactive Grids: And Them Some, Part 2
PDF
RMOUG Training Days 2019 Oracle JET Charts in APEX: Data Viz Now!
PDF
Going to the Grid: Tabular Form Edition (Oracle APEX Editable Interactive Grids)
PDF
APEX JET Charts: Data Viz now!
PDF
APEX 5.1 Interactive Grid: What it Means for You and Your Users
PDF
RMOUG Training Days 2019 Analytic Views for Mortals: Worth A Look?
East Coast Oracle 2018 APEX Charts - Data Viz Now
APEX Interactive Grids: Essentials and Then Some, Part 1
APEX 18 Interactive Grids: And Them Some, Part 2
RMOUG Training Days 2019 Oracle JET Charts in APEX: Data Viz Now!
Going to the Grid: Tabular Form Edition (Oracle APEX Editable Interactive Grids)
APEX JET Charts: Data Viz now!
APEX 5.1 Interactive Grid: What it Means for You and Your Users
RMOUG Training Days 2019 Analytic Views for Mortals: Worth A Look?

What's hot (9)

PDF
Oracle APEX Interactive Grid Essentials
PDF
UTOUG Training Days 2019 Voyage to Visual Builder Cloud Service
PDF
Oracle APEX Cheat Sheet
PDF
Validate Your Validations: Both Sides Now
PDF
2 ways to get total sum of interactive grid column oracle apex ontoor blogs
PDF
APEX 5 IR Guts and Performance
PPTX
APEX 5 Interactive Reports: Guts and PErformance
PDF
RTF Primer: Building and RTF Document
PDF
Migrate BI to APEX 5
Oracle APEX Interactive Grid Essentials
UTOUG Training Days 2019 Voyage to Visual Builder Cloud Service
Oracle APEX Cheat Sheet
Validate Your Validations: Both Sides Now
2 ways to get total sum of interactive grid column oracle apex ontoor blogs
APEX 5 IR Guts and Performance
APEX 5 Interactive Reports: Guts and PErformance
RTF Primer: Building and RTF Document
Migrate BI to APEX 5
Ad

Similar to Utah Geek Events Big Mountain Data Mastering Oracle Interactive Grids (20)

PDF
APEX 5 IR: Guts & Performance
PDF
Utah Geek Events Big Mountain Data: Oracle Analytic Views: Worth It?
PDF
How to Load Data, Revisited
PDF
APEX Interactive Grids: Standardize for Sanity
PDF
APEX Grids: Standardize for Productivity and Sanity
PDF
Boston APEX Meetup ~ Standardize Your Grids
PDF
How to Load Data, Revisited, UTOUG
PDF
Data Governance - Atlas 7.12.2015
PDF
lec01.pdf
 
PDF
Big data berlin
PDF
RISC-V & SoC Architectural Exploration for AI and ML Accelerators
PDF
AI Assisted Digital System Design Lecture 1
PPTX
Coding Like the Wind - Tips and Tricks for the Microsoft Visual Studio 2012 C...
PPTX
The Download: Tech Talks by the HPCC Systems Community, Episode 11
PDF
AI Assisted Digital System Design Lecture 2
PDF
Demystifying Data Engineering
PDF
Creating a Project Plan for a Data Warehouse Testing Assignment
 
PPT
IT_Tools_in_Research.ppt
PDF
Functional verification techniques EW16 session
PPT
Introduction_Web_Technologies
APEX 5 IR: Guts & Performance
Utah Geek Events Big Mountain Data: Oracle Analytic Views: Worth It?
How to Load Data, Revisited
APEX Interactive Grids: Standardize for Sanity
APEX Grids: Standardize for Productivity and Sanity
Boston APEX Meetup ~ Standardize Your Grids
How to Load Data, Revisited, UTOUG
Data Governance - Atlas 7.12.2015
lec01.pdf
 
Big data berlin
RISC-V & SoC Architectural Exploration for AI and ML Accelerators
AI Assisted Digital System Design Lecture 1
Coding Like the Wind - Tips and Tricks for the Microsoft Visual Studio 2012 C...
The Download: Tech Talks by the HPCC Systems Community, Episode 11
AI Assisted Digital System Design Lecture 2
Demystifying Data Engineering
Creating a Project Plan for a Data Warehouse Testing Assignment
 
IT_Tools_in_Research.ppt
Functional verification techniques EW16 session
Introduction_Web_Technologies
Ad

More from Karen Cannell (7)

PDF
Oracle Low Code Lowdown: APEX vs VBCS
PPTX
Low Code Lowdown: APEX vs Visual Builder: Which is For You?
PDF
APEX Interactive Grid API Essentials: The Stuff You Will Really Use
PDF
Mentors and Mentoring: Steps to Take When You are Stuck
PDF
UTOUG Training Days 2019 APEX Interactive Grids: API Essentials, the Stuff Yo...
PDF
Migrate BI to APEX 5: Are We There Yet?
PDF
APEX 5 Interactive Reports: Deep Dive and Upgrade Advice
Oracle Low Code Lowdown: APEX vs VBCS
Low Code Lowdown: APEX vs Visual Builder: Which is For You?
APEX Interactive Grid API Essentials: The Stuff You Will Really Use
Mentors and Mentoring: Steps to Take When You are Stuck
UTOUG Training Days 2019 APEX Interactive Grids: API Essentials, the Stuff Yo...
Migrate BI to APEX 5: Are We There Yet?
APEX 5 Interactive Reports: Deep Dive and Upgrade Advice

Recently uploaded (20)

PDF
Visual explanation of Dijkstra's Algorithm using Python
PPTX
Cybersecurity: Protecting the Digital World
PPTX
Advanced SystemCare Ultimate Crack + Portable (2025)
PPTX
CNN LeNet5 Architecture: Neural Networks
PDF
The Dynamic Duo Transforming Financial Accounting Systems Through Modern Expe...
PPTX
Weekly report ppt - harsh dattuprasad patel.pptx
PDF
Guide to Food Delivery App Development.pdf
PDF
AI/ML Infra Meetup | Beyond S3's Basics: Architecting for AI-Native Data Access
PPTX
Matchmaking for JVMs: How to Pick the Perfect GC Partner
PPTX
Computer Software - Technology and Livelihood Education
PPTX
GSA Content Generator Crack (2025 Latest)
PDF
Practical Indispensable Project Management Tips for Delivering Successful Exp...
PPTX
Cybersecurity-and-Fraud-Protecting-Your-Digital-Life.pptx
PDF
Introduction to Ragic - #1 No Code Tool For Digitalizing Your Business Proces...
 
PDF
Ableton Live Suite for MacOS Crack Full Download (Latest 2025)
PDF
Salesforce Agentforce AI Implementation.pdf
DOCX
How to Use SharePoint as an ISO-Compliant Document Management System
PPTX
Introduction to Windows Operating System
PPTX
Tech Workshop Escape Room Tech Workshop
PDF
DuckDuckGo Private Browser Premium APK for Android Crack Latest 2025
Visual explanation of Dijkstra's Algorithm using Python
Cybersecurity: Protecting the Digital World
Advanced SystemCare Ultimate Crack + Portable (2025)
CNN LeNet5 Architecture: Neural Networks
The Dynamic Duo Transforming Financial Accounting Systems Through Modern Expe...
Weekly report ppt - harsh dattuprasad patel.pptx
Guide to Food Delivery App Development.pdf
AI/ML Infra Meetup | Beyond S3's Basics: Architecting for AI-Native Data Access
Matchmaking for JVMs: How to Pick the Perfect GC Partner
Computer Software - Technology and Livelihood Education
GSA Content Generator Crack (2025 Latest)
Practical Indispensable Project Management Tips for Delivering Successful Exp...
Cybersecurity-and-Fraud-Protecting-Your-Digital-Life.pptx
Introduction to Ragic - #1 No Code Tool For Digitalizing Your Business Proces...
 
Ableton Live Suite for MacOS Crack Full Download (Latest 2025)
Salesforce Agentforce AI Implementation.pdf
How to Use SharePoint as an ISO-Compliant Document Management System
Introduction to Windows Operating System
Tech Workshop Escape Room Tech Workshop
DuckDuckGo Private Browser Premium APK for Android Crack Latest 2025

Utah Geek Events Big Mountain Data Mastering Oracle Interactive Grids