leematthewshome / Qlik-Sense-Transposed-Table-Extension

This visualisation extension for Qlik Sense allows for complex financial report style outputs, where each row is a unique calculation.
Apache License 2.0
8 stars 9 forks source link

Background colors #1

Closed EduardoSommer closed 5 years ago

EduardoSommer commented 6 years ago

Hi, I downloaded the extension and tried to use it on my Qlik Sense Desktop (November 2017) but, it didn't format it well. Even when I opened the General Ledger example that comes with the extension, it didn't show the colors and indentation of rows, headers, etc. Is there any version related issue or something else that I'm missing? This extension will be very usefull. Thank you in Advance Eduardo

leematthewshome commented 6 years ago

Hi Eduardo. I have the same problem with my QS Desktop....I think it is something to do with caching of old code in my case. If I open the app from localhost:8080/hub while QS Desktop is running then I see the extension formatted correctly. Can you perhaps try that. Also, have you actually put some hex color codes into your table config? Ensure that they have the hash in front of them.

leematthewshome commented 6 years ago

I have updated the qvf file that is included. It is now called "General Ledger New.qvf" and is a little smaller in size.

leematthewshome commented 6 years ago

Hi Eduardo. I notice someone has had issues with coloring in IE. What browser were you using when you had issues? Can you try with Chrome and see if the problems persist?

chadjwatson commented 6 years ago

I am also having the same issue. I am using Qlik Sense February 2018 Release with Patch 1. None of the formatting is working in the Qlik Sense desktop application. It won't be a cache issue for me since this is the first time I have used this Extension. When I upload it to the Qlik Sense server and view it in a Chrome browser then the coloring is there. However, the formatting does not display in Internet Explorer (11).

leematthewshome commented 6 years ago

OK. I can confirm that I see the the same issue with IE11. (This is the first time I have every used IE on my PC, as frankly its a piece of junk). Formatting works fine in Edge. I will see if I can work it out while making the next round of improvements.

leematthewshome commented 6 years ago

I have resolved this issue and uploaded the fix to the TransposedTable.js file. Formatting now works correctly in IE11 and Qlik Sense Desktop.

This was a problem caused by IE11 (and apparently the QSD web engine) not working with a certain approach for setting HTML styles via javascript.

chadjwatson commented 6 years ago

Hi, Thank you for the update. I downloaded a new zip file and went to my extensions folder and removed the extension and re-added it. However, I still don't see any formatting in the table. I tried creating a new table but I didn't see the formatting there either. I also did it on the server with the same result. Is there something I need to do other than updating the files?

leematthewshome commented 6 years ago

You might need to clear the browser cache. QSD also will cache javascript code. Check out this video https://www.youtube.com/watch?v=kqCskeLn4Vw

chadjwatson commented 6 years ago

Thanks for your response. I cleared my browser cache and followed the video instructions but it still doesn't resolve the issue, i still see no formatting. Do you know of anything else I can try? I'd be curious to know if anyone else is having a similar issue or if it is just my setup.

leematthewshome commented 6 years ago

check you actually have the right js file version. Open TransposedTable.js in a text editor and search for "IE11". I think I uploaded the file to the wrong folder on Github. There is a copy in the root folder which should not be there. I will move to the correct folder.