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
WebExcelExporter
posted

Hi Infragistics Team,

see the below code ( This metadata code) this code how to implemented ?

//

// Summary:

// Exports a single flat grid to the specified worksheet. Exporting starts

// from the defined row and column offsets.

public virtual void Export(WebDataGrid grid, Worksheet worksheet, int rowOffset, int columnOffset);


Now implemented in link button code.

Infragistics.Documents.Excel.Workbook workbook = new Infragistics.Documents.Excel.Workbook();

Infragistics.Documents.Excel.Worksheet worksheet = workbook.Worksheets.Add( "Test Report " );

int rowOffset = 0;

int columnOffset = 5;

//ExcelExporter.Export(exportGrid);

ExcelExporter.Export(exportGrid, workbook, rowOffset, columnOffset);

it's compiler error " it's invalided argument's .

please help on this .