We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Exporting to excel

Hi,

I've an error exporting a treegrid to Excel when the treegrid has a column with a field containing a field path like this

<e-column field='assigned.name' headerText='Asignado' width=100></e-column>

The problem only occurs if the datasource contains an item with the field assigned to null 
I don't know if the grid has the same problem

Regards,
Jaume



4 Replies

VN Vignesh Natarajan Syncfusion Team May 7, 2019 07:13 AM UTC

 
Thanks for contacting Syncfusion forums. 
 
Query: “I've an error exporting a treegrid to Excel when the treegrid has a column with a field containing a field path like this 
 
From your query, we understand that you are facing issue while exporting the TreeGrid with complex data. We have prepared a sample as per your suggestion, but we are not able to reproduce the reported issue at our end. For your convenience we have prepared a sample which can be downloaded from below link 
 
 
Note: to run the sample use commands, npm i and npm run serve. 
 
After referring the sample, if you are still facing the issue kindly share the following details 
 
  1. Share the TreeGrid rendering code.
  2. Share the details about your dataSource. (if possible)
  3. Are you facing issue while exporting the TreeGrid to excel format alone?
  4. If possible try to reproduce the reported issue at our end.
  5. Share your Essential studio version.
  6. If you are facing any script error, share the screenshot of the issue with stack trace.
 
Requested details will be helpful to validate the reported issue at our end. 
 
Regards, 
Vignesh Natarajan. 
 




JA Jaume May 7, 2019 07:36 AM UTC

Hi,

You can reproduce the error in your example setting one Empoloyee to null 
It works if Employee not exists or it has an object value but not if is null

Regards,
Jaume


VN Vignesh Natarajan Syncfusion Team May 9, 2019 12:25 PM UTC

Hi Jaume ,  
  
Thanks for the update. 
 
Query: “You can reproduce the error in your example setting one Employee to null 
  
We have validated the defect you have initiated with us. Thank you for the taking the time to report the issue and helping us improve our product. At Syncfusion we are committed to fixing all the validated defect (subject to technological feasibility and Product Development Life Cycle) and including its fix in our subsequent release. So fix for the issue will be included in our next patch release on 22nd  May 2019. 
  
You can track the current status of your request, review the resolution timeline and contact us for any further inquiries through this link.    
 
 
Note: To view the above feedback, kindly login into your account.  
    
Till then we appreciate your patience.    
  
Regards,  
Vignesh Natarajan. 
 



PS Pavithra Subramaniyam Syncfusion Team June 10, 2019 06:17 PM UTC

Hi  Jaume, 

Thanks for your patience. 

We are glad to announce that our patch release (v17.1.50)has been rolled out successfully and in that release, we have included the fix  “Grid exports are not working when we provide null value in complex field”. 
 
Regards, 
Pavithra S. 


Loader.
Live Chat Icon For mobile
Up arrow icon