Is there a way to only load the table from ajax if it is visbile?
For example, if the table is on a hidden bootstrap tab, it shouldn't load unnecessarily until the tab becomes active.
Use the Bootstrap shown.bs.tab event and initialize the table when the tab is shown. You will want to use $.fn.dataTable.isDataTable() to make sure the Datatable is initialized only once.
It looks like you're new here. If you want to get involved, click one of these buttons!
DataTables designed and created by SpryMedia Ltd.
SpryMedia Ltd is registered in Scotland, company no. SC456502.