I have a column for weight (in Kg). When the user clicks on it I need to enable them to be able to put in decimal number with 3 places.
The problem I have is at the moment it only allows them to put it in to 2 places, but shows as 3 places. You can type in a number to many decimal places but when it saves it will round it to 2 places.
My column is set up like so:
...
{
field: "weight",
title: "Weight",
width: 40,
format: "n4",
decimals: 4,
step: 0.001,
template: "#= weight.toFixed(3)+'kg' #"
}
...
I have tried a few things but none work.