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

zryip theSlug zryip.theslug at gmail.com
Mon Apr 26 13:16:05 EDT 2010


2010/4/26 Trevor DeVore <lists at mangomultimedia.com>:
> 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.
>

My attempt to customize a column has consisted to lock the content of
the column. I was only in the code. But I understand now why I
encountered the problem.

Thanks for your answer Trevor. 8-)

-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc



More information about the use-livecode mailing list