How can i display loading/processing message inside DataTable?

前端 未结 4 1130
野性不改
野性不改 2021-01-21 03:08

In my application i am using datatables.net

var ticketHistoryDataTable = $(\'#ticketHistoryData\').DataTable({ 
        paging: false,
        data: [],
                 


        
4条回答
  •  温柔的废话
    2021-01-21 03:53

    You can use dom option to show loading:

    $('#example').dataTable( {
      "dom": 'lrtip'
    } );
    

    "r" letter is related to show loading element.
    For more information refer to this link

提交回复
热议问题