TreeGrid Suite 6.x Number Formating?


#1

How do I set the number format in the tree grid, I am using suite 6.x.

I have tried

treegrid.setNumberFormat(“0,000.00”, 2, “.”, “,”);

but I get this error.
Uncaught TypeError: treegrid.setNumberFormat is not a function in the console.


#2

You may try to format your values using the cell templates:
https://docs.dhtmlx.com/suite/grid__customization.html#addingtemplatetocells