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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback
Essential JS2

Syncfusion jQuery based widgets are no longer in active development. Switch to our pure JavaScript based next generation Essential JS 2 library.

Formatting not applied to ejSpreadsheet

Thread ID:





141323 Dec 6,2018 04:31 AM UTC Dec 10,2018 07:07 AM UTC jQuery 3
Tags: ejSpreadSheet
Damien Turnbull
Asked On December 6, 2018 04:31 AM UTC

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

Silambarasan I [Syncfusion]
Replied On December 7, 2018 09:49 AM UTC

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.


Damien Turnbull
Replied On December 10, 2018 05:15 AM UTC

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.

Silambarasan I [Syncfusion]
Replied On December 10, 2018 07:07 AM UTC

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. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon