| id | dxTreeListColumn.cellTemplate |
|---|---|
| type | template |
Specifies a custom template for data cells.
#include common-ref-elementparam with { element: "current cell" }
The cell's properties.
The column's properties.
The index of the cell's column.
The UI component's instance.
The data of the row to which the cell belongs.
The cell's display value. Differs from the value field only when the column uses lookup or calculateDisplayValue.
The cell's row.
The index of the cell's row. Begins with 0 on each page.
Refer to Column and Row Indexes for more information.
The row's type.
displayValue after applying format and customizeText.
The cell's raw value.
Allows you to track a variable and respond to value changes. Applies when repaintChangesOnly is true.
This function has the following parameters:
-
getter(data): Function
A function that returns the variable that should be tracked. -
handler(newValue): Function
A function called when this variable changes.
A template name or container.
[note]If you implement two-way data binding in your template, make sure that you have switched off the built-in implementation of this feature by setting the twoWayBindingEnabled property to false.
#include btn-open-demo with { href: "https://js.devexpress.com/Demos/WidgetsGallery/Demo/TreeList/Overview/" }
#####See Also#####