Deleting dataGrid columns via code
Phil Davis
revdev at pdslabs.net
Tue Jul 22 17:42:16 EDT 2014
This is much better than my brute force approach!
Phil
On 7/22/14, 1:44 PM, Peter Haworth wrote:
> And you might still be able to hide them depending on how you are getting
> the data to export. There's a dgProps["visible columns"] property you
> could use to get only the columns you want for export.
>
> 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 <
> 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
>>
> _______________________________________________
> 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
>
--
Phil Davis
More information about the use-livecode
mailing list