qrz/static/js/datatable.min.js

1 line
567 B
JavaScript
Raw Permalink Normal View History

2020-08-16 16:56:33 +02:00
$(document).ready(function(){$('#main_table').DataTable({"display":true,"cell-border":true,"processing":true,"serverSide":true,"language":{"lengthMenu":"Show _MENU_ entries","info":"Showing page _PAGE_ of _PAGES_","search":"Search :","paginate":{"first":"First","last":"Last","next":"Next","previous":"Previous"},},"stateSave":true,"ajax":{"url":"/qrzws","type":"POST","contentType":"application/json","data":function(d){return JSON.stringify(d);},},"columns":[{"name":"qrz"},{"name":"name"},{"name":"city"},{"name":"dept"},{"name":"country"},{"name":"dmrid"},]});});