Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Oj listview : Buttonset-many (used as toggle button in list item) loses state on sorting listview

Vikram EswarFeb 27 2019 — edited Mar 11 2019

HI all,

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

oj_q1.png

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

Comments
Post Details
Added on Feb 27 2019
7 comments
277 views