New to Kendo UI for Vue? Start a free 30-day trial

Represents the Kendo UI for Vue TreeListBooleanEditor component. It renders a checkbox that edits a boolean value in a TreeList cell (see example).

Definition

Package:@progress/kendo-vue-treelist

Properties Interface:TreeListBooleanEditorProps

Syntax:

vue
<TreeListBooleanEditor :data-item="dataItem" :field="'fullTime'" :level="[0]" @change="onChange" />

Properties

The index to be applied to the aria-colindex attribute.

class?

string

The custom CSS classes of the cells.

colIndex

number

The index of the column. Use it to apply the aria-colindex accessibility attribute.

colSpan?

number

The column span of the cell.

The data item of the cell.

When set to true, the cell renders an indentation based on its level prop and the icons that expand and collapse the child rows.

expanded?

boolean

The expanded state of the cell.

field

string

The field of the cell.

When set to true, the cell focuses its first input when it mounts.

format?

string

The format of the cell.

Indicates whether the data item of the cell has subitems.

isSelected

boolean

Indicates if the cell is selected.

level

number[]

An array with the indexes of each parent item and the current item in the data tree.

onChange?

(event: { dataItem: any; event: any; field?: string; value?: any }) => void

The event that is fired when the cell value is changed.

Parameters:event{ dataItem: any; event: any; field?: string; value?: any }

onExpandchange?

(event: any, dataItem: any, level: number[]) => void

Fires when the user clicks the expand or collapse icon of the cell.

Parameters:eventanydataItemanylevelnumber[]

A function that overrides the default rendering of the cell.

selectionChange?

(event: { event: any }) => void

The event that is fired when the cell is selected.

Parameters:event{ event: any }