Learn how you can perform CRUD operations in Angular Tree Grid with observable data. This example contains code to perform CRUD operations like insert, update, and delete in the Angular Tree Grid with observable data using the Angular in-memory web API module.
Watch the video now: https://www.syncfusion.com/tutorial-videos/angular/treegrid?title=perform-crud-operations-in-angular-tree-grid-using
Documentation: https://ej2.syncfusion.com/angular/documentation/treegrid/observables/?no-cache=1#perform-crud-operations
Make sure you have the compatible versions of TypeScript and Angular on your machine before starting to work on this project:
- Angular 4+
- TypeScript 2.6+
To run this application, you need to first clone the Perform-CRUD-Operations-in-Angular-Tree-Grid-Using-Observables
repository and then navigate to the path where it has been copied to your system.
To do this, open the Command Prompt and run the following commands, one after the other:
git clone https://github.com/SyncfusionExamples/Perform-CRUD-Operations-in-Angular-Tree-Grid-Using-Observables treegrid-example
cd treegrid-example
Once done with downloading, you need to install the packages required to run this application locally. To do so, run the following command:
npm install
This will install all the needed Angular packages into your current project.
Run the 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 with the Angular CLI, use ng help
or check out the Angular CLI README.