6 lines
263 B
JavaScript
6 lines
263 B
JavaScript
// https://www.ag-grid.com/javascript-grid-value-setters/
|
|
// These handles values and makes sure they adhere to the data type provided by the table
|
|
export const number = params => {
|
|
params.data[params.colDef.field] = parseFloat(params.newValue)
|
|
return true
|
|
}
|