Coder Social home page Coder Social logo

syncfusionexamples / how-to-aggregate-data-in-angular-tree-grid Goto Github PK

View Code? Open in Web Editor NEW
1.0 6.0 0.0 1.33 MB

Learn how you can show aggregates in the Syncfusion Angular Tree Grid control. In this example, you can learn how to show aggregated values using the built-in aggregate types in the Tree Grid footer and how to hide them in child rows. Also, you can learn how to format the aggregate value, add more columns in the aggregation row, add more aggregations for same column, and calculate the aggregate value with your own aggregate function.

JavaScript 8.21% TypeScript 81.37% CSS 0.97% HTML 9.45%
angular angularuicomponents angularcomponent treegrid ej2angulartreegrid aggregation aggregate customaggregate custom-aggregation-function format

how-to-aggregate-data-in-angular-tree-grid's Introduction

How to Aggregate data in Angular Tree Grid

Learn how you can show aggregates in the Syncfusion Angular Tree Grid control. In this example, you can learn how to show aggregated values using the built-in aggregate types in the Tree Grid footer and how to hide them in child rows. Also, you can learn how to format the aggregate value, add more columns in the aggregation row, add more aggregations for same column, and calculate the aggregate value with your own aggregate function.

Watch the video now:https://www.syncfusion.com/tutorial-videos/angular/treegrid?title=how-to-work-with-aggregates-of-angular-tree-grid

Documentation: https://ej2.syncfusion.com/angular/documentation/treegrid/aggregates

Project prerequisites

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+

How to run this application

To run this application, you need to first clone the How to Aggregate Data in Angular Tree Grid repository and then navigate to the path where it has been stored 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-Aggregate-Data-in-Angular-Tree-Grid treegrid-example
cd treegrid-example

Installation

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.

Running on a 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

To get more help with the Angular CLI, use ng help or check out the Angular CLI README.

how-to-aggregate-data-in-angular-tree-grid's People

Contributors

abooarulraj avatar vinothkumar-ganesan avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.