Using Server Side Processing, how do I customize the cell's output?
Using Server Side Processing, how do I customize the cell's output?
Following instructions for Simple Server Side processing here: https://datatables.net/examples/server_side/simple.html
I was able to get the database content displaying in the table. The one difference in what I need is that I need to have in the last column in the table a custom button. How do I get the data pulled formatted in the cell into a button. Client Side I would do:
<td><a href="link_page.php?id=$val[0]">Details</a></td>
but with server side (using because I have 500K records) I don't know how to insert the custom button code with the database entry in it.
Anyone know how I can do this using the DataTables provided ssp.class.php script from the link for simple server side processing?
This discussion has been closed.
Answers
You can use
columns.renderon the client for that.Colin