Datagrid behaviour and columns sorting

jbv at mozik.fr jbv at mozik.fr
Wed Feb 25 05:21:37 EST 2026


Actually, with a combination of various datagrid properties 
(dgVisibleLines, dgHilitedlines)
I was able to simulate sorting of a column that contains only buttons in 
a short script.

Le 2026-02-23 11:07, Bob Sneidar via use-livecode a écrit :
> My gut feeling is that you have something in the custom behavior that 
> has to be passed.
> 
> Bob S
> 
> 
>> On Feb 22, 2026, at 3:57 AM, jbv via use-livecode 
>> <use-livecode at lists.runrev.com> wrote:
>> 
>> Hi list,
>> 
>> I have a datagrid used as table with a behaviour on column 1 :
>> a button is being added in that column for each row.
>> When I click on other columns headers, the content of the
>> whole datagrid is sorted, except for column 1.
>> Is there a way to have the buttons in col 1 to be sorted
>> along with the contents of the other columns when clicking
>> on the headers ?
>> 
>> Thank you in advance.
>> Best regards,
>> jbv
>> 


More information about the use-livecode mailing list