Kendo grid: exporting only grouped items

2 posts, 0 answers
  1. Antonio
    Antonio avatar
    1 posts
    Member since:
    Dec 2014

    Posted 25 Sep 2018 Link to this post

    Hi,

    I have kendo grid grouped on a property and aggregate functions for sum and count. I need export it to excel in a way when all parent are collapsed then it should only export parent rows (excluding details) As shown in picture.

    Anyone has an idea how to achieve this? Any help would be appreciated!

     

    Thank you :)

     

  2. Konstantin Dikov
    Admin
    Konstantin Dikov avatar
    2466 posts

    Posted 27 Sep 2018 Link to this post

    Hello Antonio,

    You can handle the "export" event of the Grid and manipulate the rows collection of the Sheet, by removing the "data" type rows. For your convenience, following is a simple example with such implementation:
    Hope this helps.


    Regards,
    Konstantin Dikov
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top