I’m trying to implement reordering of a listbox on a web app and it’s not working.
If I turn on “allow row reordering” and drag an item to a new location, then attempt to get the new location by using the “nelectedrowindex”, it appears that the selectedrowindex is NOT changing.
This is pretty easy to test. If you check the selectedrowindex value before moving a row and then check it again after moving the row, it does not change.
Tested the same code on a desktop app and it works fine. Does not work on the web.
The row does move on screen, but if you then try to find out what the “nelectedrowindex” is, it remains the original location, not the new location. I’m going to create a small project to demonstrate it. I have the same code in a desktop app and it works correctly.
Created a new case report for this issue. Title is: " Web selectedrowindex is not updated when re-ordering rows"
I also included a desktop app and a web app with identical code to demonstrate that the “selectedrowindex” DOES NOT get updated when re-ordering rows. If anyone wants copies of the apps, send me a private message. For simple code.