Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 1.93 KB

File metadata and controls

37 lines (25 loc) · 1.93 KB

Customize Edit Dialog Using Templates in Angular Tree Grid – Quick start Sample

Use this sample to customize the edit dialog UI using templates in the Syncfusion Angular Tree Grid control. In this example, we have added code for Tree Grid modules along with edit settings, a primary key, and toolbar. With this, you can quickly add code to follow the instructions provided in the following video link.

Watch the video now: https://www.syncfusion.com/tutorial-videos/angular/treegrid?title=customize-edit-dialog-using-templates-in-angular-tree-grid

Documentation: https://ej2.syncfusion.com/angular/documentation/treegrid/edit/#template-driven-forms

Project prerequisites

Make sure that you have the compatible versions of TypeScript and Angular on your machine before starting to work on this project.

  • Angular 4+
  • TypeScript 2.6+

How to run this application

To run this application, you need to first clone the Customize-Edit-Dialog-Using-Templates-in-Angular-Tree-Grid-Try-on-Quick-start-Sample repository and then navigate to the path where it is located in your system.

To do so, open the command prompt and run the following commands.

git clone https://github.com/SyncfusionExamples/Customize-Edit-Dialog-Using-Templates-in-Angular-Tree-Grid-Quick-start-Sample treegrid-example
cd treegrid-example

Installing

Once done with downloading, you need to install the necessary packages required to run this application locally. The npm install command will install all the needed Angular packages in your current project. To do this, run the following command.

npm install

Running on development server

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.

Further help

For more help on the Angular CLI, use ng help or go check out the Angular CLI README.