Hi,
I need to create a table with 2 columns and rows as needed using CRM 365 .
as Web resource in html .
any easy way
*This post is locked for comments
Hi,
You can achieve like this
<head>
<script>
var tbody = "";
for(var i=0;i<results.length;i++){
var row = "";
var rowStart = "<tr>";
var name="<td>" +Your Value+"</td>"
var email="<td>" +Your Value+"</td>";
var rowEnd = "</tr>";
var row=name+email;
tbody = tbody + row;
}
</script>
</head>
<body>
<table id="Table1" style='width: 100%;'>
<thead>
<tr>
<th>Name</th>
<th>Email</th>
</tr>
</thead>
<tbody id="Tbody1"></tbody>
</table>
</body>
Here, How many times loop will run, then rows will automatically add based on your script.
Hope it helps you,
Thanks.
This might be a good starting point:
www.w3schools.com/.../html_tables.asp
And on web resources:
msdn.microsoft.com/.../gg309536.aspx
Otherwise be a bit more specific on what you are looking for.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156