Hi...i'm new in dataTables, and now i want to using it.
i was trying "Get Started" dataTables used, in some example...
in my case, how to add data into the table if the structure like this:
I took the data from JSON, please sir, help me!
Thanks...
i was trying "Get Started" dataTables used, in some example...
in my case, how to add data into the table if the structure like this:
<table id="records" class="display">
<thead>
<tr>
<th>kode</th>
<th>kota</th>
<th>Actions</th>
</tr>
</thead>
<tbody></tbody>
</table>
<script type="text/template" id="readTemplate">
<tr id="${kode}">
<td>${kode}</td>
<td>${kota}</td>
<td><a class="btn_edit" href="${updateLink}">Edit</a> | <a class="btn_delete" href="${deleteLink}">Delete</a></td>
</tr>
</script>
I took the data from JSON, please sir, help me!
Thanks...