Datagrid question
Klaus major-k
klaus at major-k.de
Tue Mar 4 14:07:12 EST 2025
Hi jbv,
> Am 04.03.2025 um 19:47 schrieb jbv via use-livecode <use-livecode at lists.runrev.com>:
>
> Le 2025-03-04 13:07, Klaus major-k via use-livecode a écrit :
>> ...
>> set the dgProp["sort by column"] of group "your DG here..." to empty
>> ...
> Well, actually it doesn't work as expected : the columns aren't sorted
> when filled with data, but users can still click on column headers and
> sort the data. And that's what I'd like to hinder : clicking on the
> column headers shoudn't do anything. I just need the datagrid to
> display data in a certain order for checking before saving.
yes, sorry, misinterpreted this command.
Add this "dummy" script to the DG group and that's it!
--------------------------------
on SortDataGridColumn pColumn
##
end SortDataGridColumn
--------------------------------
> jbv
Bst
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