#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/