This commit is contained in:
poiuty 2023-06-15 18:13:32 +03:00
parent e84e8ecd2b
commit e1d7487883
7 changed files with 80 additions and 8 deletions

View file

@ -160,7 +160,17 @@ function statbate() {
}
function createTables(){
tables["main"] = $('#main').DataTable({...dataTableOptions,});
tables["main"] = $('#main').DataTable({
...dataTableOptions,
aoColumns: [
{ "orderable": false, "searchable": false, "sWidth": "5%" },
{ "orderable": false, "sWidth": "35%" },
{ "orderable": false, "sWidth": "15%" },
{ "searchable": false, "sWidth": "15%" },
{ "searchable": false, "sWidth": "15%" },
{ "searchable": false, "sWidth": "15%" },
],
});
tables["main"]["status"] = "mobile";
if(window.innerWidth > 805){
tables["main"]["status"] = "desktop";