ClassX DataGrid
A Simple Datagrid Utility.SourceCode will follow when ClassX version 2 is released.
NB Any size, scrollbars appear to accomodate Grid if necessary.

Functionality
Columns or Rows can be selected. Multiple Columns or Rows can be selected. Table can be sorted in accordance with selected Columns by double clicking on any of the selected Column headers at the top of the table. Columns can be reordered by dragging on the appropriate Column heading.


<Applet Tag>

<APPLET CODE=Main.class WIDTH=560 HEIGHT=240 archive="ScrollGrid.jar" codebase="http:\\www.n.oman.btinternet.co.uk\">
<PARAM NAME="data" VALUE="data.txt">
</APPLET>


Parameters
data
The name of the file in the website holding the data.

<Data File>

4
Float Value
F421$
Integer Value
I42 units
Text
T20
Picture
P3
page.gif
user.gif
folder.gif
1
1000.99
1000
Line of Text
1

File exists as follows :-

4
Float Value
F421$
Integer Value
I42 units
Text
T20
Picture
P3
page.gif
user.gif
folder.gif
1
1000.99
1000
Line of Text
1
Number of columns in table
Name of first Column
Type F42B$ Float 4 digits, 2 decimal places, number to have a $ symbol placed (1)before each value
Name of Second Column
Type I4Aunits Integer 4 digits numbers to have the word units placed (2)after each value
Name of Third Column
Type T20 Text 20 Characters
Name of Fourth Column
Type P3 Picture 3 options
First Picture option of three (filename)
Second Picture option of three (filename)
Third Picture option of three (filename)
Number of Rows
First Row first Column value, a float
First Row second Column value, an integer
First Row third Column value, a line of text
First Row fourth Column value, the first picture (user.gif)


Please note all pictures used are size 16x16.


Download ScrollGrid.jar