Server Side Processing - adding php functions & formatting data
Server Side Processing - adding php functions & formatting data
I'm trying to get loads of data (which will increase) and so i'm wanting to use server side processing.
Using the ssp.class.php i've managed to populate a table with the raw json mysql table data fairly easily however I want to 'format' some of the row's results.
For example, before using datatables I used to get the results with php and pdo and when printing them to the screen, run them through some functions before hand in order to replace ID numbers with names, etc
I can't for the life of me figure out how to do this with SSP?
Answers
Three options:
columns.render
formatter
option of the columns structure, which you can see used in this example.Allan