I've found that dgcolumniseditable only seems to affect text columns. If you
have customised a column to include, for example, an option menu, you can
still select an option from it even if the dgcolumniseditable is set to
false.  The only difference that property seems to make on non-text columns
when it is set to false is that if you are tabbing through columns in a row,
the non-text column is skipped over if dgeditable is set to false.


Pete
Molly's Revenge <http://www.mollysrevenge.com>




On Wed, Aug 17, 2011 at 12:37 PM, Scott Rossi <sc...@tactilemedia.com>wrote:

> 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 <sc...@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,
>
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to