DataGrid Allow Editing of Columns Only?
Scott Rossi
scott at tactilemedia.com
Wed Aug 17 15:37:19 EDT 2011
Thanks Slug -- guess I didn't read far enough into the docs :-)
Regards,
Scott Rossi
Creative Director
Tactile Media, UX Design
Recently, zryip theSlug wrote:
> On Wed, Aug 17, 2011 at 9:21 PM, Scott Rossi <scott at tactilemedia.com> wrote:
>> Anyone know if it's possible to restrict editing of datagrid cells by
>> column?
>>
>> I would like to allow cell editing for specific columns in a datagrid, while
>> keeping data in other columns locked so that a double click in the locked
>> column triggers a mouseDoubleUp message. Is it possible to do this?
>
> Hi Scott,
>
> Use the dgColumnIsEditable property for locking / unlocking the cells
> of a specific column.
>
> Usage:
> set the dgColumnIsEditable["pTheColumn"] of tMyDataGrid to pValue
>
> Where:
> - pTheColumn is the name of the column
> - pValue is true (unlocked) or false (locked)
>
>
> Best regards,
More information about the use-livecode
mailing list