Deleting dataGrid columns via code

Mike Kerner MikeKerner at roadrunner.com
Tue Jul 22 16:22:15 EDT 2014


I would hide the columns anyway, then just skip the columns you want to
skip when you do the export.  There isn't, AFAIK, a one-line way of
removing the data the way you want to, however, the process, whether you
want to remove the data, or skip when you export, is very straightforward
and easy-to-do.  Apologies if I'm insulting your skill, but I don't
recognize you from the list, so I'm assuming you're fairly new.

Let's take this off-list if you need more help, since if I am reading what
you are saying correctly, it's a very basic thing that probably doesn't
need to be put here.


On Tue, Jul 22, 2014 at 4:03 PM, Magicgate Software - Skip Kimpel <
skip at magicgate.com> 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 <MikeKerner at roadrunner.com>
> 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 <
> > skip at magicgate.com> 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
> > > 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
> > >
> >
> >
> >
> > --
> > 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
> > 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
> >
> _______________________________________________
> 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
>



-- 
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."



More information about the use-livecode mailing list