/home2/dakshskx/dakshaseo.com/admin/assets/scripts/custom
NameSizeModeActions
calendar.js74120644editdlrm
charts.js314980644editdlrm
coming-soon.js6610644editdlrm
components-dropdowns.js103830644editdlrm
components-editors.js5160644editdlrm
components-form-tools.js191330644editdlrm
components-ion-sliders.js23180644editdlrm
components-jqueryui-sliders.js36800644editdlrm
components-knob-dials.js5460644editdlrm
components-nouisliders.js17880644editdlrm
components-pickers.js78520644editdlrm
contact-us.js6320644editdlrm
custom.js5530644editdlrm
ecommerce-index.js80690644editdlrm
ecommerce-orders-view.js73390644editdlrm
ecommerce-orders.js27720644editdlrm
ecommerce-products-edit.js65210644editdlrm
ecommerce-products.js27890644editdlrm
form-dropzone.js14340644editdlrm
form-editable.js186430644editdlrm
form-fileupload.js27220644editdlrm
form-image-crop.js170440644editdlrm
form-samples.js14840644editdlrm
form-validation.js120080644editdlrm
form-wizard.js104420644editdlrm
inbox.js96430644editdlrm
index11.js326050644editdlrm
lock.js3950644editdlrm
login-soft.js84720644editdlrm
login.js83320644editdlrm
maps-google.js61530644editdlrm
maps-vector.js18970644editdlrm
portfolio.js1920644editdlrm
portlet-draggable.js6550644editdlrm
search.js2870644editdlrm
table-advanced.js45830644editdlrm
table-ajax.js33640644editdlrm
table-editable.js61910644editdlrm
table-managed.js60840644editdlrm
tasks.js3830644editdlrm
ui-alert-dialog-api.js33470644editdlrm
ui-blockui.js38940644editdlrm
ui-datepaginator.js8050644editdlrm
ui-extended-modals.js25640644editdlrm
ui-general.js66240644editdlrm
ui-idletimeout.js23300644editdlrm
ui-nestable.js15910644editdlrm
ui-notific8.js14720644editdlrm
ui-toastr.js49900644editdlrm
ui-tree.js64580644editdlrm
Edit: /home2/dakshskx/dakshaseo.com/admin/assets/scripts/custom/table-managed.js (6084B)
var TableManaged = function () { return { //main function to initiate the module init: function () { if (!jQuery().dataTable) { return; } // begin first table $('#sample_1').dataTable({ "aoColumns": [ { "bSortable": false }, null, { "bSortable": false, "sType": "text" }, null, { "bSortable": false }, { "bSortable": false } ], "aLengthMenu": [ [5, 15, 20, -1], [5, 15, 20, "All"] // change per page values here ], // set the initial value "iDisplayLength": 5, "sPaginationType": "bootstrap", "oLanguage": { "sLengthMenu": "_MENU_ records", "oPaginate": { "sPrevious": "Prev", "sNext": "Next" } }, "aoColumnDefs": [ { 'bSortable': false, 'aTargets': [0] }, { "bSearchable": false, "aTargets": [ 0 ] } ] }); jQuery('#sample_1 .group-checkable').change(function () { var set = jQuery(this).attr("data-set"); var checked = jQuery(this).is(":checked"); jQuery(set).each(function () { if (checked) { $(this).attr("checked", true); $(this).parents('tr').addClass("active"); } else { $(this).attr("checked", false); $(this).parents('tr').removeClass("active"); } }); jQuery.uniform.update(set); }); jQuery('#sample_1').on('change', 'tbody tr .checkboxes', function(){ $(this).parents('tr').toggleClass("active"); }); jQuery('#sample_1_wrapper .dataTables_filter input').addClass("form-control input-medium input-inline"); // modify table search input jQuery('#sample_1_wrapper .dataTables_length select').addClass("form-control input-xsmall"); // modify table per page dropdown //jQuery('#sample_1_wrapper .dataTables_length select').select2(); // initialize select2 dropdown // begin second table $('#sample_2').dataTable({ "aLengthMenu": [ [5, 15, 20, -1], [5, 15, 20, "All"] // change per page values here ], // set the initial value "iDisplayLength": 5, "sPaginationType": "bootstrap", "oLanguage": { "sLengthMenu": "_MENU_ records", "oPaginate": { "sPrevious": "Prev", "sNext": "Next" } }, "aoColumnDefs": [ { 'bSortable': false, 'aTargets': [0] }, { "bSearchable": false, "aTargets": [ 0 ] } ] }); jQuery('#sample_2 .group-checkable').change(function () { var set = jQuery(this).attr("data-set"); var checked = jQuery(this).is(":checked"); jQuery(set).each(function () { if (checked) { $(this).attr("checked", true); } else { $(this).attr("checked", false); } }); jQuery.uniform.update(set); }); jQuery('#sample_2_wrapper .dataTables_filter input').addClass("form-control input-small input-inline"); // modify table search input jQuery('#sample_2_wrapper .dataTables_length select').addClass("form-control input-xsmall"); // modify table per page dropdown jQuery('#sample_2_wrapper .dataTables_length select').select2(); // initialize select2 dropdown // begin: third table $('#sample_3').dataTable({ "aLengthMenu": [ [5, 15, 20, -1], [5, 15, 20, "All"] // change per page values here ], // set the initial value "iDisplayLength": 5, "sPaginationType": "bootstrap", "oLanguage": { "sLengthMenu": "_MENU_ records", "oPaginate": { "sPrevious": "Prev", "sNext": "Next" } }, "aoColumnDefs": [ { 'bSortable': false, 'aTargets': [0] }, { "bSearchable": false, "aTargets": [ 0 ] } ] }); jQuery('#sample_3 .group-checkable').change(function () { var set = jQuery(this).attr("data-set"); var checked = jQuery(this).is(":checked"); jQuery(set).each(function () { if (checked) { $(this).attr("checked", true); } else { $(this).attr("checked", false); } }); jQuery.uniform.update(set); }); jQuery('#sample_3_wrapper .dataTables_filter input').addClass("form-control input-small input-inline"); // modify table search input jQuery('#sample_3_wrapper .dataTables_length select').addClass("form-control input-xsmall"); // modify table per page dropdown jQuery('#sample_3_wrapper .dataTables_length select').select2(); // initialize select2 dropdown } }; }();