PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 2024
→
Obtaining the index of a table where a DnD was dropped?
Obtaining the index of a table where a DnD was dropped?
Started by dev_JP, Oct., 14 2020 4:55 PM - 2 replies
Connect yourself…
dev_JP
#1
Registered member
6 messages
Popularité : +3 (3 votes)
Posted on October, 14 2020 - 4:55 PM
Hey everyone. Hope this as not been asked before.
In essence, what I want to accomplish is assigning employees to a workstation using the drag and drop mechanism. The table on the left contains all the employees, and the table on the right contains all the workstations. A user should be able to drag an employee from the left table into the table on the right and assign that employee to the workstation it was dropped on.
However, I'm unsure on how to proceed with this. As far as I'm aware, there's no way of knowing the index of the row the employee was dropped on. I'm able to get the DnD working and the target table recognizes that a DnD action occurred, but there's no way for me to get the index of the target row to actually create the association.
Did someone else attempt something like this? Is there a better way to do what I want to do?
Thanks in advance.
Report
0
0
dev_JP
#2
Registered member
6 messages
Popularité : +3 (3 votes)
Posted on October, 14 2020 - 6:21 PM
Hello again,
I managed to find the TableInfoXY function which does exactly what I need, in case anyone else runs into the same issue.
Report
1
0
vvido
#3
Registered member
94 messages
Posted on May, 27 2021 - 3:42 PM
Yes, this is exactly what I need.
Thanks a lot !!
Report
0
0
→ Go back to WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text