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
1360
Empty Spreadsheet on Export
posted

I am populating a WebDataGrid dynamically. The data is complex and created dynamically in memory and placed in a DataTable. When I assign the data grid's datasource to the table the data appears correctly in the grid. The grid's AutoGenerateColumns="true".

When I export the grid to Excel I just get the column headings with no data. DataExportMode is AllDataInDataSource.

Help!

IG 11.1  Version=11.1.20111.1006

 

Parents
No Data
Reply
  • 7566
    Suggested Answer
    posted

    Hello PaulShearing,

     

     

    Thank you for posting this question in our community. Here I am attaching a sample demonstrating how to expert a WebDataGrid. I am populating the data in the grid, binding it to a DataTable.

     

    I hope this helps.

    For any further questions do not hesitate to contact me.

     

    Sincerely,

    Georgi Sashev

    Developer Support Engineer

    Infragistics, Inc.

    http://ko.infragistics.com/support

    WDG_Exporter.zip
Children