Bonjour Pete, put the dgProp["columns"] of grp "dataGrid1" into tCols put cr & "YourColName" after line 4 of tCols -- or any other place set the dgProp["columns"] of grp "dataGrid1" to tCols
-- set any property of the column : --- set the dgColumnWidth["Stock Val."] of grp "dataGrid1" to "n" set the dgColumnSortType["yourColName"] of grp "dataGrid1" to "numeric" Best regards from Grenoble André Le 12 févr. 2011 à 21:25, Peter Haworth a écrit : > Any advice on how to insert a column into a datagrid by script? > > Pete Haworth > > _______________________________________________ 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