We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to do conditional formatting in Grid summary rows?

This knowledge base explains the way that how to format the summary rows.

 

Solution:

We can format the summary rows using the template of the summaryColumns and along with the helper functions of the jsRender.

 

The following code example demonstrates how to format the summary rows using the template of the summaryColumns.

JS:

1. Render the Grid Control.

 

MVC:

 

 

 

 

ASP.NET:

 

ASP.NET CORE:

 

Angular:

2. For angular 2 we have format the summary rows using ng-template with e-summary-template attribute in grid. In ng-template we have applied the styles to summary values based on the value.

 

TS File:

 

3. Define the helper function and in this function we have applied the styles to summary values based on the value.

 

 

Figure: Grid with formatted summary rows.

Article ID: Published Date: Last Revised Date: Platform: Control:
8343 01/25/2018 01/25/2018 JavaScript ejGrid
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.