Wijmo UI for the Web
exportGrid Method
wijmo.grid Namespace > wijgrid type : exportGrid Method
1.The name of the exported file. 2.Settings of exporting, should be conformed to wijmo.exporter.GridExportSetting
The type of the exported file.
The export setting.
The export service url.
Exports the grid to a specified format. The export method only works when wijmo.exporter.gridExport's reference is on the page.
Syntax
$(function () {
    var returnsValue; // Type:  any
    // Parameters
    var exportSettings; // Type:  undefined
    var type; // Type:  string
    var settings; // Type:  object
    var serviceUrl; // Type:  string
    
    returnsValue = $(".selector").wijgrid("exportGrid", exportSettings, type, settings, serviceUrl);
});
function exportGrid( 
   exportSettings : undefined,
   type : string,
   settings : object,
   serviceUrl : string
) : any;

Parameters

exportSettings
1.The name of the exported file. 2.Settings of exporting, should be conformed to wijmo.exporter.GridExportSetting
type
The type of the exported file.
settings
The export setting.
serviceUrl
The export service url.
Example
$("#element").wijgrid("exportGrid", "grid", "csv");
Remarks
Possible exported types are: xls, xlsx, csv, pdf,
See Also

Reference

wijgrid type
wijgrid jQuery Widget

Concepts

Exporting
Exporting Grids