The Angular Tree Grid is a feature-rich component used to visualize self-referential hierarchical (tree-like structure) data effectively in a tabular format. Its rich feature set includes many functionalities like data binding, editing, sorting, filtering, paging, exporting to Excel, aggregating rows, CSV, and PDF formats.
Bind data seamlessly with various local and remote data sources such as JSON, RESTful services, OData services, and WCF services. Angular Tree Grid component uses the data manager to handle data and supports customizing data requests and processing.
All Tree Grid features work on touch devices with zero configuration. Without customization, the Angular Material Tree Grid control allows enabling features such as sorting, paging, and selection.
The Tree Grid in Angular can be viewed on various devices. It is also possible to hide specific columns for particular screen sizes using column-based media query support.
The pager UI is adaptable to mobile views. When a Tree Grid is rendered in a smaller screen, the pager UI will be rendered without a page number list, making it suitable for smaller devices.
The Angular TreeGrid works well with all modern web browsers such as Chrome, Firefox, Microsoft Edge, Safari, and IE11. It supports IE11 with the help of polyfills.
The Angular Tree Grid has optimized design for high-performance. It loads millions of records in just a second without any performance degradation with the help of row and column virtualization. In this TreeGrid, you can load the child records of a collapsed parent record on demand with expander click action.
The Angular TreeGrid with rich UI provides full support to create, read, update, and delete operations (CRUD). It performs editing operations with a JSON collection or remote data service with the help of the data manager.
Easily visualize the aggregates of the Angular Tree Grid column values using the summary option. Aggregates can be customized to show their value in every hierarchy with a set of predefined summary types.
Through paging, a segment of data can be viewed from the assigned data source. The Angular Tree Grid offers a built-in pager UI with options to customize it. It also has an on-demand paging mode for effective data retrieval from remote web services.
Filtering allows users to view the required data in the Angular TreeGrid. It supports various filter types such as filter bar and menu. The appropriate filter type can be chosen based on the application. These filter types support number, string, date, and Boolean. Options to customize filter operators, case sensitivity, and diacritics are also available.
The Angular 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.
Angular Tree Grid allows selecting rows or cells. One or more rows or cells can also be selected by holding Ctrl or Command, or programmatically.
Change the Angular Material Tree Table size by setting the width and height properties. Horizontal and vertical scrollbars will appear when the content overflows the Tree Grid element. For the Tree Grid to fill its parent container, the user has to simply set the height and width to 100%.
Using templates, users can create custom user experiences in the Angular Tree Grid. There are various template options to create custom headers, custom cell contents, and toolbars.
Columns define the schema of a data source in Angular Tree Grid. Features include formatting, column definitions, text wrapping, column chooser, column menu, column reordering, and other important features.
The Angular Tree Grid context menu provides a list of actions to be performed. It appears when a cell, header, or pager is right-clicked. The context menu items can be customized according to user preference.
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. The data columns can still be sorted and filtered.
Row heights can be adjusted to display more rows in a view port. It is also possible to set row heights conditionally.
With continuous improvement in Angular versions, the Angular Tree Grid is kept up to date to make it compatible with versions starting from 4 to the latest version.
Easily export the Angular Tree Grid control in various file formats such as Excel, PDF, or CSV. Users can also programmatically customize the exported document.
Users can print data either by using the print option from the toolbar or programmatically. Print all the rows of a Tree Grid regardless of the number of pages it has. There is also an option to print the currently viewed page only.
Four built-in, SASS-based themes are available: Material, Bootstrap, Fabric, and high contrast. Simplify theme customization by either overriding the existing SASS styling or creating custom themes using the Theme Studio application.
The Tree Grid in Angular ensures that every cell is accessible using the keyboard. Major features like sorting, selection, and editing can be performed using keyboard commands alone; no mouse interaction required. This helps in creating highly accessible applications using this component.
The Angular 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.
Angular Tree Grid enables users from different locales to use it by formatting the date, currency, and numbering to suit local preferences. It uses the internalization (i18n) library to handle value formatting.
Right-to-left rendering allows displaying the text and layout of the Angular Tree Grid from right to left. This improves the user experience and accessibility for RTL languages.
Users can localize all the strings used in the user interface of the Angular Tree Grid control. It uses the localization (l10n) library to localize UI strings.
Easily get started with the Angular Tree Grid using a few simple lines of HTML and TS code example as demonstrated below. Also explore our Angular Tree Grid Example that shows you how to render and configure a TreeGrid in Angular.
<div class="control-section">
<ejs-treegrid [dataSource]='data' [treeColumnIndex]='1' height='350' childMapping='subtasks'>
<e-columns>
<e-column field='taskID' headerText='Task ID' textAlign='Right' width=90></e-column>
<e-column field='taskName' headerText='Task Name' textAlign='Left' width=180></e-column>
<e-column field='startDate' headerText='Start Date' textAlign='Right' format='yMd' width=90><e-column>
<e-column field='duration' headerText='Duration' textAlign='Right' width=80></e-column>
</e-columns>
</ejs-treegrid>
</div>
import { Component, OnInit } from '@angular/core';
import { sampleData } from './datasource';
@Component({
selector: 'ej2-treegrid-container',
templateUrl: 'default.html'
})
export class DefaultComponent implements OnInit {
public data: Object[] = [];
ngOnInit(): void {
this.data = sampleData;
}
}
Tree Grid is also available in Blazor, React, Vue, and JavaScript frameworks. Check out the different Tree Grid platforms from the links below,
We do not sell the Angular Tree Grid separately. It is only available for purchase as part of the Syncfusion Angular suite, which contains over 70 Angular components, including the Tree Grid. A single developer license for the Syncfusion Essential Studio for Angular suite costs $995.00 USD, including one year of support and updates. On top of this, we might be able to offer additional discounts based on currently active promotions. Please contact our sales team today to see if you qualify for any additional discounts.
You can find our Angular Tree Grid demo here.
No, our 70 Angular components, including Tree Grid, are not sold individually, only as a single package. However, we have competitively priced the product so it only costs a little bit more than what some other vendors charge for their Tree Grid alone. We have also found that, in our experience, our customers usually start off using one of our products and then expand to several products quickly, so we felt it was best to offer all 70 Angular components for a flat fee of $995/developer. On top of this, we might be able to offer additional discounts based on currently active promotions. Please contact our sales team today to see if you qualify for any additional discounts.
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 and five or fewer developers.
A good place to start would be our comprehensive getting started documentation.
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.