• Post Reply Bookmark Topic Watch Topic
  • New Topic

HTML table not rendering properly from CSV  RSS feed

 
kuhu vora
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am trying to get a HTML table from a CSV File. This code worked properly before and I am not sure why this is a problem now.

This is the csv response I am getting from the server:



My request is this in Angular controller:




And finally this is my html page:



Previously, the table was printed properly but now every letter is coming in a new line. I tried many things like changing stream etc. but could not correct it.


Capture.PNG
[Thumbnail for Capture.PNG]
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65762
130
IntelliJ IDE Java jQuery Mac Mac OS X
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use the CSS inspector in the browser's debugger to see what styles are being applied to the columns that might make them render incorrectly.
 
kuhu vora
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault wrote:Use the CSS inspector in the browser's debugger to see what styles are being applied to the columns that might make them render incorrectly.


Turned out to be my mistake, data had some wild characters which it was not able to parse.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!