Hi Skip, Get hold of the dgProps["columns"] property of your datagrid. It is a line delimited list of the columns in the order they appear so you can delete the lines corresponding to the columns you want to delete, then set that property.
Presumably you have a way to get the columns back again! Pete Pete lcSQL Software <http://www.lcsql.com> Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html> On Tue, Jul 22, 2014 at 1:03 PM, Magicgate Software - Skip Kimpel < [email protected]> wrote: > Mike, can't just hide them as the data will then be exported out to a file. > > SKIP > > > On Tue, Jul 22, 2014 at 3:56 PM, Mike Kerner <[email protected]> > wrote: > > > the easiest way might be to just hide the columns you don't want to have > > show - use dgColumnIsVisible[column], that way you don't have to screw > > around with your data. > > > > > > On Tue, Jul 22, 2014 at 3:30 PM, Magicgate Software - Skip Kimpel < > > [email protected]> wrote: > > > > > Good afternoon, > > > > > > I have a datagrid that I am reading into tTempText. Once it has been > > read > > > in, I need to delete column X, column Y and column Z. > > > > > > X, Y and Z constantly change but I have those numbers before I start > > > processing the request. > > > > > > Suggestions to do this properly? > > > > > > SKIP > > > _______________________________________________ > > > use-livecode mailing list > > > [email protected] > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > > > -- > > On the first day, God created the heavens and the Earth > > On the second day, God created the oceans. > > On the third day, God put the animals on hold for a few hours, > > and did a little diving. > > And God said, "This is good." > > _______________________________________________ > > use-livecode mailing list > > [email protected] > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
