function displayAuditTable(data=[]) {
var columns = [{data: 'date', name: 'Date',width:"20%"},
{data: 'user', name: 'User',orderable : false,width:"20%"},
{data: 'engagement_profile', name: 'Engagement Profile', orderable : false,width:"20%"},
{data: 'event', name: 'Event', orderable : false,width:"10%"},
{data: 'description',processing: false,
serverside: false, "Smart": false, "Regex": true,"Search": " ", orderable: true,width:"30%", searchable: true , name: 'description'}];
data.order = [];
data.sort = ['date','desc'];
$('#audit_trail_table').DataTable().destroy();
initializeDatatable('audit_trail_table', base_url + '/datatables/audit-trail',
columns, data, 'Audit Trail');
}
This is js when i search user than give me result but when i search user exp than give me not result, i am using yajra datatable
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire