Server-side processing row details - how to start?
Server-side processing row details - how to start?
culter
Posts: 102Questions: 24Answers: 0
I have working server-side processing DataTable and now I need to load another details after click on row. I have primary key in the table and based on this key, I want to display these additional data.
I'm trying to use this
https://datatables.net/examples/server_side/row_details.html
but contrary to https://datatables.net/blog/2017-03-31 , there is no other .php script to load data. Can I use this solution with server-side or not?
This discussion has been closed.
Answers
The "format" function in the blog example shows how you would make an ajax call to retrieve data. You need to provide the file called by the "url" parameter.
Thank you, tangerine. I'm using the server-processing.php script I downloaded here to load the main table. Can I just copy this script, modify the data and use it in the ajax request for row details?