Going to the Grid: What the APEX 5.1 Interactive Grid Means or You and Your Users. Karen Cannell

Similar documents
Grid Essentials. APEX 18.1 Interactive Grids. Karen Cannell TH Technology

Oracle 12.2 Analytic Views:

Oracle Application Express 5.1

Oracle APEX 18.1 New Features

The Oracle APEX Community at-a-glance:

Database Developers Forum APEX

I, J, K. Eclipse, 156

Apex 5.1 Interactive Grid and Other New features

Oracle Application Express 5 New Features

Table Basics. The structure of an table

UI Course HTML: (Html, CSS, JavaScript, JQuery, Bootstrap, AngularJS) Introduction. The World Wide Web (WWW) and history of HTML

Creating dependent menus with Moodle Database activity. William Lu

Using Dreamweaver CC. Logo. 4 Creating a Template. Page Heading. Page content in this area. About Us Gallery Ordering Contact Us Links

APEX_ITEM and Beyond. Greg Jarmiolowski. SQLPrompt LLC

Oracle APEX Overview. May, Copyright 2018, Oracle and/or its affiliates. All rights reserved.

Practic Pr al actic Dynamic Actions Intro Jorge Rimblas 1. 1

& ( ); INSERT INTO ( ) SELECT

Application Express Dynamic Duo

HTML5. HTML5 Introduction. Form Input Types. Semantic Elements. Form Attributes. Form Elements. Month Number Range Search Tel Url Time Week

Building Custom UIs for APS 2.0 Applications. Timur Nizametdinov, APS Dynamic UI Lead Developer

Oracle JET in Oracle APEX Marc Sewtz Senior Software Development Manager Oracle America, Inc. New York, NY

Altima Lookbook Professional Magento ecommerce Extension Version 1.6.9

Using RESTfull services and remote SQL

Rapid Application Development with APEX 5.0

GoLive will first ask you if your new site will be for one individual or a work group; select for a Single User, and click Next.

Course Details. Skills Gained. Who Can Benefit. Prerequisites. View Online URL:

Dreamweaver CS4. Introduction. References :

Overview of the Adobe Dreamweaver CS5 workspace

ver Wfl Adobe lif Sams Teach Yourself Betsy Bruce Robyn Ness SAMS 800 East 96th Street, Indianapolis, Indiana, USA WlM John Ray ^lg^

What is Standard APEX? TOOLBOX FLAT DESIGN CARTOON PEOPLE

PHPRad. PHPRad At a Glance. This tutorial will show you basic functionalities in PHPRad and

08/10/2018. Istanbul Now Platform User Interface

OIG 11G R2 Field Enablement Training

Manipulating Database Objects

BindTuning Installations Instructions, Setup Guide. Invent Setup Guide

Enabling Web 2.0 User Experience for E-Business Suite. Padmaprabodh Ambale, Gustavo Jimenez Development Managers, Applications Technology Group

MASTERS COURSE IN FULL STACK WEB APPLICATION DEVELOPMENT W W W. W E B S T A C K A C A D E M Y. C O M

XLCubed Version 9 QuickStart

Adobe Dreamweaver CS6 Digital Classroom

DbSchema Forms and Reports Tutorial

Web Design & Dev. Combo. By Alabian Solutions Ltd , 2016

Advanced Dreamweaver CS6

Web Designing Course

Website Design (Weekend) By Alabian Solutions Ltd , 2016

Table of contents. Sliding Panels DMXzone.com

UX/UI Controller Component

Table of contents. Sliding Billboard DMXzone.com

DbSchema Forms and Reports Tutorial

Designing for Web Using Markup Language and Style Sheets

Varargs Training & Software Development Centre Private Limited, Module: HTML5, CSS3 & JavaScript

Contact at Once Widget..5. Contact Us Widget...5 Contact Info Widget. 6 Dealership Contacts Widget. 6

DB2 Web Query Active Technologies for Mobile Web Apps

SPARK. User Manual Ver ITLAQ Technologies

PEGACUIS71V1 pegasystems

User Manual instantolap

