On Nov 12, 2009, at 4:33 PM, Mike Kerner wrote:
The problem I'm having is that I want to write a script to custom-
generate
the datagrid on the fly. In particular, I would like to assign the
number
of columns and their headings on the fly. All the examples I've seen,
though have this information pre-determined. Since I'm sucking data
out of
an ODBC data source, I won't know until runtime how many columns
will be
needed, or what their titles will be.
You can set the "columns" and "column labels" properties.
<http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7343-Data-Grid-Properties
>
set the dgProp["columns"] of group "DataGrid1" to ...
--
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Releasable Revolution Resources for Developers:
http://revolution.bluemangolearning.com
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution