grid excel export - custom rows?

2 posts, 1 answers
  1. Daniel
    Daniel avatar
    14 posts
    Member since:
    Apr 2020

    Posted 07 May 2020 Link to this post

    Is it possible to add arbitrary data before the contents of the grid in the export?  For example, if I wanted to put a persons name and today's date, then below that I wanted to show the contents of the grid.  Is it possible to add these custom rows to the export?

     

     

     

  2. Answer
    Stefan
    Admin
    Stefan avatar
    3034 posts

    Posted 08 May 2020 Link to this post

    Hello, Daniel

    This can be done by customizing the workbook that will be exported. In this case, we have to add new rows to the current rows collection:

    https://stackblitz.com/edit/react-cnwfqw-4rvl3j?file=app/main.jsx

    Also, these are all properties that can be added to a cell:

    https://www.telerik.com/kendo-react-ui/components/excelexport/api/WorkbookSheetRowCell/

    I hope this is helpful.

    Regards,
    Stefan
    Progress Telerik

    Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
    Our thoughts here at Progress are with those affected by the outbreak.
Back to Top