On initial load of my datatable via ajax, the table shows no data and 'Loading...' appears in the table body.
On DataTable().ajax.reload(), the 'Loading...' text is not present.
I know I can turn on the processing option to get the bar across the table, but if I do this then on initial loading my users see both 'Loading...' in the table body and 'Processing...' on top of that.
Has anyone found a solution to have one all the time or the other? I would prefer to replace the table body with 'Loading...' for each ajax reload.
Thanks!
settings.iDraw = 0;
did not show the loading message on subsequent data reloads. It still showed "No data available in table" while loading data. I had to set the iDraw property to -1 to have the "Loading..." message appear upon ajax reloads. – Rhiannonrhianon