beforeEdit for add creates empty row despite e.preventDefault();

1 Answer 111 Views
Grid
Aleksandr
Top achievements
Rank 1
Bronze
Bronze
Veteran
Aleksandr asked on 07 Nov 2022, 10:38 PM

https://dojo.telerik.com/UCesAMUN

would be great to have the ability to stop the event propagation

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Georgi Denchev
Telerik team
answered on 10 Nov 2022, 10:34 AM

Hi, Aleksandr,

Thank you for the provided Dojo.

My colleague has shared an explanation and solution about "Create New" and preventDefault here:

https://www.telerik.com/forums/preventdefault()-in-beforeedit-inserts-a-new-row-on-create#4508294 

You can use the suggested approach to stop the Grid from adding the row.

Best Regards,
Georgi Denchev
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Aleksandr
Top achievements
Rank 1
Bronze
Bronze
Veteran
commented on 10 Nov 2022, 01:01 PM

Georgi,

thx for help

 

Tags
Grid
Asked by
Aleksandr
Top achievements
Rank 1
Bronze
Bronze
Veteran
Answers by
Georgi Denchev
Telerik team
Share this question
or