how to read drag and drop list as shown on screen
Posted: Thu Apr 17, 2025 11:05 pm
I have built a VL web dialog, based upon the xDemoWebDragandDrop, to build a Left list of items to choose from, and a Right list for the selected items, and allow changing of the items sequence. All good so far, till comes time to save the values from the list.
When an item is dragged from the Left to the Right, the item.entry value is recorded. When I use SelectList to read the Right list, it reads the list in the item.entry sequence, not the display shown sequence.
How can I read the Right list, in the sequence as shown on the display (top down)?
End result I am trying to achieve, is read the list as shown in order of the Right list displayed, incrementing a sequence field, and then I will save this to a file in the correct sequence.
When an item is dragged from the Left to the Right, the item.entry value is recorded. When I use SelectList to read the Right list, it reads the list in the item.entry sequence, not the display shown sequence.
How can I read the Right list, in the sequence as shown on the display (top down)?
End result I am trying to achieve, is read the list as shown in order of the Right list displayed, incrementing a sequence field, and then I will save this to a file in the correct sequence.