我正在使用 DataTables 并想根据以下示例从 js 创建动态表:
http://datatables.net/release-datatables/examples/data_sources/js_array.html
如果我想创建一些更复杂的行,如
<tr>
<td><div class="checksquared"><input type="checkbox" name="checkbox[]" /><label></label></div></td>
<td>Title Name</td>
<td>18769</td>
<td>
<span class="checkslide">
<input type="checkbox" checked="checked" />
<label data-on="On" data-off="Off"></label>
</span>
</td>
<td>
<span class="tip" ><a href="modalEdit.html?idEdit=edit" class="pop_box" title="Edit" ><img src="images/icon/icon_edit.png" ></a></span>
<span class="tip" ><a href="javascript:void(0)" class="Delete" data-name="delete name" title="Delete"><img src="images/icon/icon_delete.png" ></a></span>
</td>
</tr>
编辑:我的服务器端是 ASP.NET