Is there a way to define custom html for an empty DataTable?

Viewed 1184

I have a Datatable that could be empty - I know about the language.emptyTable (https://datatables.net/reference/option/language.emptyTable) option, but I'd like to not just display text if the table is empty, but render custom HTML.

Is there a recommended way to do this in the table's settings?

1 Answers
Related