Repeat column headers for each swimlane

This commit is contained in:
Frederic Guillot
2015-10-06 21:51:10 -04:00
parent 28a4c86f7a
commit f3f438a3ff
9 changed files with 57 additions and 42 deletions

View File

@@ -231,7 +231,7 @@ Board.prototype.toggleCollapsedMode = function() {
Board.prototype.restoreColumnViewMode = function() {
var self = this;
$("tr:first th").each(function() {
$(".board-column-header").each(function() {
var columnId = $(this).data('column-id');
if (localStorage.getItem("hidden_column_" + columnId)) {
self.hideColumn(columnId);

View File

@@ -15,7 +15,8 @@ Swimlane.prototype.expand = function(swimlaneId) {
localStorage.setItem(this.getStorageKey(), JSON.stringify(swimlaneIds));
$('.swimlane-row-' + swimlaneId).css('display', 'table-row');
$('.board-swimlane-columns-' + swimlaneId).css('display', 'table-row');
$('.board-swimlane-tasks-' + swimlaneId).css('display', 'table-row');
$('.hide-icon-swimlane-' + swimlaneId).css('display', 'inline');
$('.show-icon-swimlane-' + swimlaneId).css('display', 'none');
};
@@ -28,7 +29,8 @@ Swimlane.prototype.collapse = function(swimlaneId) {
localStorage.setItem(this.getStorageKey(), JSON.stringify(swimlaneIds));
}
$('.swimlane-row-' + swimlaneId).css('display', 'none');
$('.board-swimlane-columns-' + swimlaneId + ':not(:first-child)').css('display', 'none');
$('.board-swimlane-tasks-' + swimlaneId).css('display', 'none');
$('.hide-icon-swimlane-' + swimlaneId).css('display', 'none');
$('.show-icon-swimlane-' + swimlaneId).css('display', 'inline');
};