Checkbox
Basic
Variant
Change other column data
The changeOtherColumnOnClick property is used to alter another column. The most common use case is to create a two checkboxes interaction.
<CodePreview
content={CheckboxGroupExampleSource}
/>
Read only
<CellCheckboxView columnProps={{ variant: 'error' }} />
- View mode
- Edit mode
50
50
50
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
changeOtherColumnOnClick | columnChange | No | If defined, another column value is changed when the value changes | |
variant | 'primary' | 'error' | No | 'primary' |
columnChange
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
keyColumn | string | Yes | The column to change | |
value | any | Yes | The new value |