JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Data Grid › Summary Row Template › Reply To: Summary Row Template
June 10, 2022 at 6:14 pm
#103295
ivanpeevski
Participant
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, 4 months ago by ivanpeevski.