Disappearing Checkbox issue in Editable Grid with ChildGrid

Hi There,

I have an editable ejGrid with a readonly ChildGrid. One of the fields in the parent Grid is a boolean which I'm rendering as a checkbox. I've set edit mode to be in Batch mode. The problem is that the checkboxes disappear whenever I check/uncheck the boolean field across multiple rows. I have the issue reproduced in this online snippet here: http://jsplayground.syncfusion.com/gf41vcic

Just as a reference, I copied the snippet from this thread and just made a minor change to add a boolean prop and made the parent Grid editable: https://www.syncfusion.com/forums/137966/how-to-collapse-other-child-grid-when-one-more-child-grid-is-opened

Below's a screenshot also. Notice that the edited rows don't have a checkbox in the Active, rightmost field.

Thanks,
Chris




1 Reply

SS Seeni Sakthi Kumar Seeni Raj Syncfusion Team August 23, 2018 11:33 AM UTC

Hi Chris,  
 
Thanks for contacting Syncfusion Support.  
 
We can reproduce the reported issue at our end. We have confirmed the issue, “Boolean column misbehaves for child Grid with batch editing” is the bug. This fix will be included in the Volume 3, 2018 release which has been scheduled to roll out by the end of the September 2018.  
 
You can work around the reported issue by updating the columnindex value in the following property discussed.  
 
<div id="Grid"></div> 
 
<script type="text/javascript"> 
    $(function () { 
        $("#Grid").ejGrid({ 
            cellSave: function(args){ 
                this._bulkEditCellDetails.columnIndex =  this._bulkEditCellDetails.columnIndex + ((this.model.childGrid || this.model.detailsTemplate) ? 1 : 0); 
            }, 
            childGrid: { 
 
            }, 
        }); 
    }); 
</script> 
 
We have modified the sample that can be referred from the following jsPlayground.  
 
 
Regards,  
Seeni Sakthi Kumar S. 


Loader.
Up arrow icon