Skip to content
Advertisement

Display the whole content of object in array even if it is too long

I thought it was an issue with CSS so I have tried overflow:auto, text-overflow:ellipsis and display:flex in td

Here is my HTML

JavaScript

How can I display the whole content of my array?

Advertisement

Answer

I think your problem is when you are iterating over the array. You should put the foreach before <tr>, as following below:

JavaScript
User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement