How do I remove a custom column behavior

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
dpatterson
Posts: 24
Joined: Wed Jan 18, 2017 5:38 pm

How do I remove a custom column behavior

Post by dpatterson » Sun Jan 22, 2017 6:06 pm

Hello again.
Making progress. Yay!

Along the way to creating a default column behavior for a datagrid, I created a custom behavior for a single column in that datagrid.
Now that I have the default behavior working, I want to remove the column-specific behavior.

Seems like it should be simple (and it probably is), I just haven't figured out how, yet.
Deleting the contents of the behavior button script leaves the column with no behavior at all. Oops. Well, that makes sense, actually.

So, how do I remove a custom behavior for a specific column?
TIA,
Dave

jameshale
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 489
Joined: Thu Sep 04, 2008 6:23 am

Re: How do I remove a custom column behavior

Post by jameshale » Sun Jan 22, 2017 11:06 pm

Open the script for a non customized column.
Copy that script.
Open your customized script, select all and paste.

In other words simply replace your customized script with a script from one of the uncustomized columns.

Post Reply