I have disabled toggling in button bar. this works fine. However previously selected button bar remains selected.
Here is the code:
if(event.newIndex == -1) {
ButtonBarButton(event.target.dataGroup.getElementAt(event.oldIndex)).selected = true;
}
Here is the steps to reproduce issue
1) Click on any button in the button bar
2) clicked button becomes highlighted
3) Agains click on same button, it becomes highlighted
4)Now, you click on other button, both previous button and newly selected button becomes highlighted
Please advice,
thanks,