Datagrid Default Column Behavior

Peter Haworth pete at
Mon Oct 4 15:44:10 EDT 2010

I guess I'm not understanding this correctly.  Here's what I did,  
assuming the column with the option menu in it is named "OptionColumn"

On the Datagrid Templates card, I see a button named "OptionColumn  
Behavior".  I deleted all the lines from the script for that button  
then hit Apply.  Then I opened the card containing my datagrid but  
still my default column script is only executed for columns that have  
not been customised.

Any ideas?

Pete Haworth

On Oct 4, 2010, at 10:00 AM, use-revolution-request at  

> Message: 5
> Date: Mon, 4 Oct 2010 09:45:02 -0400
> From: Trevor DeVore <lists at>
> Subject: Re: Datagrid Default Column Behavior
> To: How to use Revolution <use-revolution at>
> Message-ID:
> 	<AANLkTimF1Et1p5Pfc_G-VPeMMPD7hf2txG+-xsbq-UyS at>
> Content-Type: text/plain; charset=ISO-8859-1
> On Sun, Oct 3, 2010 at 9:06 PM, Peter Haworth  
> <pete at>wrote:
>> What is the correct way to set the default column behavior of a  
>> datagrid so
>> that the script is entered for columns which have been customised  
>> to contain
>> option menus?
>> I have set the default column behavior property for the datagrid  
>> but suing
>> debug shows that the script is only executed for columns that hve  
>> not been
>> customised in some way.
> When you create a custom column the behavior script of the column  
> template
> is assigned to the behavior that is created alongside the column  
> template.
> The default column behavior only applies to column templates that do  
> not
> have a behavior assigned. Just set the behavior of your new column  
> template
> to empty and then it will inherit the default behavior.
> -- 
> Trevor DeVore
> Blue Mango Learning Systems
> ScreenSteps:
> Releasable Revolution Resources for Developers:

More information about the Use-livecode mailing list