Submitted by melinda on Wed, 12/01/2021 - 13:05
On you "Number" column select the drop down option "Column settings"
Then "Format this column"
Delete the JSON that is in the box and replace it with this:
{
"elmType": "div",
"attributes": {
"class": "=if(@currentField > 0,'', '')"
},
"children": [
{
"elmType": "span",
"style": {
"display": "inline-block"
}
},
{
"elmType": "span",
"txtContent": "@currentField"
}
]
}
And click save. All done :)