ChoiceColumn resource type
The choiceColumn on a columnDefinition resource indicates that the column's values can be selected from a list of choices.
JSON representation
Here is a JSON representation of a choiceColumn resource.
{
"allowTextEntry": true,
"choices": ["red", "blue", "green"],
"displayAs": "checkBoxes | dropDownMenu | radioButtons"
}
Properties
Property name | Type | Description |
---|---|---|
allowTextEntry | boolean | If true, allows custom values that aren't in the configured choices. |
choices | collection(string) | The list of values available for this column. |
displayAs | string | How the choices are to be presented in the UX. Must be one of checkBoxes , dropDownMenu , or radioButtons |