setting data grid columns by code

Andrew Kluthe andrew at
Thu Nov 10 10:29:10 EST 2011

- Line delimited list of columns in your table.

put the dgProp["columns"] of group "Data Grid" into sColumns

set the dgProp["columns"] of group "Data Grid" to sColumns

It produces and accepts a line delimited list of columns. I have never done
this from script but I use it from message box all the time to copy columns
from one grid to another.

View this message in context:
Sent from the Revolution - User mailing list archive at

More information about the Use-livecode mailing list