SMART datagrid v1.4 > Classes > GridExcelExporter

[ grids ver.1.4.5]   Back  Forward

DataLudi.GridExcelExporter.multiExport  method

여러개의 그리드를 Microsoft Excel(.xlsx) 문서로 내보내기 한다. 

function multiExport (options: GridExportOptions|Object);
Returns
Void
Parameters
options - GridExportOptions|Object. required.
Code -1
    $('#export').click(function () {
        new DataLudi.GridExcelExporter().multiExport({
            target: "local",
            fileName: "multi-export.xlsx",
            targetGrids:[
                {sheetName: '시트1', targetGird:grdMain1},
                {sheetName: '시트2', targetGird:grdMain2}
            ] 
        });
    });
See Also
GridExportOptions
multiExportToExcel
Examples
엑셀로 내보내기