Hi Ronak,
To achieve this, please have a look at the online example here
- To format the summary based on the value, you need to add the OnEndEdit() and OnReady() events to the smart-grid. Then in app.component.ts attach the SummaryConditionalFormatting() function, which you can see in the code example above.
- To set the decimal point of a column, you use cellsFormat: ‘f2’ in the column properties
Best Regards,
Ivan Peevski
Smart HTMLElements Team
https://www.htmlelements.com/
-
This reply was modified 2 years, 5 months ago by ivanpeevski.