var exampleGrid = new ej.grids.Grid({
dataSource: arrParentData,
columns: [{
{ field: 'id', headerText: 'ID', isPrimary: true, visible: false, allowSearching: false, },
}]
childGrid: {
dataSource: arrChildData,
queryString: 'request_id',
allowExcelExport: true,
toolbar: ['ExcelExport'],
toolbarClick: function (args ){
this.excelExport();
}
columns: [{
{ field: 'id', headerText: 'ID', isPrimary: true, visible: false, allowSearching: false, },
}],
childGrid: {
dataSource: arrChildData,
queryString: 'request_items_id',
columns: [{
{ field: 'id', headerText: 'ID', isPrimary: true, visible: false, allowSearching: false, },
}],
}
}
});