On Tue, Sep 20, 2011 at 9:19 PM, Pete <p...@mollysrevenge.com> wrote: > Thanks zryip, that does fix the problem. But I have to say that it seems > really cumbersome to have to do this. Does it apply to any properties of > the column?
Hi Pete, - The dgColumnAlignment is a column property which directly affected a control in the default template for a datagrid. It is an equivalent for setting the alignment property of the template field. - The second is the dgColumnEditable property which allows or not the edition of the default template field. The way for customizing the template and the column behavior script, offers great possibilities to developers, far away that managing a simple field in the column. If one customizes a column, the datagrid library just assumes one have replaced the default template field by 1 or several controls. So, the developers have and can manage those controls the way they want, for example: - by setting the alignment of the control (the field or whatever other control we could have added in the template) - by setting the effect they want for a non-editable column: lock the field, disable a menu button or button, etc. Best regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc _______________________________________________ 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