I am using ajax to load the Datatables faster, and I am not sure how to add an extra row… For example I would like the data to look like this:
=======================
first name || last name
=======================
name----- -||---last name
====================================
more info here and here
====================================
name2----- -||---last name2
====================================
more info here and here
====================================
The problem is that I am using ajax, so the table from the frontend just looks like:
<tbody>
<tr>
<td>loading...</td>
</tr>
</tbody>
How can I create additional rows when using Datatables ajax options? Any ideas? The code for ajax that I am using is the following: http://datatables.net/examples/data_sources/server_side.html
You can use the fnOpen method … here are the details -> http://www.datatables.net/examples/server_side/row_details.html