Hi Kalum,
Thank you for using Syncfusion products.
We suggest you to use Height property to achieve your requirement in TreeView. You can use this to restrict height of the TreeView for scrollbars. Please refer the below code example,
[CSHTML]
|
@(Html.EJ().TreeView("tree").TreeViewFields(s => s.Datasource((IEnumerable<loadondemand>)ViewBag.datasource).Id("id").ParentId("pid") .Text("name").HasChild("hasChild").Expanded("expanded")).Height("100px").Width("250px")) |
Please try the above solution and check whether this fulfilling your requirement. If not, please get back to us with more details.
Regards,
Shanmugaraja K