Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Category list
- function list() {
- table = $("#tblList").dataTable({
- "aProcessing" : true,
- "aServerSide" : true,
- dom : "Bfrtip",
- buttons : [
- "copyHtml5",
- "excelHtml5",
- "csvHtml5",
- "pdf"
- ],
- "ajax" : {
- url : "../../ajax/categoria.php?op=listar",
- type : "get",
- dataType : "json",
- error : function (e) {
- console.log(e.responseText);
- }
- }
- }).DataTable();
- }
Add Comment
Please, Sign In to add comment