<style>
//Here #tree1 specifies the id of the TreeView
#tree1.e-treeview-wrap .e-icon.e-minus:before {
//You can specify the type of icon needed here
content: '\e833'
}
#tree1.e-treeview-wrap .e-icon.e-plus:before {
//You can specify the type of icon needed here
content: '\e834'
}
</style> |
@(Html.EJ().TreeView("tree2").TreeViewFields(field => field.Datasource((IEnumerable<LoadData>)ViewBag.datasource).Id("Id").ParentId("Parent").Text("Text")).ExpandOn("click"))
<style>
#tree1.e-treeview-wrap .e-icon.e-minus:before {
//Specifying content as empty string removes the icon
content: ''
}
#tree1.e-treeview-wrap .e-icon.e-plus:before {
//Specifying content as empty string removes the icon
content: ''
}
</style>
|