Hi Team,
I am working on a requirement where I have multiple auto-complete components inside grid's editTemplates.
On change of one auto-complete component, I am filling data of the whole row.
But if value is programmatically set to an autocomplete it's not triggering "OnChange" event when user clicks on clear button.
In the below attached video, when user selects dropdown item from item code column, we are setting value of item description column and other dependent columns programmatically. In this case, when the user clicks the clear button of item description, I am not able to capture "OnChange" event.
But after selecting data from the "Item description" column then I am able to capture "OnChange" event when clear button is clicked.
Please help in resolving this issue. Where I need to clear row data on click of autocomplete clear button
Hi Cyril,
We have validated the sample based on your requirement; we cannot replicate the reported issue on our end. we have added the validated sample below.
Find the sample link: https://codesandbox.io/s/xenodochial-morning-yczph3
If you have faced the same issue, then please replicate the reported issue on the above sample and revert us with a detailed issue replication procedure. These details will help us to provide an exact solution as earlier as possible.
Regards,
Sureshkumar P
Hi SureshKumar,
Unfortunately, the sample provided was not helpful. I have attached a demo project along with video for reference.
In the below attached video, when user selects dropdown item from item code column, we are setting value of item description column and other dependent columns programmatically. In this case, when the user clicks the clear button of item description, I am not able to capture "OnChange" event.
But after selecting data from the "Item description" column then I am able to capture "OnChange" event.
Thanks & Regards,
Cyril Ovely
Hi Cyril,
When we validate the reported issue using your attached sample, we can not run the sample on our end. please check the facing error screenshot below.
Find the screenshot here:
|
|
Please attach the runnable sample here to validate the sample and update the exact solution as earlier as possible.
Regards,
Sureshkumar P
Hi Suresh Kumar P,
Just downloaded from another system and tried. It is working as expected. Can you please recheck and if the issue still exists on your side, please set up a call so that I can showcase the issue.
Thanks & Regards,
Cyril Ovely
Hi Cyril,
We have created a ticket for this query. Kindly have further follow-ups in that ticket.
Regards,
Shereen