Add Sheet to Excel Export

3 posts, 1 answers
  1. Matthew
    Matthew avatar
    18 posts
    Member since:
    Oct 2014

    Posted 25 Apr Link to this post

    Is there a way to add a new sheet to the e.workbook.sheets[] array in my ExcelExport() grid event function?  I'm trying to create an Excel export that has two sheets.  One sheet will be formatted just as the grid displays.  The other sheet will require some custom code to format the sheet as desired.

     

    Thanks!

  2. Answer
    Dimiter Madjarov
    Admin
    Dimiter Madjarov avatar
    2159 posts

    Posted 26 Apr Link to this post

    Hello Matthew,

    Yes, the sheets are represented by an array, in which you could add new ones. Here is a small example of this.

    Regards,
    Dimiter Madjarov
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET MVC is VS 2017 Ready
  4. Matthew
    Matthew avatar
    18 posts
    Member since:
    Oct 2014

    Posted 26 Apr in reply to Dimiter Madjarov Link to this post

    Thanks for the info!
Back to Top