Disallow Editing Specified Cells in a Datagrid

Ray ray at linkit.com
Wed Nov 20 16:47:42 EST 2013


No, that wasn't 'exactly' what I was looking for but I wasn't aware of 
that property and I can think of a few cases right off the bat where 
that will come in quite handy so thanks for that tip Peter.

On 11/20/2013 4:29 PM, Peter Haworth wrote:
> Set dgColumnIsEditable["Col 1"] to false.  That applies to the whole column
> of course so not sure if that's what you want.
>
> Pete
> lcSQL Software <http://www.lcsql.com>
>
>
> On Wed, Nov 20, 2013 at 11:03 AM, Ray <ray at linkit.com> wrote:
>
>> Does anybody have a way to disallow double clicking specified cells in a
>> datagrid to edit them while continuing to allow the majority of cells to be
>> edited?
>>
>> I'm currently catching the preOpenFieldEditor message and then sending my
>> own handler which discontinues field editing after it has begun, but by
>> that time the user has already opened the cell editing field.  This looks
>> shabby (when I close it back up) and it might not work well on slower
>> processors.
>>
>> I'd prefer to not let the editing process get started in the first place.
>>
>> Thanks,
>>
>> Ray Horsley
>> LinkIt! Software
>>
>> _______________________________________________
>> 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





More information about the Use-livecode mailing list