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

Selection checkbox column shows up in dialog edit

Thread ID:





142585 Feb 11,2019 10:21 AM UTC Feb 12,2019 04:16 AM UTC JavaScript - EJ 2 3
Tags: Grid
Asked On February 11, 2019 10:21 AM UTC

I have a column setup in grid to allow me select rows. but on edit in dialog it shows up.
Ho do I make it not show up in dialog?

See pic below


Pavithra Subramaniyam [Syncfusion]
Replied On February 11, 2019 11:01 AM UTC

Hi Samuel, 
Thanks for contacting Syncfusion support.  
Query #1: How do I make it not show up in dialog? 
You can achieve your requirement by removing the checkbox row in the “actionComplete” event with ‘beginEdit” and “add” requestType . Please refer to the below code example and Documentation link. 
      var grid = new ej.grids.Grid({ 
        dataSource: data, 
        allowPaging: true, 
        toolbar: ['Add', 'Edit', 'Delete', 'Update', 'Cancel'], 
        editSettings: { allowEditing: true, allowAdding: true, allowDeleting: true, mode: 'Dialog'}, 
        actionComplete: (e) => { 
            if (e.requestType == 'beginEdit' || e.requestType == 'add') { 
                e.form.querySelector("tr").remove()  // in this sample check box is in first row 
        pageSettings: { pageCount: 5 }, 
        toolbar: ['Add', 'Edit', 'Delete'], 
        columns: [ 
            { type: "checkbox", width: 50 }, 
            { field: 'OrderID', headerText: 'ID', visible:false, textAlign: 'Right', width: 120, isPrimaryKey: true } 
                          .   .  . 
Sample               : https://stackblitz.com/edit/u1f4pw-nowcuh?file=index.js  
Please get back to us if you need any further assistance 
Pavithra S. 

Replied On February 11, 2019 03:28 PM UTC

This worked like a charm! Thank you very much

Pavithra Subramaniyam [Syncfusion]
Replied On February 12, 2019 04:16 AM UTC

Hi Samuel,  

Thanks for your update.  

Please contact us if you need any further assistance. As always, we will be happy to assist you.  

Pavithra 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