Update data_gc_tab.html
Browse files- data_gc_tab.html +6 -10
data_gc_tab.html
CHANGED
|
@@ -95,22 +95,18 @@
|
|
| 95 |
|
| 96 |
<script>
|
| 97 |
var tableData = [
|
| 98 |
-
{id:1, name:"Billy Bob",
|
| 99 |
-
{id:2, name:"Mary May",
|
| 100 |
];
|
| 101 |
|
| 102 |
var table = new Tabulator("#example-table", {
|
| 103 |
data: tableData, // set initial table data
|
| 104 |
layout: "fitColumns", // fit columns to width of table
|
| 105 |
columns: [
|
| 106 |
-
{title:"
|
| 107 |
-
{title:"
|
| 108 |
-
{title:"
|
| 109 |
-
|
| 110 |
-
{title:"Height", field:"height"},
|
| 111 |
-
{title:"Favourite Color", field:"col"},
|
| 112 |
-
{title:"Date Of Birth", field:"dob"},
|
| 113 |
-
{title:"Cheese Preference", field:"cheese"},
|
| 114 |
],
|
| 115 |
});
|
| 116 |
</script>
|
|
|
|
| 95 |
|
| 96 |
<script>
|
| 97 |
var tableData = [
|
| 98 |
+
{id:1, name:"Billy Bob", mail:"[email protected]", phone:"79132927290"},
|
| 99 |
+
{id:2, name:"Mary May", mail:"[email protected]", phone:"79154442211"},
|
| 100 |
];
|
| 101 |
|
| 102 |
var table = new Tabulator("#example-table", {
|
| 103 |
data: tableData, // set initial table data
|
| 104 |
layout: "fitColumns", // fit columns to width of table
|
| 105 |
columns: [
|
| 106 |
+
{title:"Имя", field:"name"},
|
| 107 |
+
{title:"Почта", field:"mail"},
|
| 108 |
+
{title:"Телнфон", field:"phone"},
|
| 109 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
| 110 |
],
|
| 111 |
});
|
| 112 |
</script>
|