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.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 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

Reply via email to