DmitrMakeev commited on
Commit
4114620
·
verified ·
1 Parent(s): 3997d45

Update data_gc_tab.html

Browse files
Files changed (1) hide show
  1. 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
- table.on("tableBuilt", () => {
36
- table.setPage(2);
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