#103295
ivanpeevski
Participant

Hi Ronak,

To achieve this, please have a look at the online example here

  1. 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.
  2.  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, 2 months ago by ivanpeevski.