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 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsForums
Top experts
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Jignesh KumarRank #91 · 22.9K reputationPosted Nov 16, 2022, 11:09 PM EST
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