Hi jbv,

> Am 04.03.2025 um 19:47 schrieb jbv via use-livecode 
> <use-livecode@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
kl...@major-k.de


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to