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

Formatting not applied to ejSpreadsheet

When loading the ejSpreadsheet control with JSON based on an excel file (file attached) other than the bold font, none of the other two formats get applied (different colour font and background cell colour).
We're loading the control via thexlObj.loadFromJSON(JSON.parse(response.Content)); method.
On the server, we are opening the xlsx file and then using theSpreadsheet.Open(importRequest); to convert it to the necessary JSON.
Any ideas?
The JSON packet ends up looking like this:

Attachment: IN_COR_cdcaf0d3.zip

3 Replies

SI Silambarasan I Syncfusion Team December 7, 2018 04:49 AM

Hi Damien,

Thank you for contacting Syncfusion support.

We have checked your reported issue with the attached excel file by import it in Spreadsheet and the formats are loaded & imported properly in our end. Please refer the below output screenshot.

Moreover, we have checked your provided JSON data by load it using 'loadFromJSON()' method and it's also imported properly with the same font and background cell color in our end. For your convenience, we have prepared a sample to demonstrate this in JSPlayground.

Meanwhile, we would like to know the following details.

1. Please confirm whether you're facing this issue in specific browser or in all browsers.

2. Did you perform any functionality after importing this excel in Spreadsheet such as in loadComplete event, in AJAX success event,.?

3. Please provide your application details & the way of rendering Spreadsheet in your application.

4. Please provide your Essential Studio product version details that you are currently using.

5. If possible, please share an issue reproducible sample.

Could you please get back to us with the above information so that we can analyze based on that and provide you a better solution? The information provided would be a great help for us to resolve your issue.


SS Sarah Smith December 10, 2018 12:15 AM

Thanks a lot for your help.

Turns out it was to do with where we had the css file placed in the page. Am not sure why exactly, but it needed to be up in the styles section of the MVC page to work correctly.

SI Silambarasan I Syncfusion Team December 10, 2018 02:07 AM

Hi Damien, 
Most welcome. We are happy to hear that your issue has been resolved. 
Please get back to us if you need any further assistance. 

Live Chat Icon For mobile
Up arrow icon