data grid control

Advanced Data Grid Control

[ Data Grid Home ] [ Documentation ] [ Examples & Demos ] [ Buy Now ]

Advanced Data Grid Control

Setting the Grid Properties

advanced data grid control

Setting the Grid Properties

Virtually every aspect of the Data Grid is customizable. This is done by specifying the value of the various parameters,

Each property is specified on a name value basis, Parameter Name and Value.

For the full list of parameters and the possible range of values see the section Parameters (click here)

Color Parameters
Many of the parameters specify the colors to be used for various features of the grid. Colors may be defined throughout all the parameters in one of several ways. For a full description on the various methods of defining colors click here.

Font Parameters
Several parameters specify the fonts to be used for the various text area's. For a description on how to specify fonts click here.

Multi Language Support
If the cell data contains characters not defined in the standard Western Alphabet (eg. Japanese, Eastern European, Arabic) then the character set may be specified. For full details click here.

 

The Data Grid applet provides the following options for inputting the configuration data.

a) Configuration File.
The applet will read all the configuration parameters from a specified file. To use this option add the following PARAM tag to your html code between the <applet> and </applet> tags,

<PARAM name="gridproperties" value="gridprops.txt">

where "gridprops.txt" is the name of the file containing the configuration data (click here for an example file ).

As you will see from the example file each property is specified on a name, value basis with each parameter listed on a new line. The parameter name is specified first which is then followed by a colon and space character ": ". Following this the parameter value is specified.

Note that comments may be added to this file by placing "<!--" at the beginning of a line.


Adjust the property values to specify the characteristics of the data grid and then place this file in the same directory as your web page.

For a full description of each property please see the "Data Grid Parameters".

This method is used in Example 2 - click here to view.

b) HTML PARAM tags.
Using this option the applet will read all the configuration information from the standard applet <PARAM> tags. Simply add the <PARAM> tags, contained in the paramtags.txt file (click here), to your html between the <APPLET> and </APPLET> tag, adjusting the values to specify the characteristics of the Data Grid.

For a full description of each property please see the "Data Grid Parameters".

This method is used in Example 1- click here to view.

« back to Getting Started
[ Data Grid Home ] [ Documentation ] [ Examples & Demos ] [ Buy Now ]

Getting Started

Documentation

Examples