Export multiple grids
When exporting to Excel, the file options for two or more grids are set in common, and each sheet is set using the exportGrids property.
Loading RealGrid...
RealGrid.exportGrid({
type: 'excel',
target: 'local',
fileName: 'multiExport.xlsx',
exportGrids: [
{ grid: masterGrid, sheetName: 'masterSheet' },
{ grid: detailGrid, sheetName: 'detailSheet' }
]
})