GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEV
,
WEBDEV
e
WINDEV Mobile
Inicio
|
Mensagens recentes
|
Conecte-se...
|
Disconnect
|
Português
Inicio
→
WINDEV 2024
→
Obtaining the index of a table where a DnD was dropped?
Obtaining the index of a table where a DnD was dropped?
Iniciado por dev_JP, out., 14 2020 4:55 PM - 2 respostas
Conecte-se…
dev_JP
#1
Membro registado
6 mensagems
Popularité : +3 (3 votes)
Publicado em outubro, 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.
Denunciar
0
0
dev_JP
#2
Membro registado
6 mensagems
Popularité : +3 (3 votes)
Publicado em outubro, 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.
Denunciar
1
0
vvido
#3
Membro registado
94 mensagems
Publicado em maio, 27 2021 - 3:42 PM
Yes, this is exactly what I need.
Thanks a lot !!
Denunciar
0
0
→ Voltar para WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versões anteriores)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Tipo de Pesquisa
Apenas tópicos
Todas as mensagens
Período de pesquisa
Qualquer momento
Última hora
Últimas 24 horas
Semana passada
Mês passado
Ano passado
Cancelar
Pré-visualização da sua mensagem
Adicionar imagem
Importar uma imagem de uma URL
Enviar uma imagem a partir do seu disco
Deixe um ficheiro ou clique em "Procurar ..."
ou
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto