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

Disable Row Selecting/checking when entering Edit Mode

Thread ID:





143865 Apr 8,2019 02:06 PM UTC Apr 9,2019 11:30 AM UTC JavaScript - EJ 2 1
Tags: Grid
Miguel Varela Rodriguez
Asked On April 8, 2019 02:06 PM UTC

i have some data grid in a form, and i use batch edit mode. Now when i enter in edit mode it checks the current row and deselects everything selected before.
So i think if i disable row selection on editing, i have both problems solved.
I looked in the documentation but didn't find the answer.
Can you point me please in the right direction?
thank you

Thavasianand Sankaranarayanan [Syncfusion]
Replied On April 9, 2019 11:30 AM UTC

Hi Miguel, 

Greeting from Syncfusion support. 

Query: Now when i enter in edit mode it checks the current row and deselects everything selected before. 
We have analyzed your requirement and we suggest you to use the below way to achieve your requirement. In the below sample, we have enable persistence for Grid to maintain the selection. 

Please check the below code example and sample for more information. 

let grid: Grid = new Grid( 
        dataSource: orderData, 
        editSettings: { allowEditing: true, allowAdding: true, allowDeleting: true, mode: 'Batch' }, 
        allowPaging: true, 
        selectionSettings: {type:'Multiple', persistSelection: true}, 
        pageSettings: {pageCount: 5}, 
        toolbar: ['Add', 'Delete', 'Update', 'Cancel'], 
        columns: [ 
                type:'checkbox', width: 50, visible: false, 
           . . . . . 

Help documentation :  

Please get back to us if the provided solution does not meet your requirement. 

Thavasianand S. 


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