SMART datagrid v1.4 > Classes > GridExcelExporter

Back  Forward

DataLudi.GridExcelExporter.export  method

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

function export (grid: GridBase, options: GridExportOptions|Object);
Returns
Void
Parameters
grid - GridBase. required.
options - GridExportOptions|Object. required.
Code -1
    $('#export').click(function () {
        new DataLudi.GridExcelExporter().export(grdMain, {
            target: "remote",
            url:  "/envelope",
            fileName: "dlgrid.xlsx"
        });
    });
See Also
GridExportOptions
exportToExcel
Examples
엑셀로 내보내기