EJS Template table and Combo box
Posted: Mon Jul 10, 2017 5:00 pm
Hi,
When I add a combo box code to the EJS template table it does not work? How are we suppose to add these to the EJS tables.
<table id="openPayables" class="customtable" width="100%">
<% for (i = 0; i < L2000DA.length; i++) { %>
<tr>
<td>
<div id="$OPT" class="form-control HI" style="position: absolute; background-color: rgb(255, 255, 255); overflow: hidden; border: 1px solid rgb(127, 157, 185); height: 40px; width: 90px;">
<input type="text" autocomplete="off" class="form-control" name="undefined" maxlength="1" style="position: absolute; border: 0px none; top: 0px; left: 1px; padding-top: 1px; font-family: "Trebuchet MS"; font-weight: normal; outline: none; width: 69px;">
<img src="/profoundui/proddata/images/combo/down_arrow.gif" style="position: absolute; top: 0px; right: 0px; width: 18px; height: 20px;">
</div>
</td>
<td class="col-vendor">
<%= L2000DA['WKVND#'] %>
</td>
<td class="col-name">
<%= L2000DA['$NAME'] %>
</td>
<td class="col-payamtdta">
<%= L2000DA['WKPAMT#DA'] %>
</td>
<td class="col-amtduedta">
<%= L2000DA['WKADUE#DA'] %>
</td>
<td class="col-totaldta">
<%= L2000DA['WKTDUE#DA'] %>
</td>
<td class="col-discdta">
<%= L2000DA['WKDAMT'] %>
</td>
</tr>
<% } %>
</table>
When I add a combo box code to the EJS template table it does not work? How are we suppose to add these to the EJS tables.
<table id="openPayables" class="customtable" width="100%">
<% for (i = 0; i < L2000DA.length; i++) { %>
<tr>
<td>
<div id="$OPT" class="form-control HI" style="position: absolute; background-color: rgb(255, 255, 255); overflow: hidden; border: 1px solid rgb(127, 157, 185); height: 40px; width: 90px;">
<input type="text" autocomplete="off" class="form-control" name="undefined" maxlength="1" style="position: absolute; border: 0px none; top: 0px; left: 1px; padding-top: 1px; font-family: "Trebuchet MS"; font-weight: normal; outline: none; width: 69px;">
<img src="/profoundui/proddata/images/combo/down_arrow.gif" style="position: absolute; top: 0px; right: 0px; width: 18px; height: 20px;">
</div>
</td>
<td class="col-vendor">
<%= L2000DA['WKVND#'] %>
</td>
<td class="col-name">
<%= L2000DA['$NAME'] %>
</td>
<td class="col-payamtdta">
<%= L2000DA['WKPAMT#DA'] %>
</td>
<td class="col-amtduedta">
<%= L2000DA['WKADUE#DA'] %>
</td>
<td class="col-totaldta">
<%= L2000DA['WKTDUE#DA'] %>
</td>
<td class="col-discdta">
<%= L2000DA['WKDAMT'] %>
</td>
</tr>
<% } %>
</table>