|
@@ -548,15 +548,6 @@
|
|
|
'</span>'].join('');
|
|
'</span>'].join('');
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
- BootstrapTable.prototype.resetView = function() {
|
|
|
|
|
- var header = this.header;
|
|
|
|
|
-
|
|
|
|
|
- this.$header.find('.th-inner').each(function(i) {
|
|
|
|
|
- $(this).attr('style', header.styles[i])
|
|
|
|
|
- .css('width', ($(this).parent().width()) + 'px'); // padding: 8px
|
|
|
|
|
- });
|
|
|
|
|
- };
|
|
|
|
|
-
|
|
|
|
|
BootstrapTable.prototype.updateRows = function(checked) {
|
|
BootstrapTable.prototype.updateRows = function(checked) {
|
|
|
var that = this;
|
|
var that = this;
|
|
|
|
|
|
|
@@ -578,6 +569,15 @@
|
|
|
// PUBLIC FUNCTION DEFINITION
|
|
// PUBLIC FUNCTION DEFINITION
|
|
|
// =======================
|
|
// =======================
|
|
|
|
|
|
|
|
|
|
+ BootstrapTable.prototype.resetView = function() {
|
|
|
|
|
+ var header = this.header;
|
|
|
|
|
+
|
|
|
|
|
+ this.$header.find('.th-inner').each(function(i) {
|
|
|
|
|
+ $(this).attr('style', header.styles[i])
|
|
|
|
|
+ .css('width', ($(this).parent().width()) + 'px'); // padding: 8px
|
|
|
|
|
+ });
|
|
|
|
|
+ };
|
|
|
|
|
+
|
|
|
BootstrapTable.prototype.load = function(data) {
|
|
BootstrapTable.prototype.load = function(data) {
|
|
|
this.initData(data);
|
|
this.initData(data);
|
|
|
this.initPagination();
|
|
this.initPagination();
|
|
@@ -646,7 +646,7 @@
|
|
|
'getSelections',
|
|
'getSelections',
|
|
|
'load', 'append', 'mergeCells',
|
|
'load', 'append', 'mergeCells',
|
|
|
'checkAll', 'uncheckAll',
|
|
'checkAll', 'uncheckAll',
|
|
|
- 'destroy'
|
|
|
|
|
|
|
+ 'resetView', 'destroy'
|
|
|
],
|
|
],
|
|
|
value;
|
|
value;
|
|
|
|
|
|