Esempio n. 1
0
 private void DoExportToExcel(string fileName, JQGridState gridState, DataTable dataSource)
 {
     DataGrid exportGrid = this.GetExportGrid();
     exportGrid.DataSource = dataSource;
     exportGrid.DataBind();
     this.RenderExcelToStream(exportGrid, fileName);
     this._exportActive = true;
 }
Esempio n. 2
0
 private void DoExportGridData(JQGridState gridState, DataTable dataSource)
 {
     this._exportActive = true;
     this._filteredExportCallBack(dataSource);
 }
Esempio n. 3
0
 public void GetExportData(JQGridState gridState, JQGridExportDataCallBack callBack)
 {
     this._filteredExportActive = true;
     this._filteredGridState = gridState;
     this._filteredExportCallBack = callBack;
     this.FilterDataSource(gridState);
 }
Esempio n. 4
0
 internal void FilterDataSource(JQGridState gridState)
 {
     this.QueryString = gridState.QueryString;
     this.ProcessCallBack();
 }
Esempio n. 5
0
 public void ExportToExcel(string fileName, JQGridState gridState)
 {
     this._filteredExportFileName = fileName;
     this._filteredGridState = gridState;
     this._filteredExcelExportActive = true;
     this.FilterDataSource(gridState);
 }