Page 1 of 1

DataGrid -Column Headings

Posted: Tue May 24, 2011 10:06 am
by Simon Knight
Is it possible to set the column headings to existing data grid columns from a script? I wish to define some columns in the IDE and then have my script set the headings while preserving any settings made in the IDE such as behaviors.

Thanks

Simon

Re: DataGrid -Column Headings

Posted: Tue May 24, 2011 11:50 am
by BvG
Yes it is possible, as the datagrid is just a group of standard objects with cprops. However, I do not use it much myself. Most information about the datagrid can be found in the lessons:

http://lessons.runrev.com/spaces/lesson ... s/datagrid
and
http://lessons.runrev.com/spaces/lesson ... agrid_tips


You're most likely interested in the entry on datagrid properties:

http://lessons.runrev.com/spaces/lesson ... Properties

see "row template" and under table properties: "columns"