SMART datagrid v.1 > Classes > GridExportOptions
The location which exports the created Excel document. Specify one of "remote", "local". In the case of remote, there should exist url which gets Base64 stream from the server and transfers to Excel document of which file name is specified by fileName.
Defaults to "remote".
$('#export').click(function () {
DataLudi.exportToExcel(grdMain, {
target: "local",
fileName: "dlgrid.xlsx"
});
});
$('#export').click(function () {
DataLudi.exportToExcel(grdMain, {
target: "remote",
url: "/envelope",
fileName: "dlgrid.xlsx"
});
});