how to do child grid in batch mode

hi,

       i have to need child grid functionality in batch mode. After adding data in parent grid should come child grid. please give the proper solution.

thanks.  

1 Reply

SA Saravanan Arunachalam Syncfusion Team November 3, 2017 06:23 AM UTC

Hi Tamil, 
Thanks for contacting Syncfusion’s support. 
Based on your requirement we have created a sample that can be downloaded from the below link. 
In the above sample, we render the hierarchical Grid control with batch edit mode that can be refer from the below code example. 
<ej-grid id="MasterGrid" allow-paging="true" datasource="ViewBag.datasource1"> 
     
    <e-edit-settings edit-mode="Batch" allow-adding="true" allow-deleting="true" allow-editing="true"></e-edit-settings> 
   . . .     
    <e-columns> 
        <e-column field="EmployeeID" is-primary-key="true" header-text="Employee ID" text-align="Right" width="90"></e-column> 
        . . . 
    </e-columns> 
    <ej-grid query-string="EmployeeID" allow-paging="true"> 
         
               . . . 
    </ej-grid> 
</ej-grid> 
 
And also please refer the below documentation link to know more about hierarchical binding and batch editing. 
Regards, 
Saravanan A. 


Loader.
Up arrow icon