I am creating an html dynamically and it working ok but some words needs to be wrap around but I can't figure how to get it working. Below is my a portion of my code. How do I make the td wrap?
for (var i = 0; i < data.length; i++) {
var item = data[i];
target.append("
item.Id +
"
item.LastNameName+
"
item.FirstName +
"
item.EmployeeNumber +
"
1 Reply
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jignesh KumarPosted Nov 17, 2022, 4:09 AM
Hi you can add class to your td where you want to apply word wrap,
https://stackoverflow.com/questions/57852630/how-to-break-text-in-dynamically-added-row-in-my-table