I generalized this a little into a concept I call thinArray.
which looks like this (you should display this in a fixed-width font,
and no wrap):
Refers to the diagram at the end:
This is just a string repreesntation of a List with some special
content:
the first character denotes the field separator
the first list element (after the field-separator) denotes the number
of columns (c) in this grid
the next c elements denote the column names (essentialy the first, or
header row, of our grid)
the next n elements (in groups of c columns) represent the rows of
our grid.
I wrote some CFC's to handle serialization/deserialization of cf
queries and arrays to thin arrays.
Rob Rohan wrote some js code to do the equivalent, and to manipulate
the js array.
This is all open source -- part of Rob's Neuromancer package, available
at:
http://rohanclan.com/products/neuromancer/
Requires a modern browser (Mozilla, Firefox (and I think IE 6)).
HTH
Dick
"The reason there are two senators for each state is so that one can be
the designated driver."
-Jay Leno -
| 6 | Emp_ID | LastName | FirstName | Department | Phone | email | 1
| Peterson | Carolyn | Sales | (612) 832-7654 | CPETERSON | 2 | Smith |
......
A A A A A A A A A
A A A A A A A
A
| | | | | | | | !
! ! ! ! ! | |
|
| | +---------+----------+-----+-----+----------+-------+
+------+----------+-----+--+-----------+-------------+
+-----+-------+...
| | |
|
| | |
|
| | ----------+--------
----------------------
| | Grid Column Names
A Row of Grid Data
| |
(information for 1 employee)
| |
| +--------- # of Columns in this Grid
!
!
+------- Unique Field Separator for this Grid - | (pipe) is the
default
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

