comfortable-js
Advanced tools
Comparing version 0.1.139 to 0.1.140
{ | ||
"name": "comfortable-js", | ||
"version": "0.1.139", | ||
"version": "0.1.140", | ||
"description": "Simple, Fast, Customizable Table Component in JavaScript.", | ||
@@ -5,0 +5,0 @@ "author": "Kazuhiko Arase", |
@@ -216,11 +216,12 @@ /** | ||
var enableLockColumn = true; | ||
columns.forEach(function(column, col) { | ||
columns.forEach(function(column) { | ||
if (column.type == 'column') { | ||
for (var i = 0; i < column.colSpan; i += 1) { | ||
orderedColumnIndices.push(i + column.col); | ||
if (column.hidden) { | ||
hiddenColumns[i + column.col] = true; | ||
} | ||
} | ||
if (column.hidden) { | ||
hiddenColumns[column.col] = true; | ||
} | ||
} else if (column.type == ColumnType.LOCK_COLUMN) { | ||
var col = orderedColumnIndices.length; | ||
lockColumn = col < columns.length - 1? col : 0; | ||
@@ -227,0 +228,0 @@ enableLockColumn = !column.hidden; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
1167213
12432