I have the following code that works great; however, it displays more records than I'd like (all records from the database table). I'd rather limit the returned data to columns equal to a specific value. Similar to a where clause (where x.id = "1"). Is this possible to accomplish with a renderer?
columnDefs: [
{
// The `data` parameter refers to the data for the cell (defined by the
// `data` option, which defaults to the column being worked with, in
// this case `data: 0`.
"render": function ( data, type, row ) {
return ''+ row.users.full_name +'';
},
"targets": 14
},