Datagrid question

Klaus major-k klaus at major-k.de
Tue Mar 4 13:07:36 EST 2025


Hi jbv,

> Am 04.03.2025 um 18:56 schrieb jbv via use-livecode <use-livecode at lists.runrev.com>:
> 
> Le 2025-03-03 16:05, Bob Sneidar via use-livecode a écrit :
>> What you are looking for is dgProp [“column widths”] which takes a comma delimited list.
>> The API for datagrid properties is here: https://lessons.livecode.com/m/datagrid/l/7343-data-grid-properties
>> Bob S
> 
> Thank you, that works.
> New question : is it possible to make sorting by column
> unavailable for a whole table datagrid ?
> Or should I loop through all columns names and set a
> specific property for each ?

...
set the dgProp["sort by column"] of group "your DG here..." to empty
...

> Thank you in advance.
> jbv

Best

Klaus
--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
klaus at major-k.de




More information about the use-livecode mailing list