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
300
Export igGrid to Excel
posted

I am trying to find a way to export my igGrid to excel, pdf, etc.  I have found some examples, but they are all for MVC, I am using asp.net.  Any suggestions on how to get that done.  I would like the grid to be exported as is with the same formatting as my grid.  The datasource of the grid is json.

Thanks,

Saevar

Parents
No Data
Reply
  • 49378
    posted

    Hi saevar,

    Thank you for posting in the community.

    I assume that you have referred to the following sample:

    http://samples.infragistics.com/jquery/infragistics-excel/create-excel-worksheet

    In the above example, the exported Workbook is created manually using the datasource of the igGrid. Note that currently there is no exporter for the igGrid and the ASP.NET Excel engine can be used to create workbooks manually with the grid's data.

    Similarly if you have an igGrid in a regular WebForm, you will need to create a workbook using the data bound to your grid (in this case your json). Useful guides for creating and customizing Workbooks can be found at:

    http://help.infragistics.com/NetAdvantage/jQuery/Current/CLR4.0?page=ExcelEngine_Using_the_Infragistics_Excel_Engine.html

    Please let me know if you have any questions.

Children