ソースを参照

Added show/hide row

Dennis Hernández 11 年 前
コミット
40335600bf
1 ファイル変更2 行追加2 行削除
  1. 2 2
      src/bootstrap-table.js

+ 2 - 2
src/bootstrap-table.js

@@ -1422,7 +1422,7 @@
         }
 
         if (visible) {
-			this.$selectItem.filter(sprintf('[data-index="%s"]', index)).parents('tr').css('display', 'table-row');
+            this.$selectItem.filter(sprintf('[data-index="%s"]', index)).parents('tr').css('display', 'table-row');
 		} else {
             this.$selectItem.filter(sprintf('[data-index="%s"]', index)).parents('tr').css('display', 'none');
 		}
@@ -1554,7 +1554,7 @@
 	};
 
 	BootstrapTable.prototype.hideRow = function (index) {
-		this.toggleRow(index, false);
+        this.toggleRow(index, false);
 	};
 
     BootstrapTable.prototype.mergeCells = function (options) {