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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback
Essential JS2

Syncfusion jQuery based widgets are no longer in active development. Switch to our pure JavaScript based next generation Essential JS 2 library.

Editmode off doesnt work in checkbox case for batchedit mode

Thread ID:





148884 Nov 6,2019 09:44 AM UTC Nov 7,2019 07:34 AM UTC jQuery 1
Tags: ejGrid
Talha Mohsin
Asked On November 6, 2019 09:44 AM UTC

Dear Support team,

I was working on ejgrid for ej1 vs bacthmode. But when the editmode is off, I can change the checkbox. Although save button is not enabled, it is confusing for user as checkbox is being changed. Is there any way to make this checkbox disabled if editmode off?

Here is my code example:


Padmavathy Kamalanathan [Syncfusion]
Replied On November 7, 2019 07:34 AM UTC

Hi Talha,

Thanks for contacting Syncfusion Forums.

QUERY:  Is there any way to make this checkbox disabled if editmode off?

From your query we understand that the checkbox column is editable even when "allowEditing" is set to false when the "editMode" is set as "batch". We can disable the checkbox by setting "disabled" property of checkbox to true in the dataBound event of grid.

Please check the below sample,

Please check the below code snippet,

    <script type="text/javascript">

        $(function () {
                dataBound: function(args){
                   if(!this.model.editSettings.allowEditing && this.model.editSettings.editMode == "batch") {
                     $('input[type="checkbox"]').attr("disabled", true);


If you have further queries, please get back to us.

Padmavathy Kamalanathan


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

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

Live Chat Icon For mobile
Live Chat Icon