Configuring Ad hoc Reporting. Version: 16.0

Tactics to Tackle APEX Bugs

5 main building blocks of the new Visual Builder Cloud Service

FrontPage 2000 Tutorial -- Advanced

Eclipse Scout. Release Notes. Scout Team. Version 7.0

Unit 12. Electronic Spreadsheets - Microsoft Excel. Desired Outcomes

ORACLE RDC ONSITE RESEARCH COORDINATOR TRAINING

ITEC447 Web Projects CHAPTER 9 FORMS 1

Using Sitecore 5.3.1

HTML5 and CSS3 for Web Designers & Developers

Create-A-Page Design Documentation

Chapter 3 How to use HTML5 and CSS3 with ASP.NET applications

CSS & Troubleshooting IE6

Website Design (Weekday) By Alabian Solutions Ltd , 2016

A Closer Look at XPages in IBM Lotus Domino Designer 8.5 Ray Chan Advisory I/T Specialist Lotus, IBM Software Group

Frontend guide. Everything you need to know about HTML, CSS, JavaScript and DOM. Dejan V Čančarević

FEWD START SCREENCAST!!!!

Web API Lab. The next two deliverables you shall write yourself.

Website Administration Manual, Part One

Using Dreamweaver CS6

SharePoint List Booster Features

Advanced Training Manual: Surveys Last Updated: October 2013

ENABLING WEBCHAT HOSTED USER GUIDE

Rich Web UI made simple Building Data Dashboards without Code

How to set up a local root folder and site structure

Code Editor. The Code Editor is made up of the following areas: Toolbar. Editable Area Output Panel Status Bar Outline. Toolbar

Wolf. Responsive Website Designer. Mac Edition User Guide

Overview

Refactoring Application Express Greg Jarmiolowski SQLPrompt LLC

JSN EasySlider Configuration Manual

Nintex Forms 2010 Help

Reviewer Plugin. Ultimate Reviews & User Ratings. Version Author: Michele Ivani Reviewer Plugin v. 3.6.

Report Designer Report Types Table Report Multi-Column Report Label Report Parameterized Report Cross-Tab Report Drill-Down Report Chart with Static

The Observatory Tool Dashboard Guide

C1 CMS User Guide Orckestra, Europe Nygårdsvej 16 DK-2100 Copenhagen Phone

Documentation for the new Self Admin

Business Edition Basic License User Guide

Lecture : 3. Practical : 2. Course Credit. Tutorial : 0. Total : 5. Course Learning Outcomes

Getting Started Guide

YouTube Break.

IRA Basic Running Financial Reports

Reviewing Hidden Content during Native Review

City of Mobile GIS Web Mapping Applications: New Technology, New Expectations

Institutional Reporting and Analysis (IRA) For help, blitz "Financial Reports", or

IRA Basic Running Financial Reports

Transcription:

Going to the Grid: What the APEX 5.1 Interactive Grid Means or You and Your Users Karen Cannell kcannell@thtechnology.com TH Technology

Note to Early Slide Downloaders: I edit my slides frequently up to the day of the presentation. Please check back for the latest slides and references.

It was the best of times, it was the worst of times Dickens in Tale of Two Cities

It was the best of features, it was the worst of features Anonymous APEX Developer re Tabular Forms

About Me 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 Editor Emeritus, ODTUG Technical Journal Oracle Ace Associate APress Author ODTUG Director

About You Oracle Technology? Years w APEX? APEX Versions? Interactive Reports and Tabular Forms? Customizations? Biggest Gripes?

Goals Understand Interactive Grid (I-Grid) Features How to Build, Upgrade to and Work With an Interactive Grid Pros / Cons of Replacing Legacy IRs/Tab Forms w Interactive-Grid

Agenda Interactive Grid Introducing Interactive Grid How To Build How To Upgrade Validations Advanced JavaScript Customizations Pros/Cons ~ Discussion ~ Questions

Evolution: Interactive Reports APEX 4.0 The New Big Thing APEX 4.1 More Column Types Improved Group By, Add PIVOT APEX 5.0 Reengineered CSS and JS, Widgets APEX 5.1 Interactive Grid JQuery Widgets Shift to Widgets All Widgets

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

