We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

The ASP.NET Core TreeGrid is a feature-rich control used to visualize self-referential, hierarchical data effectively in a tabular format (a tree-like structure). Its rich feature set includes many functionalities: data binding, virtualization, editing, sorting, searching, filtering, infinite scrolling, paging, frozen rows and columns, exporting to multiple formats, aggregating rows, and more.


Why choose Syncfusion ASP.NET Core Tree Grid?

ASP.NET Core Tree Grid high performance.

High performance

Display data hierarchically, its optimized design provides high performance and load millions of records in just a few seconds.

ASP.NET Core Tree Grid seamless data binding.

Seamless data binding

Bind data seamlessly with various local and remote data sources such as JSON, OData, WCF, and RESTful web services with the help of a data manager.

ASP.NET Core Tree Grid hierarchical grid.

Self-referential, hierarchical grid

Tree Grid is designed to visualize  self-referential and hierarchical in a tabular format. This in turns displays the relationship between parent and child records.

ASP.NET Core Tree Grid flexible editing.

Flexible editing

The ASP.NET Core Tree Grid performs create, read, update, and delete operations (CRUD) with observable data. It edits with an Array of JSON or remote data service with the data manager.

ASP.NET Core Tree Grid adapts to any resolution.

Adapts to any resolution

The Tree Grid has a highly responsive layout and an optimized design for desktops, touch screens, and smart phones. It works well on all mobile phones that use iOS, Android, or Windows OS.

ASP.NET Core Tree Grid create your own template designs.

Create your own template designs

Using templates, users can create a custom UI in the ASP.NET Core Tree Grid based on their application need using a wide range of template options.

ASP.NET Core Tree Grid customizable themes.

Attractive customizable themes

Cutting edge design with 5+ built-in themes such as Fluent, Tailwind CSS, Bootstrap, Material, Fabric, and more. Utilize the online Theme Studio tool to customize themes of Tree Grid easily.

ASP.NET Core Tree Grid global and local.

Globalization and localization

Enables users from different locales to use the Tree Grid by formatting dates, currency, and numbering to suit their preferences.


ASP.NET Core Tree Grid Code Example

Easily get started with the ASP.NET Core Tree Grid using a few simple lines of CSHTML and C# code example as demonstrated below. Also explore our ASP.NET Core Tree Grid Example that shows you how to render and configure a TreeGrid in ASP.NET Core.

<div class="control-section">
    <ejs-treegrid id="TreeGrid" dataSource="ViewBag.dataSource" height="380" childMapping="Children" treeColumnIndex="1" >
         <e-treegrid-columns>
             <e-treegrid-column field="TaskId" headerText="Task ID" textAlign="Right" width="95"></e-treegrid-column>
             <e-treegrid-column field="TaskName" headerText="Task Name" width="220"></e-treegrid-column>
             <e-treegrid-column field="StartDate" headerText=" Start Date" textAlign="Right" format="yMd" type="date" width="115"></e-treegrid-column>
             <e-treegrid-column field="EndDate" headerText=" End Date" textAlign="Right" format="yMd" type="date" width="115"></e-treegrid-column>
             <e-treegrid-column field="Duration" headerText="Duration" textAlign="Right" width="100"></e-treegrid-column>
             <e-treegrid-column field="Progress" headerText="Progress" textAlign="Right" width="105"></e-treegrid-column>
             <e-treegrid-column field="Priority" headerText="Priority" width="100"></e-treegrid-column>
         </e-treegrid-columns>
      </ejs-treegrid>
</div>
public partial class TreeGridController : Controller
    {       
        public IActionResult DefaultFunctionalities()
        {
            var order = TreeData.GetDefaultData();
            ViewBag.dataSource = order;
            return View();
        }       
    }

Adaptive UI layout

The ASP.NET Core Tree Grid user interface is customized and redesigned for great views and usability on small screens. Filter, search, and edit dialogs are adaptive to the screen size.

ASP.NET Core TreeGrid Adaptive UI Layout


ASP.NET Core Tree Grid Column.

Column

Columns define the schema of a data source in ASP.NET Core Tree Grid. Features include formatting, column definitions, text wrapping, column chooser, column menu, column reordering, and other important features.


Paging

Through paging, a segment of data can be viewed from the assigned data source. The ASP.NET Core Tree Grid offers built-in pager UI with options to customize its entire UI. It also has an on-demand paging mode for effective data retrieval from remote web services.

ASP.NET Core Tree Grid Paging.


ASP.NET Core Tree Grid Sorting.

Sorting

The ASP.NET Core Tree Grid allows users to sort a column by simply clicking on the header. A Ctrl + header click performs multi-sorting. Sort data in either ascending or descending order.


Filtering

Filtering helps view specific or related records that meet a given filtering criteria. It supports various filter types that include powerful Excel-like filter. The ASP.NET Core Tree Grid filter allows users to choose appropriate filter types, define their own custom filtering logic, and customize the filtering UI based on their application needs. Filtering with related parent or child records can be defined.

ASP.NET Core Tree Grid Filtering.


ASP.NET Core Tree Grid Cell Selection.

Selection

ASP.NET Core Tree Grid allows selecting rows or cells. One or more rows or cells can also be selected by holding Ctrl or Command, or programmatically.


Row

Rows in Tree Grid represents each data object information from the data source. It supports expanding / collapsing child rows, reordering of rows, indent / outdent rows to change its hierarchy levels and much more features.

