Datagrid behaviour and columns sorting

Bob Sneidar bobsneidar at iotecdigital.com
Wed Mar 4 11:00:31 EST 2026


Wait, you are sorting by a column that contains only buttons? 

Bob S


> On Feb 25, 2026, at 2:21 AM, jbv via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> 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
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



More information about the use-livecode mailing list