Redigera

Dela via


ChoiceColumn resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

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 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