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.
Unfortunately, activation email could not send to your email. Please try again.

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

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

Article ID: Published Date: Last Revised Date: Platform: Control:
6310 02/15/2016 12/27/2017 ASP.NET Web Forms Grid
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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.