Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //ini datatable tampung barang beli
- $(document).ready(function () {
- var oTable = $('#big_table').dataTable({
- "bProcessing": true,
- "bServerSide": true,
- "sAjaxSource": '<?php echo base_url(); ?>pembelian/datatablebarangbelisatuan',
- "bJQueryUI": true,
- "sPaginationType": "full_numbers",
- "iDisplayStart ": 20,
- "oLanguage": {
- "sProcessing": "<img src='<?php echo site_url('assets/loader/ajax-loader_dark.gif'); ?>'>"
- },
- "fnInitComplete": function () {
- //oTable.fnAdjustColumnSizing();
- },
- 'fnServerData': function (sSource, aoData, fnCallback) {
- $.ajax
- ({
- 'dataType': 'json',
- 'type': 'POST',
- 'url': sSource,
- 'data': aoData,
- 'success': fnCallback
- });
- }
- });
- });
Add Comment
Please, Sign In to add comment