Skip to content
This repository has been archived by the owner on Apr 17, 2019. It is now read-only.

Adding gif loader #363

Open
sujit223 opened this issue Feb 4, 2016 · 1 comment
Open

Adding gif loader #363

sujit223 opened this issue Feb 4, 2016 · 1 comment

Comments

@sujit223
Copy link

sujit223 commented Feb 4, 2016

Any idea of adding gif loader in chumper data-table while searching in the search box. If the data are like 10000 it takes while to be fetched and the user might feel awkward of the data table might be failing

@userhuman
Copy link

You can try to use this one. Now it's work for me

Javascript.blade.php

jQuery(document).ready(function(){

    // dynamic table
    var oTable = jQuery('#{{ $id }}').dataTable({
        'fnServerParams': function(aoData) {
            addProcessing();
        },
        "fnDrawCallback": function (oSettings) {
            removeProcessing();
        },

.
.
.
.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants