mirror of
https://github.com/statbate/layout.git
synced 2026-08-11 03:12:42 +00:00
update
This commit is contained in:
parent
e84e8ecd2b
commit
e1d7487883
7 changed files with 80 additions and 8 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue