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
20
Infragistics WebExcelExporter set max number of rows to export
posted

I use the infragistics WebDataGrid to show a number of elements in an ASP.NET application. Now I use the WebExcelExporter class to create a excel file for the all paged rows. In the WebExcelExporter I can use the DataExportMode Property to set the number of elements, which should be exported. The DataExportMode property can be set to DataExportMode.AllDataInDataSource and DataExportMode.DataInGridOnly.

Now the problem is that I can only show the results from the current page or all pages. Due to performance I want to export only a max number of 4000 rows. Is it possible to set a max number of rows, which should be exported?