columns - 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: http://runtime-revolution.278305.n4.nabble.com/setting-data-grid-columns-by-code-tp4023932p4024020.html Sent from the Revolution - User mailing list archive at Nabble.com. _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode