n1crack / datatables

Simplify your Datatables server-side processing effortlessly using our lightning-fast PHP library, streamlining your workflow seamlessly.
https://datatables.ozdemir.be/
MIT License
266 stars 89 forks source link

empty dataset #74

Closed Goddard closed 2 years ago

Goddard commented 3 years ago

An empty dataset gives an error in the datatable rather than showing a message such as nothing to display or whatever.

If it is an empty result set then something like the example below should be used, but the default behavior doesn't just output [] or something like that so it gives an error. "emptyTable": "No tickets to display."