Viscosity
logo-black
  • Data
    • Database Services
      • Performance Assessment
      • Proactive Healthcheck
      • Database Migration & Consolidation
      • Performance Tuning
    • Microsoft Services
      • Microsoft Azure Services
      • Microsoft SQL Server Services
      • Microsoft Gold Azure Partner
    • Oracle Services
      • Oracle Database 19c
      • RAC
      • GoldenGate
      • Data Guard
      • Oracle & SQL Database
    • Viscosity Remote Services
  • Apps
    • App Dev Services
    • Oracle APEX
    • Viscosity AMP
    • Viscosity-ai
    • Shane-ai
  • Cloud
    • Cloud Services
    • Hybrid Cloud
    • Viscosity Edge Cloud
    • Virtualization & Cloud Expertise
    • Microsoft Azure Services
  • Infrastructure
    • Infrastructure Services
    • Exadata
      • Exadata Resale & Services
    • Oracle Database Appliance
      • Oracle Database Appliance Resale & Services
      • ODA Health Checks
    • Zero Data Loss Recovery Appliance
    • VMware to KVM Migration
  • Events
    • Upcoming Events
    • Virtual Training
    • 2025 Past Events
    • 2024 Past Events
    • 2023 Past Events
    • 2022 Past Events
  • About
    • About Us
    • News
    • Blogs
    • Publications
    • Contact
Hit enter to search or ESC to close
ENGAGE WITH US

Application Development , APEX , interactive grid

Saving an Interactive Grid Cell on Change

By Alan Quigley
October 14, 2022

Have you ever been caught off guard by a co-worker that comes to talk to you about that show that everyone was watching this week and totally forgot to save the changes you made in an Interactive Grid? Doesn’t that just ruin your day? Nothing is worse than rework. Sometimes you want your grid to save your work as soon as you leave the cell. It’s a lot easier than you think to get it working.

First, you need to make sure the grid you are working on is editable.

 

A screenshot of a video game

Description automatically generated with low confidence

 

You can find that under “Attributes” of the Grid you are working on.   

 

Now, go to the column in that grid you want to save.  Let's create a simple Change Event Dynamic Action.   

 

A picture containing text

Description automatically generated

 

A screenshot of a computer screen

Description automatically generated with medium confidence

 

So far so good, right?  Pretty simple.  Now we will get a True action setup.  Select “Execute Server-side Code.”  This will be a simple PL/SQL Code call to a package or Procedure.   

 

 

Again, very simple stuff.  Now let’s jump to the procedure.  This is where the magic happens. 

 

Graphical user interface, text, application

Description automatically generated

 

Let’s get the data from the grid that we are editing.  Lines 8 and 9 will do that.  Then we just update the table based on the ID or the Primary Key of the grid and the value we changed.  It really is that easy.  Now, as we enter data into the grid, we will see the familiar marks that the row has been edited, but upon refresh and checking the table, you will see that the data is there and saved. 

 

Table

Description automatically generated

 

Wasn’t that simple?  Who needs a save button anymore on a grid?  Your users can now have that chit-chat without worrying about losing work, and isn’t that what we are here for? 

All posts
About Author
Alan Quigley

Alan Quigley is a Senior Software Architect at Viscosity, with almost four years of invaluable expertise to the role. He has over nine years of specialized experience in Oracle APEX and more than twelve years of honing his skills in crafting complex logical solutions. Alan has made a significant impact in diverse industries such as Accounting, Supply Chain, Logistics, Healthcare, and Utilities, thanks to his exceptional command of PL/SQL and Oracle APEX. He is an undisputed expert in these domains, consistently delivering innovative, efficient, and robust software solutions that redefine industry standards.

You might also like
Creating an APEX App Using Data From an API – Step 4
Creating an APEX App Using Data From an API – Step 4
October 14, 2022
Creating an APEX App Using Data From an API – Step 3
Creating an APEX App Using Data From an API – Step 3
October 14, 2022
Creating an APEX App Using Data from an API – Step 2
Creating an APEX App Using Data from an API – Step 2
October 14, 2022
SUBMIT YOUR COMMENT
logo for footer

Viscosity's core expertise includes:

Data Transformation, Emerging Technology, High Availability & Scalability Solutions, Cloud Migrations, Performance Tuning, Data Integrations, Machine Learning, APEX Development, and Custom Application Development.


Solutions

Resources

Partnerships

Careers

Clients

 

Contact
Email: sales@viscosityna.com

Telephone:
(469) 444-1380

Address:
3016 Communications Pkwy Suite 200, Plano, TX 75093

Copyright 2025. All Rights Reserved by Viscosity North America.