0

Customize tooltip of dragged selected item

asked 2016-10-27 11:01:02 +0800

vvico gravatar image vvico
3 2

Hi all,

I have a problem on drag items when there are multiple items selected, the problem is that it creates a tooltip with the name of all selected items but I only want to show one.

How can i do for modify the tooltip to show only the element dragged and not the selected items?

Listitems are created dynamically.

Thanks.

delete flag offensive retag edit

2 Answers

Sort by » oldest newest most voted
0

answered 2016-10-30 08:15:01 +0800

Darksu gravatar image Darksu
1991 1 4

Hello vvico,

The following fiddle shows the number of dragged items, so you could modify based on your request.

http://zkfiddle.org/sample/393nlq1/3-Multiple-drag-finetune

Best Regards,

Darksu

link publish delete flag offensive edit
0

answered 2016-10-31 07:50:28 +0800

vvico gravatar image vvico
3 2

updated 2016-11-10 11:55:24 +0800

Hi Darksu, i tested your code and works very well, but still doesn´t be my solution, anyways it helped me a lot and i will work on this code :) thank you so much!

Edit: work done!! i just changed the msg to : msg = item.getLabel() to get the label of the dragged item no matter the selected items. Thanks you again

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2016-10-27 11:01:02 +0800

Seen: 41 times

Last updated: Nov 10 '16

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More