setting data grid columns by code

Andre Garzia andre at andregarzia.com
Thu Nov 10 10:35:16 EST 2011


On Thu, Nov 10, 2011 at 1:29 PM, Andrew Kluthe <andrew at rjdfarm.com> wrote:

> 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.
>
>
Thanks Andrew, this is very helpful! =)



>  --
> 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 at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
http://www.andregarzia.com -- All We Do Is Code.
http://fon.nu -- minimalist url shortening service.



More information about the use-livecode mailing list