Tab de datos Bootstrap 4

            $(document).on('shown.bs.tab', 'a[data-toggle="tab"]', function (e) {
                $.fn.dataTable.tables({ visible: true, api: true }).columns.adjust();
            });
Clumsy Chimpanzee