Datatables server-side processing display 2 or more database column values in 1 column in datatable
Datatables server-side processing display 2 or more database column values in 1 column in datatable

How can i display 2 or more column values of database in one column in server-side processing datatables ? I am using this for reference (https://datatables.net/examples/data_sources/server_side.html)
This discussion has been closed.
Answers
Hi @goduncle ,
This example will help. Ignore the Editor bits, look at the
columns.render
function that joins thefirst_name
andlast_name
into a single column.Cheers,
Colin