TreeListNumericEditor
Represents the Kendo UI for Vue TreeListNumericEditor component. It renders a NumericTextBox that edits a number value in a TreeList cell (see example).
Definition
Package:@progress/kendo-vue-treelist
Properties Interface:TreeListNumericEditorProps
Syntax:
<TreeListNumericEditor :data-item="dataItem" :field="'salary'" :level="[0]" @change="onChange" />
Properties
ariaColumnIndex
number
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.
dataItem
any
The data item of the cell.
expandable?
boolean
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.
focusInputOnMount?
boolean
When set to true, the cell focuses its first input when it mounts.
format?
string
The format of the cell.
hasChildren?
boolean
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.
onExpandchange?
(event: any, dataItem: any, level: number[]) => void
Fires when the user clicks the expand or collapse icon of the cell.
render?
any
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.