Treegrid Export with Custom Summary

I am using a tree grid with a custom summary. I can't determine how to export the grid and have the custom summary included. 

This can be accomplished the the ejGrid as shown here: 

The problem I am encountering, there doesn't seem to be a way to access QueryCustomSummaryInfo as you would on an ejGrid.

1 Reply 1 reply marked as answer

PP Pooja Priya Krishna Moorthy Syncfusion Team July 21, 2020 10:08 AM UTC

Hi Landy, 
Thanks for contacting Syncfusion support. 
We have prepared a sample and performed export action with summary row. To export summary row we need to include displayColumn property in summaryColumns as like below code example. 
 
$("#TreeGridContainer").ejTreeGrid({ 
//... 
  summaryRows: [ 
      { 
        title: "Maximum", 
        summaryColumns: [ 
             { summaryType: ej.TreeGrid.SummaryType.Sum, dataMember: "Duration", displayColumn: "Duration", prefix: "Total Duration = " }, 
        ] 
       }, 
  ], 
}) 
 
Please find the below sample link. 
Also we don’t have any events for summary row in the server side. Please share us the detail, what you want to achieve using this event? So that we will provide any alternate solution if possible. 
 
Thanks, 
Pooja K 
 


Marked as answer
Loader.
Up arrow icon