JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Data Grid › Columns "cellsFormat' property – docs to explain options? › Reply To: Columns "cellsFormat' property – docs to explain options?
September 14, 2020 at 10:21 am
#101055
davout
Member
I can’t see a good example of how to format a number data cell to be displayed as a string value
For example…
function(value: number): string {
if (value >= 1) && (value <=5) {
return ‘P’ + value;
}
else {
return ”;
}
}
Suggestions?