write: (args) => {
this.dropObj = new NumericTextBox({
floatLabelType: 'Auto',
placeholder: "Cantitate",
value: args.rowData[args.column.field],
enabled: true,
change: function (args) {
if(args.event.type != "mouseup"){
console.log('changed')
}
},
});
this.dropObj.appendTo(this.elem);
}
|
write: (args) => {
this.dropObj = new NumericTextBox({
floatLabelType: 'Auto',
placeholder: "Cantitate",
value: args.rowData[args.column.field],
enabled: true,
change: function (args) {
if(args.event.type != "mouseup"){
console.log('changed')
}
},
});
this.dropObj.appendTo(this.elem);
this.elem.addEventListener("input", function(){
console.log(Number(this.elem.value)); // you can get entered value here whenever you typing value in input.
}.bind(this));
} |