Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
430
Infragistics webexcelexporter
posted

Hi Infragistics Team ,

we are used Eraly version 10.0 now upgrading 2015 v1 pack .

I have one doubt ? see below code :

private void ExcelExporter_EndExport(object sender,EndExportEventArgs e)

{

//Set the header for the excel sheet

e.CurrentWorksheet.Rows[0].Cells[0].CellFormat.Font.Bold = ExcelDefaultableBoolean.True;

e.CurrentWorksheet.Rows[0].Cells[0].CellFormat.Font.Height = 300;

e.CurrentWorksheet.Rows[0].Cells[0].Value = settings.Header;

//Wrap text for the columns if its content is large

foreach(WorksheetColumn column in e.CurrentWorksheet.Columns)

{

if(column.Width > 30000)

{

column.CellFormat.WrapText = ExcelDefaultableBoolean.True;

column.Width = 30000;

}

}

}

Click Event(Export Data) using the code

================

ExcelExporter.EndExport += ExcelExporter_EndExport;

Above code is 10.0 version , this Event (End Export) is not available  in 2015 v1 pack version . in this version which event is equal, we can't assign delegate event in latest version .

 latest version Event are CellExported, cellexporting, on exported, onexporting  etc ..

pls suggestion me which event is same in latest version 2015 v1 pack . 

Parents
No Data
Reply Children