how to get drop row record during drag n drop in servoy 5

Hi all, I just began to use Servoy 5 new drag n drop feature.

It almost complete… Did anyone figured out how to determine on what record the user dropped?

By using the event object generated by servoy, it’s possible to get the destination form name, element name, column name… but not the record that was dropped on.

Without this feature it’s impossible to reorder record using drag n drop since you need to obtain the dropped on record sort order.

Thanks

Philippe

I remember a discussion at ServoyCamp about this. Currently, there is no way as far as I recall. I think what you could do is make a request in the support system to have a dropIndex added to the event. That would be the index of the row the user dropped on.

yes please make a case for this.

Hi All,

So, do we have dropIndex in Servoy 6.1? :D

Cheers,
Maria

Sorry, found it :D event.getRecord()

Cheers,
Maria