Your search did not match any results.
TreeView

Virtual Mode

Documentation

For working with a large amount of data, the TreeView widget provides the Virtual Mode. In this mode, the widget loads a set of child nodes once their parent node is expanded. In this demo, the TreeView is associated with a remote data source. Note that the widget shows a loading indicator, because data loading takes a long time.

@(Html.DevExtreme().TreeView() .DataSource(d => d.OData() .Url("https://js.devexpress.com/Demos/WidgetsGallery/odata/HierarchicalItems") ) .DataStructure(TreeViewDataStructure.Plain) .KeyExpr("Id") .DisplayExpr("Name") .ParentIdExpr("CategoryId") .HasItemsExpr("IsGroup") .VirtualModeEnabled(true) )
using DevExtreme.AspNet.Data; using DevExtreme.AspNet.Mvc; using DevExtreme.NETCore.Demos.Models; using DevExtreme.NETCore.Demos.Models.SampleData; using Microsoft.AspNetCore.Mvc; using Newtonsoft.Json; using System.Collections.Generic; namespace DevExtreme.NETCore.Demos.Controllers { public class TreeViewController : Controller { public ActionResult VirtualMode() { return View(); } } }