You can also style a Radio Group page item to appear as a Button Group. This is particularly useful when you want to use store the selection in Session State and if you want to Dynamic Actions to perform some client side behavior as you interact with the control.
For example, in several Packaged Apps, this technique is used to switch between different displays of the same data.
Follow the instrutions below to convert a Radio Group item into a Button Group.
Create a Radio Group item and set the following properties:
- Set Number of Columns to the number of buttons you want to have in the button group. In this example, it is set to 3.
- Under List of Values, make sure that Display Extra Values and Display Null Value are set to No
After competing this step, you should have a button group that looks like the item below.
Step 2. Update the Radio Group item's Template Options and set Radio Group Display to Display as Pill Button
That's it. Your Radio Group item will now appear as a Button Group.