Hi I am using Laravel 5 and I want to display data on my datatables is ascending depends on "tanggal_publish" field on the database. I don't want to show "tanggal_publish in my table. Do you know how to do it?
Here is my javascript:
$(document).ready(function(){
$('#surat').DataTable({
ajax: {
url: '{!! route("datasurat") !!}',
dataSrc:''
},
columns : ['no','jenis_surat','nomor_surat','perihal','status','']
});
});
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1rZqDru
via IFTTT
Aucun commentaire:
Enregistrer un commentaire