Skip to content

Commit

Permalink
Merge commit 'c073cb3679fc7c057aea1f24a3d7f5f746bacad0'
Browse files Browse the repository at this point in the history
# Conflicts:
#	source/class/qxl/datagrid/column/NumberColumn.js
  • Loading branch information
johnspackman committed Jul 9, 2024
2 parents 11ec036 + c073cb3 commit b050e30
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions source/class/qxl/datagrid/column/NumberColumn.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,10 @@
qx.Class.define("qxl.datagrid.column.NumberColumn", {
extend: qxl.datagrid.column.Column,

properties: {
bindingOptions: {
refine: true,
init: () => {
return {
converter: value => (value ? value.toFixed(2) : "")
};
}
}
construct() {
super();
this.setBindingOptions((widget, model) => ({
converter: value => (value ? value.toFixed(2) : "")
}));
}
});

0 comments on commit b050e30

Please sign in to comment.