Going to the
Grid:
Tabular Form
Edition
(APEX 5.1 Editable
Interactive Grids)
Karen Cannell
kcannell@thtechnology.com
TH Technology
TH 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 suite of tools
• Oracle Ace Associate
• APress Author – Expert Oracle APEX
• ODTUG Director
• Editor Emeritus, ODTUG Technical Journal
TH Technology
TH Technology
About You …
• Oracle Technology ?
• Years w APEX ?
• APEX Versions ?
• Interactive Reports and Tabular Forms ?
• Customizations ?
Biggest Gripes?
TH Technology
Agenda
• Evolution
• Essentials – Tabular Form / Editable Focus
• Build/Upgrade ~Features ~ Oddities
• Extras (Advanced)
• JavaScript Customizations
• Wrapup
• Pros/Cons ~ Questions
TH Technology
In the Sandbox …
TH Technology
Out of the Sandbox
TH Technology
Interactive Grid == Better Sandbox
Editable
Interactive
Grid:
to BuildEvolution
TH Technology
Evolution: Tabular Forms
• APEX 3 – Bare Bones
• APEX 4.0
• RadioGroup, PopUp LOV, Simple CB
• Declarative Validations
• APEX 4.1
• :COLUMN References
• Improved Error Handling
• APEX 4.2, 5.0
• No Major TF enhancements
• Major IR Rewrite
• APEX 5.1
• Editable Interactive Grid (a Plugin)
 Beginning of Shift
 All Widgets
TH Technology
Interactive Grid
(Interactive Report or Tabular Form)
+ <All the Features You Ever Wanted>
(Thank You APEX Team!)
-----------------------------------------
Interactive Grid
TH Technology
Direction
Interactive Report
Tabular Form
Interactive Grid
Now
Future
TH Technology
IGrid Architecture
Interactive Grid – Under the Hood
J Snyders
http://hardlikesoftware.com/weblog/201
6/06/08/interactive-grid-under-the-hood/
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
Interactive Report
• Collections
(pre 5.0)
• Browser Decides
Column Width
table-layout: auto;
Interactive Grid
• Model
• Each Column is an
“Item”
• Fixed Table
Layout
Editable
Interactive
Grid:
to BuildEssentials
Build/Upgrade
Features
Oddities
TH Technology
Tabular Forms == Legacy
TH Technology
Interactive Grid
• Add image here – looks pretty
much the same
TH Technology
Editable Interactive Grid
TH Technology
Editable
TH Technology
What Is Editable
Columns
• Display Only
Rows
• Allowed Row Operations
• Set Column to Control Which
Rows Are Editable
TH Technology
Lost Update Type
• Row Values
• Checksum of All Query-able
Columns
• Column Value
• ex: DATE_UPDATED
TH Technology
Lost Updates, Lock Row
• Lock Row Adds
FOR UPDATE NOWAIT
See Reference ~ Matt Mulvaney
http://www.explorer.uk.com/apex-interactive-grid-
preventing-lost-updates-record-locking/
TH Technology
Who Can Edit (Authorizations)
TH Technology
If Editable
• Set a PK
• Set Reload on Submit
 Only On Success
