Book Image

Oracle APEX 4.0 Cookbook

By : Michel Van Zoest, Marcel Van Der Plas
Book Image

Oracle APEX 4.0 Cookbook

By: Michel Van Zoest, Marcel Van Der Plas

Overview of this book

<p>Oracle Application Express 4.0 is a rapid web application development tool that works with the Oracle database. Using features like Plug-ins and Dynamic Actions, APEX helps you build applications with the latest techniques in AJAX and JavaScript.</p> <p>The Oracle Application Express 4.0 Cookbook shows you recipes to develop and deploy reliable, modern web applications using only a web browser and limited programming experience. <br /><br />With recipes covering many different topics, it will show you how to use the many features of APEX 4.0.<br /><br />You will learn how to create simple form and report pages and how to enhance the look of your applications by using stylesheets. You will see how you can integrate things such as Tag Clouds, Google Maps, web services, and much more in your applications. Using Plug-ins, Dynamic Actions, BI Publisher, translations and Websheets, you will be able to enhance your applications to a new level in APEX.</p> <p>This book will show you how to be Agile in the development of your web applications by using Team Development, debugging, and third-party tools.</p> <p>After reading this book, you will be able to create feature-rich web applications in Application Express 4.0 with ease and confidence.</p>
Table of Contents (19 chapters)
Oracle APEX 4.0 Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Implementing a datagrid


Datagrids are the strong points of websheets. Websheets have been called 'Excel-killers'. If that is true, than datagrids are the weapons.

Getting ready

Make sure that there is a page available to implement the datagrid on. We can take the Sales overview page from the previous recipe and elaborate on that.

If you didn't create that page yet, do so before starting this recipe.

How to do it...

Let's say that the company in this example sells only one kind of product. They have no need for an elaborate database, so they would like a simple grid to monitor all sales.

  1. When on the Sales Overview page, click the button on the right side called New Datagrid.

  2. On the first page of the wizard, select the option From Scratch.

  3. Next, enter the title and columns for the datagrid as shown in the following screenshot:

  4. Click Create.

What we see now is an empty datagrid. To add data to the grid, press the Add Row button.

Data can now be entered into the datagrid, row-by-row.

When a row is done...