{/* Do not edit this file. It is automatically generated by API Documenter. */}


##TreeTemplateEvent

Template event setting information of [TreeTemplateOptions](/refs/Interface/TreeTemplateOptions){/* */}

**Signature:**

```typescript
export interface TreeTemplateEvent extends TemplateEvent
```
**Extends:** [TemplateEvent](/refs/Interface/TemplateEvent)

## Remarks

`renderCallback`{/* */} is called when TreeRenderer is updated.

\[Superclass\]

[TemplateEvent](/refs/Interface/TemplateEvent)

## Example


```js
treeView.treeOptions.templateOptions = {
 template: `<input type='button'>`,
 templateEvents: [
 { selector: "input[type='button']",
 event: {},
 renderCallback(tree, model, element, initialize) {
 element.value = model.value;
 }
 }
 ]
}
```

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [renderCallback](/refs/Interface/TreeTemplateEvent#rendercallback) | [TreeTemplateEventCallback](/refs/realgrid#treetemplateeventcallback) | Callback called when TreeRenderer is redrawn |

## Properties Desc

### renderCallback

Callback called when the TreeRenderer is redrawn

`Type` - [TreeTemplateEventCallback](/refs/realgrid#treetemplateeventcallback)

**Remarks:**

Since it is called frequently, it may cause performance degradation when performing time-consuming tasks.

<hr/>