Spaces:
IrDelSol
/
Runtime error

DmitrMakeev commited on
Commit
1056141
·
verified ·
1 Parent(s): 8dba13c

Update data_gc_tab.html

Browse files
Files changed (1) hide show
  1. data_gc_tab.html +6 -1
data_gc_tab.html CHANGED
@@ -6,6 +6,11 @@
6
  <title>Tabulator Example</title>
7
  <link href="https://unpkg.com/[email protected]/dist/css/tabulator.min.css" rel="stylesheet">
8
  <script type="text/javascript" src="https://unpkg.com/[email protected]/dist/js/tabulator.min.js"></script>
 
 
 
 
 
9
  </head>
10
  <body>
11
  <div id="example-table"></div>
@@ -18,7 +23,7 @@
18
 
19
  var table = new Tabulator("#example-table", {
20
  data: tableData, // set initial table data
21
- layout: "fitDataStretch", // fit columns to width of table proportionally
22
  columns: [
23
  {title:"Name", field:"name"},
24
  {title:"Age", field:"age"},
 
6
  <title>Tabulator Example</title>
7
  <link href="https://unpkg.com/[email protected]/dist/css/tabulator.min.css" rel="stylesheet">
8
  <script type="text/javascript" src="https://unpkg.com/[email protected]/dist/js/tabulator.min.js"></script>
9
+ <style>
10
+ #example-table {
11
+ width: 720px; /* Устанавливаем ширину контейнера */
12
+ }
13
+ </style>
14
  </head>
15
  <body>
16
  <div id="example-table"></div>
 
23
 
24
  var table = new Tabulator("#example-table", {
25
  data: tableData, // set initial table data
26
+ layout: "fitColumns", // fit columns to width of table
27
  columns: [
28
  {title:"Name", field:"name"},
29
  {title:"Age", field:"age"},