Skip to main content


 

Symptoms


User wants to display Radio Button List in a column of a List View, so that an action can be specified for each row of records.

For example, beside displaying the details of a record in each row, user wants to add an additional column that contains radio buttons to select the action to perform for that record, and then perform bulk actions after that by clicking on a button.

 

Diagnoses


It is not possible to use Radio Button List control in a List View column for the current version of SmartForms (version 4.6.11 or earlier).
 

Resolution

For the current version of SmartForms (4.6.11 or below), it is not possible to insert radio buttons or drop down list into a column on a List View. The purpose of a List View is to display data in a table format, so the columns are expecting to receive and display a value, not controls.

One possible workaround is as follows:

1. Create Editable List View, and disable adding of new rows, but allow editing a row

2. Make sure the SmartObjects binding to the editable list has the Actions property

3. Edit "When the View executed List Item double click" rule and remove the edit list row action

4. Add new action in "When the View executed List Item double click" rule to open a subform or subview

5. For the layout, under the "Add/Edit Item"header, change the input control for Action to use radio button list

6. Configure properties of radio button list to set list of allowable options

7. When user wants to select an action on a row, user will have to select the row, then click on the Edit toolbar button and then select the action




 
Be the first to reply!

Reply