On click I want to prevent new row addition in grid

1 Answer 76 Views
GridView
Shubham
Top achievements
Rank 3
Iron
Iron
Iron
Shubham asked on 02 Aug 2023, 06:22 AM

Hi Team Telerik,

I just wanted to add new row in grid when user press Enter Key.

By default row is added in grid when user clicks somewhere in grid this is not needed.

Hope you understand my requirements.

 

Thanks,
Shubham Jain

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 04 Aug 2023, 02:32 PM

Hi, Shubham,

By default, when the user is inside the new row and types something in any cell, pressing the Enter key will commit the row:

If you have any validation logic (e.g. in UserAddingRow event) or specific setup in RadGridView, e.g. switching the Enter key mode, it is possible to observe a different behavior than the illustrated default one. Could you please elaborate?

 Could you please specify the exact steps how to reproduce the problem?

Regards,
Dess | Tech Support Engineer, Principal
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.

Tags
GridView
Asked by
Shubham
Top achievements
Rank 3
Iron
Iron
Iron
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or