I am trying to format the number with comma when the number of digits are more e.g. 10,240,000. I tried applying the following format in the Kendo grid column and it works fine when there is value available in the grid column, but when the grid cell value is returned as "0", then the format returns as "00". Instead the preferred text should be "0" when the actual value is "0", and any number more than 0 i.e. if the digits grows more than 4, then it should format with comma appropriately. Please refer snapshot
The following code is what I am trying to do the format,
{ field: "lastUpdatedSize", title: "Test", width: "10px", format: '{0:0,0}' },
How do I fix this issue?
The following code is what I am trying to do the format,
{ field: "lastUpdatedSize", title: "Test", width: "10px", format: '{0:0,0}' },
How do I fix this issue?