Server-side child rows fetching
Server-side child rows fetching
Can anyone show me a simple example of using a call to the db to retrieve data for a child row?
This discussion has been closed.
Can anyone show me a simple example of using a call to the db to retrieve data for a child row?
Answers
Here's an example using jquery post:
$.post('path/to/server-side-script/', {'id':1}, result(){dataTable.row.add( ['',result.key1,result.key2,...] ).draw( false );}, 'json');Please do let me know if this is what you were looking for