Example #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;
 }
Example #2
0
 private void DoExportGridData(JQGridState gridState, DataTable dataSource)
 {
     this._exportActive = true;
     this._filteredExportCallBack(dataSource);
 }
Example #3
0
 public void GetExportData(JQGridState gridState, JQGridExportDataCallBack callBack)
 {
     this._filteredExportActive = true;
     this._filteredGridState = gridState;
     this._filteredExportCallBack = callBack;
     this.FilterDataSource(gridState);
 }
Example #4
0
 internal void FilterDataSource(JQGridState gridState)
 {
     this.QueryString = gridState.QueryString;
     this.ProcessCallBack();
 }
Example #5
0
 public void ExportToExcel(string fileName, JQGridState gridState)
 {
     this._filteredExportFileName = fileName;
     this._filteredGridState = gridState;
     this._filteredExcelExportActive = true;
     this.FilterDataSource(gridState);
 }