Maximize productivity with
30% off* for a limited time
using BOOSTDEV30.
Includes 3- and 5-packs.
*Some exclusions may apply.New Product LaunchBoldDesk: Help desk ticketing software starts at $10 for 3 agents.
Try it for free.
<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>
|