Suppose i get empty data from server sometimes, i want to display No Data found message in DataTables?. How is this possible?
It is worth noting that if you are returning server side data - you must supply the Data attribute even if there isn't any. It doesn't read the recordsTotal or recordsFiltered but relies on the count of the data object
recordsTotal
recordsFiltered