NOTE: APEX 5.1.1 Patch John Snyders Interactive Grid API Improvements http://hardlikesoftware.com/weblog/2017/03/28/ap ex-interactive-grid-api-improvements-in-5-1-1/ Toolbar Model IG Widget IG Configuration

Beware APEX 5.1.1 IGrid APIS are DIFFERENT from APEX 5.1.0 IGrid APIs You Will Have To Upgrade < 5.1.1 IGrid Customizations

In the Sandbox TH Technology

Out of the Sandbox TH Technology

Interactive Grid == Better Sandbox

Interactive Grid (Interactive Report or Tab Form) + <All the Features You Ever Wanted> (Thank You APEX Team!) ----------------------------------------- Interactive Grid

Direction Interactive Report Future Tabular Form Now Interactive Grid

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 Interactive Grid HTML Renders on Client Data Returned w UI Markup Data/Edits from Server via JSON One Big JS Module 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

Interactive Grid: to Build How to Build

Interactive Report Still There TH Technology

Tabular Forms == Legacy TH Technology

Editing an Interactive Grid Editing Enabled => Yes Row Selector Actions Menu Column PK Hidden by Default Edit, Save Buttons I-Grid Auto Row Processing Process Developer has to Add Headings Set Column Types, Static Ids Set a PK Column (If one not Already Set) Set Page Reload on Submit to Only on Success

Edit: Column: Set One as a Primary Key

Edit: Page Reload on Submit TH Technology

Interactive Grid Add image here looks pretty much the same

Editable Interactive Grid TH Technology

Grid Menu TH Technology

Customized Toolbar Menu TH Technology

Editable Cells Floating Popups Radio Group Text Areas (one liner ) Item Plugins Anything that dos not fit in cell CTRL-F6 collapse/expand popup

Editable Grid: to Build Row Height, Column Width, (No)Stretch, Master-Detail, Casc. LOV

re Fixed Row Height IF Change Height of a Row Ex: Add Icon or Textarea Need To Adjust on Both Sides Frozen and Unfrozen celltemplate property

Column Widths Appearance Width Property Does Not Set Column Width Drag and Drop then Report Save Columns Resize Reorder Minimum Width Min Width vs Current Width

NoStretch APEX 5.1.1 JS to Set Per Column In Advanced JavaScript for the Column function(config) { config.defaultgridcolumnoptions = { nostretch: true }; return config; }

NoStretch APEX 5.1.1 JS to Set Per Grid (All Columns) In Advanced JavaScript for the Grid Declarable in APEX 5.2?

Declarable in APEX 5.2?

Master-Detail Create Master Grid Create Detail Grid Set PKs for Both Link via Master Region on Detail Grid Disable Detail Grid Save Button

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+)

32K Row Limit footer

Dynamic Action Just Like On a Page Item Conditions/Action Reference Any Column In Row Cannot Reference Element in Other Rows

Validations Just Like 4.2 Tab Form :COLUMN_NAME References Dynamic Actions Column Option APEX 5.1.1 Patch

Interactive Grid: to Build End User Perspective

User Perspective: Interactive Grid Interactive Report Pivot -- Drills + Edit Capability (if enabled) ----------------------------------------------------- Interactive Grids

Edit Mode Navigation Tab or Shift Tab Next/Previous Cells (right/left within a row) Enter or Shift-Enter Up/Down Column So-so for Data Entry Users But > Nothing! Arrow Keys Do Not Work Here

All Edits Stored Locally til Save Warning for Unsaved Changes Pagination OK

Interactive Grid: to Build How to Upgrade an Existing IR or Tabular Form to Interactive Grid

Standard Will Upgrade Non-Standard Will Not Upgrade Any Custom Code APEX_ITEM Calls Rebuild (Most Often) Takes Less Time

HOW WHEN Upgrade Interactive Reports? Change Region Type Standard, No Frills Users YES Considerations Pivot Customized Logic Drills To IRs

