Update data_gc_tab.html
Browse files- data_gc_tab.html +6 -4
data_gc_tab.html
CHANGED
@@ -32,10 +32,12 @@ var table = new Tabulator("#example-table", {
|
|
32 |
});
|
33 |
|
34 |
|
35 |
-
|
36 |
-
|
37 |
-
}
|
38 |
-
|
|
|
|
|
39 |
</script>
|
40 |
|
41 |
|
|
|
32 |
});
|
33 |
|
34 |
|
35 |
+
var tableData = [
|
36 |
+
{id:1, name:"Billy Bob", age:"12", gender:"male", height:1, col:"red", dob:"", cheese:1},
|
37 |
+
{id:2, name:"Mary May", age:"1", gender:"female", height:2, col:"blue", dob:"14/05/1982", cheese:true},
|
38 |
+
]
|
39 |
+
|
40 |
+
table.setData(tableData);
|
41 |
</script>
|
42 |
|
43 |
|