Hi Carlos Munoz,
Thanks for contacting Syncfusion support.
You can change the line height of TreeView node using cssClass property. The specified custom class will be added in root of TreeView component. Based on this class, you can customize the TreeView node as shown below,
|
[script]
var treeObj = new ej.navigations.TreeView({
cssClass: 'custom',
fields: { dataSource: localData, id: 'id', parentID: 'pid', text: 'name', hasChildren: 'hasChild' }
});
treeObj.appendTo('#tree');
[style]
.custom.e-treeview .e-list-text {
line-height: 24px;
}
|
Please refer to below help document to know more about TreeView component.
Please let us know further assistance on this.
Regards,
Piramanayagam R