This commit is contained in:
Pusdatin BPKD Jkt
2022-08-02 16:36:00 +07:00
parent 77e56cafc9
commit 5d5d8b2741
10 changed files with 95 additions and 56 deletions
+8 -12
View File
@@ -387,18 +387,14 @@ refreshNotif = ()=>{
}
refreshNotif();
$.extend( $.fn.dataTable.ext.classes, {
sProcessing: "dataTables_processing",
});
if($.fn.dataTable != undefined){
$.extend( $.fn.dataTable.ext.classes, {
sProcessing: "dataTables_processing",
});
}
$(window).resize(function(){
$($.fn.dataTable.tables(true)).DataTable().columns.adjust();
if($.fn.dataTable != undefined){
$($.fn.dataTable.tables(true)).DataTable().columns.adjust();
}
});
$(window).on("#barButton", "click",()=>{
$(window).resize();
$($.fn.dataTable.tables(true)).DataTable().columns.adjust();
$.fn.dataTable
.tables( { visible: true, api: true } )
.columns.adjust();
});