diff --git a/packages/datagrid/src/celleditor.ts b/packages/datagrid/src/celleditor.ts index 8225340a8..6d8b14fc0 100644 --- a/packages/datagrid/src/celleditor.ts +++ b/packages/datagrid/src/celleditor.ts @@ -885,11 +885,12 @@ class NumberCellEditor extends InputCellEditor { protected startEditing() { super.startEditing(); - this.input.step = 'any'; - const cell = this.cell; const metadata = cell.grid.dataModel!.metadata('body', cell.row, cell.column); + + this.input.step = metadata.step || 'any'; + const constraint = metadata.constraint; if (constraint) { if (constraint.minimum) {