Quantcast
Channel: DataTables 1.9 — DataTables forums
Viewing all articles
Browse latest Browse all 1816

How to fix!

$
0
0
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:

<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...

Viewing all articles
Browse latest Browse all 1816

Latest Images

Trending Articles



Latest Images