Blame view

controllets/select-data-controllet/demo/index.html 2.38 KB
0af843be   Renato De Donato   filters + alasql
1
2
3
4
5
6
7
8
9
10
11
  <html>
  
  <head>
      <script src="../../../bower_components/webcomponentsjs/webcomponents-lite.min.js"></script>
  
      <script src="../../shared_js/jquery-1.11.2.min.js"></script>
  
      <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">
  
      <link rel="import" href="../../select-data-controllet/select-data-controllet.html" />
e94f9513   Renato De Donato   filter ln
12
13
  
      <script src="../../../locales/controllet_ln.js"></script>
0af843be   Renato De Donato   filters + alasql
14
15
16
17
  </head>
  
  <body>
  
39d5ab70   Renato De Donato   update filters
18
      <!--<select-data-controllet id="tvmt" root-name="data" opened-path="records,geometry" preselected-fields='["nhits", "records,datasetid", "records,recordid"]' data-url="http://ckan.routetopa.eu/api/action/datastore_search?resource_id=73e02092-85a1-434e-85fe-0c9a43aa9a52&limit=5"></select-data-controllet>-->
93ba7167   Renato De Donato   filters bug fix + ln
19
20
      <!--<select-data-controllet id="tvmt" root-name="data" data-url="https://data.issy.com/api/records/1.0/search?dataset=flux-rss-des-offres-demplois-a-issy-les-moulineaux&sort=published&facet=published&refine.published=2015%2F10"></select-data-controllet>-->
      <select-data-controllet id="tvmt" root-name="data" data-url="https://data.issy.com/api/records/1.0/search/?dataset=repartitiondeladetteparpreteursau3112n-feuille1&rows=56&sort=-annee"></select-data-controllet>
0314f487   Renato De Donato   filters opendatasoft
21
      <!--<select-data-controllet id="tvmt" root-name="data" data-url="http://ckan.routetopa.eu/api/action/datastore_search?resource_id=73e02092-85a1-434e-85fe-0c9a43aa9a52&limit=5"></select-data-controllet>-->
0af843be   Renato De Donato   filters + alasql
22
23
  
      <script>
e94f9513   Renato De Donato   filter ln
24
          ln["localization"] = "en";
0af843be   Renato De Donato   filters + alasql
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
          var tvmt = document.getElementById('tvmt');
  
          tvmt.addEventListener("tree-view-controllet_selected-fields", function (e) {
  //            console.log(tvmt.getFlatFields());
  //            console.log(tvmt.getFields());
          });
  
      </script>
  
  </body>
  
  </html>
  
  <!--urls:-->
  <!--http://dati.lazio.it/catalog/api/action/datastore_search?resource_id=114baf3d-6d4f-42ff-b4af-481beef59ae1-->
  <!--url: 'http://ckan.routetopa.eu/api/action/datastore_search?resource_id=73e02092-85a1-434e-85fe-0c9a43aa9a52&limit=5',-->
  <!--url: 'https://data.issy.com/api/records/1.0/search?dataset=liste-des-restaurants-a-issy-les-moulineaux&sort=type&facet=type&facet=terrasse',-->
  <!--url: 'https://data.issy.com/api/records/1.0/search?dataset=flux-rss-des-offres-demplois-a-issy-les-moulineaux&sort=published&facet=published&refine.published=2015',-->