Loading data message on reload
Loading data message on reload
montoyam
Posts: 568Questions: 136Answers: 5
in DataTables
from what I can see, the "Loading data" message only works on initial load: https://datatables.net/reference/option/language.loadingRecords
Is there a way to do this when you do an ajax reload?
$("#resultType").change(function () {
resultTypeID = $("#resultType option:selected").attr('value');
BillableItemsTable.ajax.url('api/SDPlus_BillableItems?resultType=' + resultTypeID).load();
BillableItemsTable.searchPanes.rebuildPane();
switch (resultTypeID) {
case 0:
//add Post button
break;
case 1:
//remove buttons
break;
case 2:
//add repost button
break;
}
});
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
You should see it on any load - see example here. Could you look at that, please, and see if it helps. If it's still not working for you, please can you update my example, or link to your page, so that we can see the problem.
Cheers,
Colin
oh, I have never seen the option:
That was easy Thanks.