Re: Datagrid Default Column Behavior

2010-10-05 Thread Trevor DeVore
On Mon, Oct 4, 2010 at 3:44 PM, Peter Haworth p...@mollysrevenge.comwrote:

 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.


Deleting the script doesn't change the fact that the button is assigned as
the behavior for the OptionColumn column. You need to set the behavior
property of the OptionColumn group on you template card to empty.
Otherwise you have a column template with no script at all (because you
deleted the script in OptionColumn Behavior).

-- 
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Releasable Revolution Resources for Developers:
http://revolution.bluemangolearning.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Datagrid Default Column Behavior

2010-10-05 Thread Peter Haworth

OK, got it, misunderstood what to clear out.  All works fine now.

Pete Haworth

On Oct 5, 2010, at 9:22 AM, use-revolution-requ...@lists.runrev.com  
wrote:



Message: 20
Date: Tue, 5 Oct 2010 08:37:07 -0400
From: Trevor DeVore li...@mangomultimedia.com
Subject: Re: Datagrid Default Column Behavior
To: How to use Revolution use-revolution@lists.runrev.com
Message-ID:
aanlktimjlfqoz6eod_lbkxpqnjes2iz0c4gxrj5gu...@mail.gmail.com
Content-Type: text/plain; charset=ISO-8859-1

On Mon, Oct 4, 2010 at 3:44 PM, Peter Haworth  
p...@mollysrevenge.comwrote:


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.




Deleting the script doesn't change the fact that the button is  
assigned as
the behavior for the OptionColumn column. You need to set the  
behavior

property of the OptionColumn group on you template card to empty.
Otherwise you have a column template with no script at all (because  
you

deleted the script in OptionColumn Behavior).

--
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Releasable Revolution Resources for Developers:
http://revolution.bluemangolearning.com


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Datagrid Default Column Behavior

2010-10-04 Thread Trevor DeVore
On Sun, Oct 3, 2010 at 9:06 PM, Peter Haworth p...@mollysrevenge.comwrote:

 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: http://www.screensteps.com
Releasable Revolution Resources for Developers:
http://revolution.bluemangolearning.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Datagrid Default Column Behavior

2010-10-04 Thread Peter Haworth
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-requ...@lists.runrev.com  
wrote:



Message: 5
Date: Mon, 4 Oct 2010 09:45:02 -0400
From: Trevor DeVore li...@mangomultimedia.com
Subject: Re: Datagrid Default Column Behavior
To: How to use Revolution use-revolution@lists.runrev.com
Message-ID:
aanlktimf1et1p5pfc_g-vpemmpd7hf2txg+-xsbq-...@mail.gmail.com
Content-Type: text/plain; charset=ISO-8859-1

On Sun, Oct 3, 2010 at 9:06 PM, Peter Haworth  
p...@mollysrevenge.comwrote:


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: http://www.screensteps.com
Releasable Revolution Resources for Developers:
http://revolution.bluemangolearning.com



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution