We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to prevent edit on particular cell and focus to next cell in batch editing

Platform: ASP.NET Web Forms |
Control: Grid |
Published Date: February 15, 2016 |
Last Revised Date: December 27, 2017

Solution:

We can prevent the edit on particular cell and make in as read only cell in batch editing using CellEdit client side event of the Grid. Also to make focus the next cell from prevented cell use EditCell method in grid.

We can prevent the editing behavior for particular cell and make it as read only in Batch editing using “CellEdit” client side event of the grid.

The following code snippet explains the above behavior:

JS:

 

MVC:

 

ASP:

 

ASP.NET CORE

                                                                                                                                                 

Angular

 

TS file

 

 

JavaScript:

Result:The following output will be the result of the above code example.

C:\Users\Manisankar.durai\Desktop\sshot-1.png

Figure: FirstName as Read only cell and making next cell to focus in Batch editing

ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon