TreeGrid 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. I am guessing this is no longer a supported function for the 6.x?


#2

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