In my application i am using datatables.net
var ticketHistoryDataTable = $(\'#ticketHistoryData\').DataTable({
paging: false,
data: [],
There is way the to display loading message on jQuery DataTable:
$('#myTableId').DataTable({
"language": {
'loadingRecords': 'Processing...',
},
// 'processing': true,
.
.
})
On above code, // 'processing': true, is commented out, if not there will be two loading messages.
You also can do this way:
$('#myTableId').DataTable({
"language": {
'loadingRecords': ' ',
'processing': 'Loading...'
},
You can also show the loading spinner:
$('#myTableId').DataTable({
"language": {
"loadingRecords": "\n\
\n\
Processing ..."
},