HI all,
I have a listview that has buttonset-many widgets (used as toggle buttons) in the list items (picture below)

On sorting the listview, I lose the button states. The data lying underneath is intact. I don't lose the data. It is only the display that causes this issue. Here is the video demonstrating the bug..
https://youtu.be/VCcAuj0Hm6g
Example : I selected(toggled) a button, sorted the listview and the button loses its selected display state. Now, when I click on the button, it does not toggle because the data underneath is not lost and it thinks I unselected it based on the data. I have to click it again to select it.
As a workaround, I tried to get the buttonset using the id (getElementById) and use element.click() function to simulate the clicks. But this selects the listitem (which is the parent) and not the button. I tried event.stopPropogation() to get around this with no luck :/
This looks like a problem exclusive to the buttonset widget.
I have posted this question before. Wondering if there is a fix yet.
Any suggestions would be appreciated !
Regards,
Vikram