HOW WHEN Upgrade Tabular Forms? Upgrade Utility May Need Rework Standard YES Non-Standard Maintain vs Rebuild Rebuild is Relatively Quick

Interactive Grid: to Build How to Customize Menus, Toolbars and More

Customizations JavaScript Advanced JavaScript Code Read Widget JS Files to Learn What is Possible Hardlikesoftware.com No Longer PL/SQL Collections Now JavaScript

I-Grid Customizations Much More Flexible Beyond Declarative Attributes JavaScript Code Region Grid Grid Menus Column Column Menu (Most of the Time )

So What (Else) Can I Do? From the JavaScript console type: apex.region( igrid_id").widget().interactivegrid("option","config")

TH Technology

Customization Examples Change Toolbar Change Grid Menus Access Data Model Change Action Menu Global Settings

Change Toolbar Goes in Grid Advanced JavaScript

Change Toolbar TH Technology

Change Column Menu Goes in Column Advanced JavaScript

Change Column Menu TH Technology

Change Grid Menu Goes in Page JavaScript

Goes in Page JavaScript

Change Grid Menu TH Technology

Access the Model TH Technology

Change Action Menu Goes in Grid Advanced JavaScript

Change Action Menu TH Technology

Access Grid, Model, Record TH Technology

Global Settings JS Function in JS File Include File Reference JS Function in Advanced JavaScript Code Add Classes on Grids

<< code example>> << Demo app w common settings >>

greport.search Equivalent TH Technology

Interactive Grid: to Build Pros, Cons, Discussion

Upgrade or Not? IR Considerations Pivot Customized Logic Drills To IRs Tabular Form Considerations Customizations

Best to Rebuild When Low/Reasonable Volume of IRs/Tabular Forms to Upgrade All Features Have a Declarative Equivalent in Interactive Grid No Sense to Upgrade to Make Extensive Customizations

Prototype! TH Technology

What Interactive Grid Means Developers Bigger Sandbox THINK Before Build or Upgrade Brush Up on JavaScript jquery Widgets JavaScript Customizations End Users Cleaner Interface Improved Loading, Pagination Tab/Enter Navigation Inline Edits More is Possible Less Work

There is Much More. Pagination Options Client-Side Validation Protected Rows Icon View Detail View More Coming!

Challenge Homework Sample Interactive Grid App http://www.hardlikesoftware.com Read the JS Widget Code <apex_install_dir>/images/libraries/apex PLAY

Comments? Questions? Karen Cannell kcannell@thtechnology.com

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-thehood/ Interactive Grid Column Widths http://hardlikesoftware.com/weblog/2017/01/06/interactive-grid-columnwidths/ How to Hack Interactive Grids, Parts I thru IV http://hardlikesoftware.com/weblog/2017/01/18/how-to-hack-apex-interactive-gridpart-1/ APEX: Updating Interactive Grid Cells https://ruepprich.wordpress.com/2017/03/09/apex-updating-interactive-grid-cells/

Resources, cont d APEX Client-Side Validation http://hardlikesoftware.com/weblog/2017/05/10/apex-client-sidevalidation/#more-615 Interactive Grid Column Widths http://hardlikesoftware.com/weblog/2017/01/06/interactive-grid-columnwidths/ How to Hack Interactive Grids, Parts I thru IV http://hardlikesoftware.com/weblog/2017/01/18/how-to-hack-apex-interactive-gridpart-1/ APEX: Updating Interactive Grid Cells https://ruepprich.wordpress.com/2017/03/09/apex-updating-interactive-grid-cells/

Thank You Evaluations Please! Session#286 Karen Cannell kcannell@thtechnology.com

Advanced Client Validation APEX 5.1.1 Validate Comm JS Using API Validate Comm Limit Example Row Level no HTML5 Fire on apexendrecordedit Event apexendrecordedit Event When Edit ends

Advanced Client Validation Validate Comm Limit Row-level Validation (no HTML5) Use JavaScript model API Set Record Validity APEX 5.1.1

APEX 5.1.1 TH Technology

Validate Comm APEX 5.1.1