Datagrid Default Column Behavior
pete at mollysrevenge.com
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.
On Oct 4, 2010, at 10:00 AM, use-revolution-request at lists.runrev.com
> Message: 5
> Date: Mon, 4 Oct 2010 09:45:02 -0400
> From: Trevor DeVore <lists at mangomultimedia.com>
> Subject: Re: Datagrid Default Column Behavior
> To: How to use Revolution <use-revolution at lists.runrev.com>
> <AANLkTimF1Et1p5Pfc_G-VPeMMPD7hf2txG+-xsbq-UyS at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
> On Sun, Oct 3, 2010 at 9:06 PM, Peter Haworth
> <pete at mollysrevenge.com>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
> is assigned to the behavior that is created alongside the column
> The default column behavior only applies to column templates that do
> have a behavior assigned. Just set the behavior of your new column
> to empty and then it will inherit the default behavior.
> Trevor DeVore
> Blue Mango Learning Systems
> ScreenSteps: http://www.screensteps.com
> Releasable Revolution Resources for Developers:
More information about the Use-livecode