TW3Grid

Description: Using a TW3Grid to display the contents of records
Programmer: Unknown
Compiler: Smart Mobile Studio 2.2

Introduction

It shows how you can use a TW3Grid to use a variety of types of column such as for text, progress bar, toggle switch or image.

Using a W3Grid with Number Columns

This example, showing some fields of stock control records, demonstrates the use of number columns for displaying integers and real numbers. The pound sign displays as intended when the HTML output is saved in UTF8 format.

The use of number columns saves you the trouble of converting from numbers to strings. Note how the numbers are aligned. If you want decimal alignment, we think that you should use string representations (as in our first example) and write your own code to insert spaces as necessary.