What are the steps to configure button group?

please explain: what are the steps to configure button group?

@Sanjali_Mehta

  1. Add the Element to the Canvas
    Drag and drop the button group element onto the canvas.
  2. Populate the Element
    Populate the button group either using enumeration or dynamic data from a service.
  3. Example: Using Enumeration
  • Create an enumeration in the data model by clicking on the “Create Enumeration” option.
  • Define the key-value pairs for the enumeration:
    • Key: "a", Value: "Married"
    • Key: "b", Value: "Single"

  • Navigate to the Properties section of the button group.
  • Under the Input Source, select the enumeration you just created.

Notes:

  1. You can use the Data Store section to populate the button group with dynamic data.
  2. The Default Selected Index property allows you to set a pre-selected button. For example, if you set the index to 1, the first button will be pre-selected when the page loads.

Output for the same is
Screenshot from 2024-12-14 23-06-45

2 Likes