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
DataGrid -Column Headings
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- Posts: 919
- Joined: Wed Nov 04, 2009 11:41 am
DataGrid -Column Headings
best wishes
Skids
Skids
Re: DataGrid -Column Headings
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"
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"
Various teststacks and stuff:
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode