Page 1 of 1

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

PostPosted: Tue Dec 01, 2009 3:59 pm
by motorup
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

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

PostPosted: Tue Dec 01, 2009 4:19 pm
by patrick
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.

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

PostPosted: Mon Dec 07, 2009 4:54 pm
by jcompagner
yes please make a case for this.

Re: how to get drop row record during drag n drop in servoy

PostPosted: Thu Jun 07, 2012 9:18 am
by maria
Hi All,

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

Cheers,
Maria

Re: how to get drop row record during drag n drop in servoy

PostPosted: Thu Jun 07, 2012 9:31 am
by maria
Sorry, found it :D event.getRecord()

Cheers,
Maria