Hi, and happy new year!
I have a situation:
i used a syncfusion grid (with angular) and i am stacked on a situation. when i click on a cell for edit, i insert the value then i want to introduce this value (to take it in consideration) by pressing "enter" key.
I have this link: https://stackblitz.com/edit/angular-yjegvk-be3guz?file=app.component.ts
In this case, it works. What i saw, the grid library version is
17.1.44
In my case, i'm using 19.1.xx. Can you please help me with the setting that i should make to be able to pass my situation?
thank you,
Hi,
Thank you for your answer. I attached an archive files with the explanation on the video and the files that include all the settings that i made and i had for my functionality of the grid.
I am sorry for the sound quality of the video... Thank you!
Have a nice day,
Aurelian
no problem Ravi. Thank you for your answer.
|
this.consumptionParams = {
create: () => {
this.consumptionElem = document.createElement('input');
return this.consumptionElem;
},
read: (args) => {
return args.value; //return the component value
},
destroy: () => {
this.consumptionObj.destroy();
},
write: args => {
this.consumptionObj = new NumericTextBox({
value: args.rowData[args.column.field],
min: 0,
decimals: 2,
step: 0.01,
showSpinButton: false
});
this.consumptionObj.appendTo(this.consumptionElem);
}
};
|
Hi, Ravi....
You are awesome it works. The solution that you provided to me it's what i need.
Sorrry for my sound quality, you can consider the ticket solved.
Many thanks!!!!