TH Technology
TH Technology
Edit: Set One Column as a Primary Key
TH Technology
TH Technology
Edit: Page Reload on Submit
TH Technology
Row Selector
TH Technology
Working w the Row Selector
• JavaScript
TH 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 Technology
Row Action Menu
TH Technology
Save Interactive Grid Data
TH Technology
More
Editable Grid
Details:
to Build
Master-Detail,
Cascading LOV,
Dyn Actions,
32K Limit
TH Technology
Master-Detail
• Create Master Grid
• Create Detail Grid
• Set PKs for Both
• On Detail Grid, Link via Master
Region
• Disable Detail Grid Save Button
TH Technology
Cascading LOV
• Just Like Page Item to Page Item
SELECT
apex_item.checkbox (30,
seq_id,
'onclick="highlight_row(this,' || seq_id || ')"',
NULL,
':',
'f30_' || LPAD (seq_id, 4, '0') ) delete_checkbox,
apex_item.hidden (31, seq_id)
|| apex_item.select_list_from_query
(32,
c001,
'SELECT dname d, ' || 'deptno r FROM
eba_demo_tf_dept',
'style="width:220px" '
|| 'onchange="f_set_casc_sel_list_item(this,'
|| 'f33_'
|| LPAD (seq_id, 4, '0')
|| ')"',
'YES',
'0',
'- Select Department -',
'f32_' || LPAD (seq_id, 4, '0'),
NULL,
'NO' ) deptno,
apex_item.select_list_from_query (33,
c002,
'SELECT ename d, '
|| 'empno r FROM eba_demo_tf_emp '
|| 'WHERE deptno = '
|| c001,
'style="width:220px"',
'YES',
'0',
'- Select Employee ('
|| (SELECT COUNT (*)
FROM eba_demo_tf_emp
WHERE deptno = c001)
|| ') -',
'f33_' || LPAD (seq_id, 4, '0'),
NULL,
'NO' ) employee
FROM apex_collections
WHERE collection_name = 'DEPT_EMP'
UNION ALL
SELECT apex_item.checkbox
(30,
NULL,
'onclick="highlight_row(this,'
|| TO_NUMBER (9900 + LEVEL)
|| ')"',
NULL,
':',
'f30_' || LPAD (9900 + LEVEL, 4, '0') ) delete_checkbox,
apex_item.hidden (31, NULL)
|| apex_item.select_list_from_query
(32,
0,
'SELECT dname d, ' || 'deptno r FROM eba_demo_tf_dept',
'style="width:220px" '
|| 'onchange="f_set_casc_sel_list_item(this,'
|| 'f33_'
|| LPAD (9900 + LEVEL, 4, '0')
|| ')"',
'YES',
'0',
'- Select Department -',
'f32_' || LPAD (9900 + LEVEL, 4, '0'),
NULL,
'NO' ) deptno,
apex_item.select_list_from_query
(33,
NULL,
'SELECT ename d, '
|| 'empno r FROM eba_demo_tf_emp '
|| 'WHERE deptno = '
|| 0,
'style="width:220px"',
'YES',
'0',
'- Select Employee (0) -',
'f33_'
|| LPAD (9900 + LEVEL, 4, '0'),
NULL,
'NO'
) employee
FROM DUAL
WHERE :request = 'ADD_ROWS'
CONNECT BY LEVEL = 2
Before (APEX 4.2)
After (APEX 5.1+)
TH Technology
32K Row Limit
footer
TH Technology
Dynamic Action
• Just Like On a Page Item
• Conditions/Action Reference
Any Column In Row
• Cannot Reference Element in
Other Rows
TH 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 Technology
Validation – Dyn Action JS
footer
id
validity
attribute
TH Technology
ids
validity
attribute
footer
TH Technology
JS: Access Grid, Model, Record…
TH Technology
Ugly Error Messages
Upgrading
to Grid:
to Build
IR to Grid,
Tabular Form
to Grid
TH 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 Technology
What Will Upgrade?
• Keys Off ApplyMRU, ApplyMRD
• Tries!
• Custom Embedded Javascript
• Custom Processes
TH Technology
Manual Upgrade Steps
• Backup
• Change Region Type to I-Grid
• Delete Old Buttons (you will Replace Them)
• Set the Page Attribute Advanced > Reload on Submit = “Only for Success”
• Set Region Attribute  Edit Enabled to “Yes”
• Check for ROWID – I-Grid uses its own – Remove Yours
• Check Lost Updates
• Check Validations
• Check Processes Save Interactive Grid Data” Process
• Rebuild Buttons
• TEST TEST TEST
TH Technology
• CREATE A BACKUP !
• TEST AN UPGRADE FIRST
• REBUILDING IS OFTEN FASTER
Interactive
Grid:
Extras
to Build
Advanced:
JS Customizations
for Menus,
Toolbars and More
TH Technology
Customization Options
• Same For Editable/Non-Editable
• Toolbar
• Action Menu
• Column Heading Menu
• Row Actions Menu
TH 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 Technology
Grid Plugins
• Extend IG Toolbar
https://apex.oracle.com/pls/apex/f?p=
apexbyg:extendigtoolbar
TH Technology
Note: APEX 5.1.1 Patch
John Snyders ~ Interactive Grid API Improvements
http://hardlikesoftware.com/weblog/2017/03/28/apex-interactive-grid-api-
improvements-in-5-1-1/
• 5.1.1 IGrid APIs are DIFFERENT from
APEX 5.1.0 IGrid APIs …
Current Version: 5.1.3
Expect the APIs to Update
Going to the Grid: Tabular Form Edition (Oracle APEX Editable Interactive Grids)
Going to the Grid: Tabular Form Edition (Oracle APEX Editable Interactive Grids)
TH Technology
So What (Else) Can I Do ?
From the JavaScript console type:
apex.region(“igrid_id").widget().interactiveGrid("option","config")
TH Technology
…
TH Technology
Customization Examples
• Change Toolbar
• Change Column Heading Menu
• Change RowAction Menu
• Change Toolbar Actions Menu
• “Global” Settings
TH Technology
Customized Row Actions, Action
Menu
TH Technology
Change Toolbar
TH Technology
Change Toolbar Goes in Grid
Advanced 
JavaScript
TH Technology
Combine Stuff
TH Technology
Change Toolbar
TH Technology
Change Column Heading Menu
TH Technology
Change Column Heading Menu
Goes in Column
Advanced 
JavaScript
TH Technology
Change Column Heading Menu
TH Technology
Change RowAction Menu
TH Technology
Change RowAction Menu
Goes in Page
JavaScript
TH Technology
Access the Model …
TH Technology
Change Toolbar Actions Menu
TH Technology
Change Toolbar Actions Menu
Goes in Grid
Advanced 
JavaScript
TH Technology
“Global” Settings
• JS Function in JS File
• Include File
• Reference JS Function in
Advanced  JavaScript Code
• Add Classes on Grids
TH Technology
• << code example>>
• << Demo app w common
settings >>
Going to the Grid: Tabular Form Edition (Oracle APEX Editable Interactive Grids)
TH Technology
TH Technology
gReport.search Equivalent
TH Technology
Custom: Edit via Dialog
• IG Cookbook Application
• Edits in Dialog
• Changed Row Actions
• Advanced, Possibilities!
TH Technology
Editable
Grid:
Wrapup
to Build
Pros, Cons,
Discussion
TH Technology
Upgrade or Not?
• Standard
• Customized
• Little Use
• High Volume
• Customized
• Important
TH Technology
Best to Rebuild When …
• Low/Reasonable Volume of
Tabular Forms to Upgrade
• All Features Have a Declarative
Equivalent in Interactive Grid
No Sense to Upgrade to Make
Extensive Customizations
TH Technology
TH Technology
Challenge
• Sample Interactive Grid App
• IG Cookbook
http://www.hardlikesoftware.com
• Read the JS Widget Code
<apex_install_dir>/images/libraries/apex
PLAY
Homework
Comments?
Questions?
Thank You
Karen Cannell
kcannell@thtechnology.com
TH 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/
• Interactive Grid Column Widths
http://hardlikesoftware.com/weblog/2017/01/06/interactive-grid-column-
widths/
• 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/
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
• 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
•
Thank You
Evaluations Please!
Karen Cannell
kcannell@thtechnology.com

More Related Content

PDF
React & GraphQL
PDF
REST APIs with Spring
PDF
2 ways to get total sum of interactive grid column oracle apex ontoor blogs
PPTX
Low Code Lowdown: APEX vs Visual Builder: Which is For You?
PPSX
Rest api standards and best practices
PDF
Cost-based Query Optimization in Apache Phoenix using Apache Calcite
PPTX
Spring framework-tutorial
PDF
What is Dependency Injection in Spring Boot | Edureka
React & GraphQL
REST APIs with Spring
2 ways to get total sum of interactive grid column oracle apex ontoor blogs
Low Code Lowdown: APEX vs Visual Builder: Which is For You?
Rest api standards and best practices
Cost-based Query Optimization in Apache Phoenix using Apache Calcite
Spring framework-tutorial
What is Dependency Injection in Spring Boot | Edureka

What's hot (20)

PDF
ORDS - Oracle REST Data Services
PDF
Spring MVC
PDF
Spring Framework - Core
PPT
Spring Boot in Action
PPTX
Introducing Swagger
PDF
Spring Boot
PPTX
Spring boot Introduction
PDF
Capacitacion Apex 5 Oracle - Daniel Bermudez
PPTX
Spring Boot
PDF
React - Introdução
PDF
Automate Your Kafka Cluster with Kubernetes Custom Resources
PDF
Spring boot
PDF
Apache Calcite (a tutorial given at BOSS '21)
PDF
PySpark Programming | PySpark Concepts with Hands-On | PySpark Training | Edu...
PDF
Spring boot introduction
PDF
Angular Advanced Routing
PDF
Spring Framework - AOP
PPTX
Hexagonal architecture with Spring Boot
PDF
The evolution of Apache Calcite and its Community
ORDS - Oracle REST Data Services
Spring MVC
Spring Framework - Core
Spring Boot in Action
Introducing Swagger
Spring Boot
Spring boot Introduction
Capacitacion Apex 5 Oracle - Daniel Bermudez
Spring Boot
React - Introdução
Automate Your Kafka Cluster with Kubernetes Custom Resources
Spring boot
Apache Calcite (a tutorial given at BOSS '21)
PySpark Programming | PySpark Concepts with Hands-On | PySpark Training | Edu...
Spring boot introduction
Angular Advanced Routing
Spring Framework - AOP
Hexagonal architecture with Spring Boot
The evolution of Apache Calcite and its Community
Ad

Similar to Going to the Grid: Tabular Form Edition (Oracle APEX Editable Interactive Grids) (20)

PDF
APEX 5.1 Interactive Grid: What it Means for You and Your Users
PDF
Oracle APEX Interactive Grid Essentials
PDF
APEX Interactive Grids: Essentials and Then Some, Part 1
PDF
Utah Geek Events Big Mountain Data Mastering Oracle Interactive Grids
PPTX
APEX 5 Interactive Reports: Guts and PErformance
PDF
APEX 5 IR: Guts & Performance
PDF
APEX 5 IR Guts and Performance
PDF
APEX 18 Interactive Grids: And Them Some, Part 2
PDF
How to Load Data, Revisited, UTOUG
PDF
How to Load Data, Revisited
PDF
APEX JET Charts: Data Viz now!
PDF
RMOUG Training Days 2019 Oracle JET Charts in APEX: Data Viz Now!
PPTX
slide-keras-tf.pptx
PDF
East Coast Oracle 2018 APEX Charts - Data Viz Now
PDF
APEX Interactive Grids: Standardize for Sanity
PDF
Make your gui shine with ajax solr
PPTX
Meetup tensorframes
PDF
Fast Insights to Optimized Vectorization and Memory Using Cache-aware Rooflin...
PDF
169318090 0104abapdictionary-100831073625-phpapp02
PPTX
Dan Hotka's Top 10 Oracle 12c New Features
APEX 5.1 Interactive Grid: What it Means for You and Your Users
Oracle APEX Interactive Grid Essentials
APEX Interactive Grids: Essentials and Then Some, Part 1
Utah Geek Events Big Mountain Data Mastering Oracle Interactive Grids
APEX 5 Interactive Reports: Guts and PErformance
APEX 5 IR: Guts & Performance
APEX 5 IR Guts and Performance
APEX 18 Interactive Grids: And Them Some, Part 2
How to Load Data, Revisited, UTOUG
How to Load Data, Revisited
APEX JET Charts: Data Viz now!
RMOUG Training Days 2019 Oracle JET Charts in APEX: Data Viz Now!
slide-keras-tf.pptx
East Coast Oracle 2018 APEX Charts - Data Viz Now
APEX Interactive Grids: Standardize for Sanity
Make your gui shine with ajax solr
Meetup tensorframes
Fast Insights to Optimized Vectorization and Memory Using Cache-aware Rooflin...
169318090 0104abapdictionary-100831073625-phpapp02
Dan Hotka's Top 10 Oracle 12c New Features
Ad

More from Karen Cannell (14)

PDF
Oracle Low Code Lowdown: APEX vs VBCS
PDF
Validate Your Validations: Both Sides Now
PDF
APEX Grids: Standardize for Productivity and Sanity
PDF
Boston APEX Meetup ~ Standardize Your Grids
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
UTOUG Training Days 2019 Voyage to Visual Builder Cloud Service
PDF
RMOUG Training Days 2019 Analytic Views for Mortals: Worth A Look?
PDF
Utah Geek Events Big Mountain Data: Oracle Analytic Views: Worth It?
PDF
Migrate BI to APEX 5: Are We There Yet?
PDF
RTF Primer: Building and RTF Document
PDF
Migrate BI to APEX 5
PDF
APEX 5 Interactive Reports: Deep Dive and Upgrade Advice
Oracle Low Code Lowdown: APEX vs VBCS
Validate Your Validations: Both Sides Now
APEX Grids: Standardize for Productivity and Sanity
Boston APEX Meetup ~ Standardize Your Grids
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...
UTOUG Training Days 2019 Voyage to Visual Builder Cloud Service
RMOUG Training Days 2019 Analytic Views for Mortals: Worth A Look?
Utah Geek Events Big Mountain Data: Oracle Analytic Views: Worth It?
Migrate BI to APEX 5: Are We There Yet?
RTF Primer: Building and RTF Document
Migrate BI to APEX 5
APEX 5 Interactive Reports: Deep Dive and Upgrade Advice

Recently uploaded (20)

PDF
Guide to Food Delivery App Development.pdf
PDF
Practical Indispensable Project Management Tips for Delivering Successful Exp...
DOCX
How to Use SharePoint as an ISO-Compliant Document Management System
PDF
CCleaner 6.39.11548 Crack 2025 License Key
PDF
AI/ML Infra Meetup | LLM Agents and Implementation Challenges
PDF
AI Guide for Business Growth - Arna Softech
DOCX
Modern SharePoint Intranet Templates That Boost Employee Engagement in 2025.docx
PDF
How AI/LLM recommend to you ? GDG meetup 16 Aug by Fariman Guliev
PDF
Website Design Services for Small Businesses.pdf
PDF
Topaz Photo AI Crack New Download (Latest 2025)
PDF
Salesforce Agentforce AI Implementation.pdf
PDF
Microsoft Office 365 Crack Download Free
PDF
AI/ML Infra Meetup | Beyond S3's Basics: Architecting for AI-Native Data Access
PPTX
Advanced SystemCare Ultimate Crack + Portable (2025)
PDF
novaPDF Pro 11.9.482 Crack + License Key [Latest 2025]
PDF
iTop VPN Crack Latest Version Full Key 2025
PPTX
Tech Workshop Escape Room Tech Workshop
PDF
E-Commerce Website Development Companyin india
PDF
BoxLang Dynamic AWS Lambda - Japan Edition
PDF
AI-Powered Threat Modeling: The Future of Cybersecurity by Arun Kumar Elengov...
Guide to Food Delivery App Development.pdf
Practical Indispensable Project Management Tips for Delivering Successful Exp...
How to Use SharePoint as an ISO-Compliant Document Management System
CCleaner 6.39.11548 Crack 2025 License Key
AI/ML Infra Meetup | LLM Agents and Implementation Challenges
AI Guide for Business Growth - Arna Softech
Modern SharePoint Intranet Templates That Boost Employee Engagement in 2025.docx
How AI/LLM recommend to you ? GDG meetup 16 Aug by Fariman Guliev
Website Design Services for Small Businesses.pdf
Topaz Photo AI Crack New Download (Latest 2025)
Salesforce Agentforce AI Implementation.pdf
Microsoft Office 365 Crack Download Free
AI/ML Infra Meetup | Beyond S3's Basics: Architecting for AI-Native Data Access
Advanced SystemCare Ultimate Crack + Portable (2025)
novaPDF Pro 11.9.482 Crack + License Key [Latest 2025]
iTop VPN Crack Latest Version Full Key 2025
Tech Workshop Escape Room Tech Workshop
E-Commerce Website Development Companyin india
BoxLang Dynamic AWS Lambda - Japan Edition
AI-Powered Threat Modeling: The Future of Cybersecurity by Arun Kumar Elengov...

Going to the Grid: Tabular Form Edition (Oracle APEX Editable Interactive Grids)