A quick start project that helps you to create the Syncfusion Angular Tree Grid using the "ng add" command of Angular Schematics. Show parent – child hierarchical data using the expand and collapse options. Added the prominent features to Tree Grid like paging, sorting and filtering.
Watch the video now: https://www.syncfusion.com/tutorial-videos/angular/treegrid?title=create-an-angular-tree-grid-using-angular-cli-and-schematics
Documentation: https://ej2.syncfusion.com/angular/documentation/treegrid/getting-started/
Online example: https://ej2.syncfusion.com/angular/demos/#/material/treegrid/treegrid-overview
Make sure that you have the compatible versions of TypeScript and Angular in your machine before starting to work on this project.
- Angular 4+
- TypeScript 2.6+
To run this application, you need to first clone the How-to-create-an-Angular-TreeGrid-using-Syncfusion-and-Angular-CLI
repository and then navigate to its appropriate path where it has been in your system.
To do so, open the command prompt and run the below commands one after the other.
git clone https://github.com/SyncfusionExamples/How-to-create-an-Angular-TreeGrid-using-Syncfusion-and-Angular-CLI treegrid-example
cd treegrid-example
Once done with downloading, next you need to install the necessary packages required to run this application locally. The npm install
command will install all the needed angular packages into your current project and to do so, run the below command.
npm install
Run ng serve
command for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.