DataGrid Allow Editing of Columns Only?

Scott Rossi scott at tactilemedia.com
Wed Aug 17 17:17:52 EDT 2011


Another DG question...

Any way to disable sorting of a column or all columns?  Ideally I would like
to prevent the sort arrow from showing up at all in the column header, but I
can live with it if necessary.

Thanks & 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