-
Notifications
You must be signed in to change notification settings - Fork 8
/
test.html
37 lines (30 loc) · 916 Bytes
/
test.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<!DOCTYPE html>
<html>
<head>
<title>plugin test</title>
<meta charset="UTF-8">
<meta name="viewport" content="initial-scale=1"/>
<script type="text/javascript" src="jquery.min.js"></script>
<script type="text/javascript" src="./build/reporttable.js"></script>
</head>
<body>
<button onclick="window.load1()">Load</button>
<div id="c1"></div>
<div id="c2"></div>
<div id="c3"></div>
<script>
reportTablePlugin.url = '//localhost:8080';
reportTablePlugin.username = 'admin';
reportTablePlugin.password = 'district';
reportTablePlugin.spinner = true;
window.c1 = { id: 'C0rhAq1oklh', el: 'c1' };
window.c2 = { id: 'xIWpSo5jjT1', el: 'c2' };
window.c3 = { id: 'jIISuEWxmoI', el: 'c3' };
window.load1 = function() {
reportTablePlugin.add(c1, c2);
reportTablePlugin.load();
reportTablePlugin.load([c3]);
};
</script>
</body>
</html>