Want to show loader GIF in datatables

后端 未结 2 854
孤独总比滥情好
孤独总比滥情好 2021-02-02 11:39

I\'m using datatables. My code is working fine. Now I want to add a loader image (gif). I don\'t know how to add this. Here is my datatable script so far.

$(d         


        
2条回答
  •  清酒与你
    2021-02-02 12:14

    If you want to replace the 'Processing...' string with an image as you mentioned in the comment you need to take a look here

    $('#example').dataTable( {
        oLanguage: {
            sProcessing: ""
        },
        processing : true
    });
    

提交回复
热议问题