Flexible Text and Data Display

The Basics – the LiveCode Field Object

The LiveCode field object allows presentation of text data, labels, lists, scrolling lists and basic tables. Simply drag out the field you require from the tools palette and populate it with the text you require. All of LiveCode’s field objects recognize and understand text using chunk expressions – an English-like way of referring to text by characters, words, items and lines. Go here for more information on processing text with chunk expressions.

The Data Grid

Dazzle your customers with stunning data presentations using the Data Grid. This incredibly flexible, high performance presentation object gives you freedom to display any amount of data, exactly the way you want.

Because the data grid can operate as a window into a data source, there is no limitation on the amount of data you can display. This design results in excellent performance for even the largest of data sets.

You can customize your table with column names, alignment, drag resizing, colors, cell editing, sort options and more. Use the Property Inspector to discover what tables have to offer. To create a data grid it’s as simple as dragging this object out from the tools palette and populating it with basic tab delimited data using the Property Inspector. You can start by just pasting your data directly into the content area.

Advanced Data Presentation

Go beyond the basics and create your own row template group. This group can contain any standard LiveCode object including buttons, images and code. The data grid automatically replicates your template and creates a cache with just the controls that are needed for display on screen.

Switch between "table" and "form" modes. In form mode the row template is replicated in rows. This mode is ideal if you want to present a scrolling list with a custom layout for each record. In table mode the template is replicated in columns - use this to display data in a grid.

 datagrid

Customize your Data Grid

Finally, customize your data grid by populating it directly using a database or your own data source built into nested arrays. Tweak over 60 properties to get your presentation just perfect.

Demonstration Project & Webinar

Download this demonstration project and open it in the free trial of LiveCode to see the Data Grid in action.

Or watch our Data Grid Webinar. (This webinar was created when we introduced this feature and so it still refers to “Revolution” the old name for “LiveCode”.)

View the Lessons section on the Data Grid for more detailed instructions.

 

Printing and Report Generation

Create custom layouts and print in high resolution with full programmatic control over every aspect of printing, including accessing standard system printer settings dialogs or adjusting settings using code.

Print to PDF feature to output high quality PDFs complete with hyperlinks. 

Next SQL Database Access