Rows in ASP.NET Core Tree Grid Chart.


ASP.NET Core TreeGrid Editing.

Editing

The ASP.NET Core TreeGrid provides full support to create, read, update, and delete operations (CRUD). In addition to built-in editor components to edit a particular column value, using template support users can create custom editor components that suit their application needs. It performs editing operations with JSON collection or remote data service with the help of data manager.


Aggregation

Aggregates for column values can easily be displayed using the aggregate feature. Aggregates can be customized to show their value in every hierarchy with a set of predefined summary types.

ASP.NET Core TreeGrid Aggregation.


ASP.NET Core TreeGrid with Freeze columns

Frozen columns

Frozen columns are visible at the left or right or both the sides of the tree grid and make the remaining grid content scrollable. It is mainly used to compare cell values.


You can search the records using the search method. Integrate search text box in the ASP.NET Core TreeGrid’s toolbar by adding search items.

ASP.NET Core TreeGrid with search


ASP.NET Core TreeGrid with tooltip

Custom tooltip

ASP.NET Core TreeGrid component allows you to set tooltips for treegrid cells. Hover over the tree nodes to display tooltip text.


Exporting

Export to PDF, CSV, and Excel formats in ASP.NET Core Tree Grid.

Excel, PDF, CSV export

Easily export the Tree Grid control in various file formats such as Excel, PDF, or CSV. Users can also programmatically customize the exported document.

Print ASP.NET Core Tree Grid content.

Print

Users can print data either by using the print option from the toolbar or programmatically. Print all the rows of a ASP.NET Core Tree Grid regardless of the number of pages or print the currently viewed page alone.


Additional features

ASP.NET Core TreeGrid with row height

Row height

Row height is a major factor when displaying the number of records in the view port, and it is effortlessly customizable based on the application’s UI requirement. It is also possible to set row height conditionally.

Copy to clipboard from ASP.NET Core TreeGrid

Copy to clipboard

The clipboard provides an option to copy selected rows or cells’ data into the clipboard. Use Ctrl+C and Ctrl+Shift+H key combinations to copy data with and without headers, respectively.

ASP.NET Core TreeGrid with context menu

Context menu

The context menu improves user action with ASP.NET Core Tree Grid using popup menu. It appears when the cell, header, or pager is right clicked. In addition to built-in default menu items, it allows you to add custom context menu items.

Width and height in ASP.NET Core TreeGrid.

Width and height

Allows changing the ASP.NET Core Tree Grid size by setting the width and height properties. Horizontal and vertical scrollbars will appear when the content overflows the ASP.NET Core Tree Grid element. For the ASP.NET Core Tree Grid to fill its parent container, the user must simply set the height and width to 100%.

ASP.NET Core TreeGrid with Stacked headers

Stacked headers

Stacked headers allow grouping and visualizing column headers in a stacked manner. There is no limit to the number of columns that can be stacked. Allows the user to perform all ASP.NET Core TreeGrid actions, even when the columns are stacked.


Accessibility

Keyboard navigation in ASP.NET Core TreeGrid.

Keyboard navigation

The Tree Grid ensures that every cell is keyboard accessible. Major features like expanding or collapsing child rows, sort, select, and edit can be performed using keyboard commands alone; no mouse interaction required. This helps in creating highly accessible applications using this component.

Accessibility and screen reader support in ASP.NET Core Tree Grid.

Screen reader

The ASP.NET Core Tree Grid has complete WAI-ARIA accessibility support. Its UI includes high-contrast visual elements, helping visually impaired people have the best viewing experience. Also, the valid UI descriptions are easily accessible through assistive technologies such as screen readers.

Show right-to-left language in ASP.NET Core Tree Grid.

Right to left (RTL)

Right-to-left rendering allows displaying the text and layout of the ASP.NET Core Tree Grid from right to left. This improves the user experience and accessibility for RTL languages.





Other supported frameworks

Tree Grid is also available in Blazor, Angular, React, Vue and JavaScript frameworks. Check out the different Tree Grid platforms from the links below,

Supported browsers

The ASP.NET Core Tree Grid works well with all modern web browsers such as Chrome, Firefox, Microsoft Edge, Safari, and Opera.

Supported browsers

85+ ASP.NET CORE UI CONTROLS

Frequently Asked Questions

Syncfusion ASP.NET Core Tree Grid provides the following features:

  • Load large amounts of data by dynamically loading child data on demand.
  • Include flexible UI interactions like expanding and collapsing parent records, dialog editing, and more.
  • Flexible data binding with support to use local and remote data sources such as JSON, RESTful services, OData services, and WCF services.
  • One of the best ASP.NET Core Tree Grid in the market that offers feature-rich UI to interact with the software.
  • Attractive UI appearance with built-in themes such as fabric, bootstrap, etc.
  • Simple configuration and API.
  • Supports all modern browsers.
  • Mobile-touch friendly and responsive.
  • Expansive learning resources such as demos, and documentation to learn quickly and get started with ASP.NET Core Tree Grid.

You can find our ASP.NET Core Tree Grid demo here.

No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue, 5 or fewer developers, and 10 or fewer total employees.

A good place to start would be our comprehensive getting started documentation.

Our Customers Love Us

Having an excellent set of tools and a great support team, Syncfusion reduces customers’ development time.
Here are some of their experiences.

Rated by users across the globe

Transform your applications today by downloading our free evaluation version Download Free Trial

Awards

Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.

Up arrow icon
Live Chat Icon For mobile