Yep, what mark said. :) Sorry I wasn't as clear as I should have been.
> > -- it's a two-dimensional array > -- in C++ it's called a hash > -- dgData[column][row] will access a single element > > put the dgData of group "YourGrid" into tArray > > put the keys of tArray -- this will give you the row names > put the keys of tArray[1] -- this will give you the column names > > -- assuming you have a column names "ColumnName" > -- this will set the "ColumnName" of the first row to "hello" > > put "hello" into tArray[1]["ColumnName"] > set the dgData of group "YourGrid" to tArray > > -- > -Mark Wieder > mwie...@ahsoftware.net > > > _______________________________________________ > 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 > _______________________________________________ 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