diff --git a/source/class/qxl/datagrid/column/NumberColumn.js b/source/class/qxl/datagrid/column/NumberColumn.js index 25a0ce0..e2991b0 100644 --- a/source/class/qxl/datagrid/column/NumberColumn.js +++ b/source/class/qxl/datagrid/column/NumberColumn.js @@ -24,8 +24,8 @@ qx.Class.define("qxl.datagrid.column.NumberColumn", { construct() { super(); - this.setBindingOptions((widget, model) => { - converter: value => (value ? value.toFixed(2) : ""); - }); + this.setBindingOptions((widget, model) => ({ + converter: value => (value ? value.toFixed(2) : "") + })); } });