Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
142921 | Feb 25,2019 11:22 AM UTC | Mar 14,2019 11:42 AM UTC | ASP.NET MVC | 9 |
![]() |
Tags: TreeView |
<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>
|
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.