Button group actions

I've noticed that there is no way to reset all buttons in a button group to Normal state. I have a javascript workaround (provided below) but it would be nice to have as a feature for users who aren't as techy.

There could also be an argument to do the same for Disabled and Visited states.

My workaround:

First, add a class (i.e. "btngrp") to all of the buttons in a group.

When you want to reset the group, run the following javascript:


 window[triv$(this).attr("id")].setState("normalState"); // disabledState, visitedState


Discussion (1)

Could you just use actions (maybe on another button) that just set the states of each button in the group to Normal?