SMART datagrid v1.4 > Classes > GridExportOptions

[ grids ver.1.4.5]   Back  Forward

DataLudi.GridExportOptions.targetGrids  property

multiExport 를 사용할때 다운받을 그리드와 시트이름을 배열로 설정한다. 

Getter
function targetGrids(): Array
Setter
function setTargetGrids(value: Array)
Code -1
    new DataLudi.GridExcelExporter().multiExport({
        target: "local",
        fileName: "multi-export.xlsx",
        targetGrids:[
            {sheetName: '시트1',targetGrid: grdMain1},
            {sheetName: '시트2',targetGrid: grdMain2}
        ] 
    });
See Also
GridExcelExporter
multiExportToExcel