[Datagrid] How to remove a column behavior? Bug or not?

Trevor DeVore lists at mangomultimedia.com
Mon Apr 26 12:10:18 EDT 2010


On Apr 25, 2010, at 8:30 AM, zryip theSlug wrote:

> How can I remove a column behavior in a datagrid?

The data grid looks for the presence of a control named after the  
column. If you create a custom column template (and accompanying  
behavior) then controls are created on the template card. Deleting the  
column from the list of columns in the data grid won't delete the  
controls that were created.

Take a look at what gets created when you custom a column (scroll down  
to the "A Column Template" step):

http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7311-How-Do-I-Customize-A-Table-s-Columns-

Just delete the group that was created for the column and the button  
containing the behavior for the column. The group is named after the  
column and the button has the column name with " Behavior" appended to  
it.

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




More information about the use-livecode mailing list