Mercurial > repos > eduardo > annotateviz
comparison static/js/gff_app.js @ 4:92921dfea0b5 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/annotateviz commit 230f5fe14cc469e56626201a5c377686976d81fc
author | eduardo |
---|---|
date | Sat, 24 Jun 2017 14:55:25 -0400 |
parents | 7537482eed36 |
children |
comparison
equal
deleted
inserted
replaced
3:3302f18f9e16 | 4:92921dfea0b5 |
---|---|
15 paginationPageSize: 25, | 15 paginationPageSize: 25, |
16 exporterCsvLinkElement: angular.element(document.querySelectorAll(".custom-csv-link-location")), | 16 exporterCsvLinkElement: angular.element(document.querySelectorAll(".custom-csv-link-location")), |
17 //enableHorizontalScrollbar: 0, | 17 //enableHorizontalScrollbar: 0, |
18 //enableVerticalScrollbar: 1, | 18 //enableVerticalScrollbar: 1, |
19 columnDefs: [ | 19 columnDefs: [ |
20 { name: 'contig', grouping: { groupPriority: 0 }, sort: { priority: 0, direction: 'desc' }, width: '25%', cellTemplate: '<div><div ng-if="!col.grouping || col.grouping.groupPriority === undefined || col.grouping.groupPriority === null || ( row.groupHeader && col.grouping.groupPriority === row.treeLevel )" class="ui-grid-cell-contents" title="TOOLTIP">{{COL_FIELD CUSTOM_FILTERS}}</div></div>' }, | 20 { name: 'Contig', grouping: { groupPriority: 0 }, sort: { priority: 0, direction: 'desc' }, width: '25%', cellTemplate: '<div><div ng-if="!col.grouping || col.grouping.groupPriority === undefined || col.grouping.groupPriority === null || ( row.groupHeader && col.grouping.groupPriority === row.treeLevel )" class="ui-grid-cell-contents" title="TOOLTIP">{{COL_FIELD CUSTOM_FILTERS}}</div></div>' }, |
21 { name: 'mRNA', grouping: { groupPriority: 1 }, sort: { priority: 1,direction: 'desc' }, width: '25%', cellTemplate: '<div><div ng-if="!col.grouping || col.grouping.groupPriority === undefined || col.grouping.groupPriority === null || ( row.groupHeader && col.grouping.groupPriority === row.treeLevel )" class="ui-grid-cell-contents" title="TOOLTIP">{{COL_FIELD CUSTOM_FILTERS}}</div></div>' }, | 21 { name: 'mRNA', grouping: { groupPriority: 1 }, sort: { priority: 1,direction: 'desc' }, width: '25%', cellTemplate: '<div><div ng-if="!col.grouping || col.grouping.groupPriority === undefined || col.grouping.groupPriority === null || ( row.groupHeader && col.grouping.groupPriority === row.treeLevel )" class="ui-grid-cell-contents" title="TOOLTIP">{{COL_FIELD CUSTOM_FILTERS}}</div></div>' }, |
22 { name: 'prediction', width: '25%' }, | 22 { name: 'Prediction', width: '25%' }, |
23 { name: 'source', width: '10%' }, | 23 { name: 'Source', width: '10%' }, |
24 { name: 'score', width: '5%'}, | 24 { name: 'Score', width: '5%'}, |
25 ], | 25 ], |
26 onRegisterApi: function( gridApi ) { | 26 onRegisterApi: function( gridApi ) { |
27 $scope.gridApi = gridApi; | 27 $scope.gridApi = gridApi; |
28 } | 28 } |
29 }; | 29 }; |
30 | 30 |
31 //var baseurl= '/api/datasets/'+hdaId+'?provider=sqlite-dict&data_type=raw_data&query='; | 31 |
32 //var select="select%20seqid,seqid,source,featuretype,start,end,score,strand,frame,attributes%20from%20features"; | |
33 //var url= baseurl + select; | |
34 $http.get('trans.json') | 32 $http.get('trans.json') |
35 .success (function(response){ | 33 .success (function(response){ |
36 $scope.gridOptions.data = response; | 34 $scope.gridOptions.data = response; |
37 //mygridOptions.totalItems = mygridOptions.data.length; | 35 //mygridOptions.totalItems = mygridOptions.data.length; |
38 });//end get_url | 36 });//end get_url |