FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
Obtaining the index of a table where a DnD was dropped?
Obtaining the index of a table where a DnD was dropped?
Débuté par dev_JP, 14 oct. 2020 16:55 - 2 réponses
Connectez-vous…
dev_JP
#1
Membre enregistré
6 messages
Popularité : +3 (3 votes)
Posté le 14 octobre 2020 - 16:55
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.
Signaler
0
0
dev_JP
#2
Membre enregistré
6 messages
Popularité : +3 (3 votes)
Posté le 14 octobre 2020 - 18:21
Hello again,
I managed to find the TableInfoXY function which does exactly what I need, in case anyone else runs into the same issue.
Signaler
1
0
vvido
#3
Membre enregistré
94 messages
Posté le 27 mai 2021 - 15:42
Yes, this is exactly what I need.
Thanks a lot !!
Signaler
0
0
→ Revenir à WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte