add spinner to datatable v1.10

0

I need to add a spinner or "loading" to my datatable, I have tried without results, will it exist by default in datatable?

I tried this:

$('#table').dataTable( {
                "paging":   true,
                "ordering": true,
                "info":     false,        
                "order": [[ 3, "asc" ]],
                processing: true,
                "language": {
                  "processing": " Waiting..." //add a loading image,simply putting <img src="loader.gif" /> tag.
              }

          });


$('#table').dataTable( {
                    "paging":   true,
                    "ordering": true,
                    "info":     false,      
                    "order": [[ 3, "asc" ]],
                    processing: true,
                    'language':{ 
                       "loadingRecords": "&nbsp;",
                       "processing": "Loading..."
                    }




              });
    
asked by Javier Antonio Aguayo Aguilar 25.08.2017 в 21:15
source

0 answers