Blame view

controllets/multi-table-controllet/demo/index.html 1.22 KB
94601c1f   Renato De Donato   trevieww multitable
1
2
3
4
5
6
7
  <html>
  
  <head>
      <script src="../../shared_js/jquery-1.11.2.min.js"></script>
  
      <script src="../../../bower_components/webcomponentsjs/webcomponents-lite.min.js"></script>
  
98d9d8a5   Renato De Donato   filters+groupby
8
9
10
      <script src="../../shared_js/perfect-scrollbar/js/min/perfect-scrollbar.jquery.min.js"></script>
      <link rel="stylesheet" href="../../shared_js/perfect-scrollbar/css/perfect-scrollbar.min.css">
  
94601c1f   Renato De Donato   trevieww multitable
11
12
13
14
15
      <link rel="import" href="../multi-table-controllet.html" />
  </head>
  
  <body>
  
98d9d8a5   Renato De Donato   filters+groupby
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
      <style>
  
          .container {
              height: 400px;
              width: 50%;
              /*width: 400px;*/
              position: relative;
              top: 100px;
              left:25%;
          }
  
      </style>
  
      <div class="container">
          <multi-table-controllet id="multi" data-url="http://ckan.routetopa.eu/api/action/datastore_search?resource_id=73e02092-85a1-434e-85fe-0c9a43aa9a52&amp;limit=10000"></multi-table-controllet>
      </div>
94601c1f   Renato De Donato   trevieww multitable
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
  
      <script>
  
          var A = [];
          A["data"] = ["result,records,Lat"];
          A["data,records"] = ["result,records,Lat","result,records,Lng"];
          A["data,records,geometry"] = ["result,records,Lng"];
  
          var multi = document.getElementById('multi');
  
          multi.setSelectedFields(A);
      </script>
  
  </body>
  
  </html>