Skip to content
Snippets Groups Projects
Commit 850af439 authored by Jaden Diefenbaugh's avatar Jaden Diefenbaugh
Browse files

pins first column of tables to first column placement, fixes #31

parent d753e94b
No related branches found
No related tags found
1 merge request!223Reports overhaul
......@@ -161,6 +161,10 @@ angular.module('reportApp')
// and the user cant see the exp
return false;
};
scope.sortableOptions = {
items: `th:not(:first-child)`
};
},
template: `
<div ng-if='isViewingCsv.val'>
......@@ -169,7 +173,7 @@ angular.module('reportApp')
<div ng-if='!isViewingCsv.val' style='height: 100%; overflow-x: auto;'>
<table class="table table-striped table-hover">
<thead>
<tr ui-sortable ng-model='fields'>
<tr ui-sortable='sortableOptions' ng-model='fields'>
<th ng-repeat='field in fields'>
<span
ng-if="sortField.val == field"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment