Hi,
I'm trying to customize my Editor widget pop-up, so that the field accept 2 decimal places.
I am using 3.29 API.
I tried below code and it didn't work :
fieldInfos: [
{
fieldName: 'LENGTH',
label: 'Length (m)',
isEditable: true,
format: {
places: 2,
digitSeparator: true
}
},
{
fieldName: 'SLOPE',
label: 'Slope (Degree)',
format: {
places: 2,
digitSeparator: true
}
},
{
fieldName: 'DIAMETER',
label: 'Diameter (cm)',
format: {
places: 2,
digitSeparator: true
}
},
{
fieldName: 'COLORTYPE',
label: 'TYPE',
},
],
Thanks,
Mayur