new datagrid ONLY reorder

Klaus major-k klaus at major-k.de
Tue Dec 29 12:32:03 EST 2020


Hi friends,

I just took a look at the new DG features as shown in the lesson:
<https://lessons.livecode.com/m/datagrid/l/1304860-how-do-i-reorder-rows-in-a-data-grid>

After setting -> set the dgEditMode of group "xxx" to true
we have an nice SVG on the left side to delete the row and a nice one on the right side to reorder
the lines in the datagrid.

Is ist possible to only have the REORDER SVG to be shown?
I only want my users to reorder the lines but not delete them!

The lessons says "No":
...................................................................................
These properties can be set to the long of of an object or empty. 

Setting the "edit mode action select control" will change the control that appears on the left, 
setting the "edit mode reorder control" will change the control on the right. 

!!!!
Setting either of these properties to empty will result in the control not being displayed!
!!!!
...................................................................................
Possible? If yes, how?

I tried with some nifty solutions with a listfield and a nice script, but all is working fine on the Mac
and NOT on Windows. One time "the mosueline" is not recognized resulting in empty variable etc...
very annoying, so I want to try this with a datagrid.


Best

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





More information about the use-livecode mailing list