tabulator-tables 5.3.3 → 5.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bower.json +1 -1
- package/dist/js/tabulator.js +9 -8
- package/dist/js/tabulator.js.map +1 -1
- package/dist/js/tabulator.min.js +2 -2
- package/dist/js/tabulator.min.js.map +1 -1
- package/dist/js/tabulator_esm.js +11 -11
- package/dist/js/tabulator_esm.js.map +1 -1
- package/dist/js/tabulator_esm.min.js +2 -2
- package/dist/js/tabulator_esm.min.js.map +1 -1
- package/package.json +1 -1
- package/src/js/core/ColumnManager.js +2 -2
- package/src/js/core/RowManager.js +4 -4
- package/src/js/modules/FrozenRows/FrozenRows.js +3 -2
- package/src/js/modules/GroupRows/GroupRows.js +1 -2
package/package.json
CHANGED
|
@@ -287,7 +287,7 @@ export default class ColumnManager extends CoreFeature {
|
|
|
287
287
|
|
|
288
288
|
if(!this.redrawBlock){
|
|
289
289
|
|
|
290
|
-
this.
|
|
290
|
+
this.headersElement.style.height="";
|
|
291
291
|
|
|
292
292
|
this.columns.forEach((column) => {
|
|
293
293
|
column.clearVerticalAlign();
|
|
@@ -301,7 +301,7 @@ export default class ColumnManager extends CoreFeature {
|
|
|
301
301
|
}
|
|
302
302
|
});
|
|
303
303
|
|
|
304
|
-
this.
|
|
304
|
+
this.headersElement.style.height = minHeight + "px";
|
|
305
305
|
|
|
306
306
|
this.columns.forEach((column) => {
|
|
307
307
|
column.verticalAlign(this.table.options.columnHeaderVertAlign, minHeight);
|
|
@@ -788,7 +788,7 @@ export default class RowManager extends CoreFeature{
|
|
|
788
788
|
getRows(type){
|
|
789
789
|
var rows = [];
|
|
790
790
|
|
|
791
|
-
if(!type){
|
|
791
|
+
if(!type || type === true){
|
|
792
792
|
rows = this.chain("rows-retrieve", type, null, this.rows) || this.rows;
|
|
793
793
|
}else{
|
|
794
794
|
switch(type){
|
|
@@ -928,10 +928,10 @@ export default class RowManager extends CoreFeature{
|
|
|
928
928
|
_clearPlaceholder(){
|
|
929
929
|
if(this.placeholder && this.placeholder.parentNode){
|
|
930
930
|
this.placeholder.parentNode.removeChild(this.placeholder);
|
|
931
|
-
|
|
932
|
-
// clear empty table placeholder min
|
|
933
|
-
this.tableElement.style.minWidth = "";
|
|
934
931
|
}
|
|
932
|
+
|
|
933
|
+
// clear empty table placeholder min
|
|
934
|
+
this.tableElement.style.minWidth = "";
|
|
935
935
|
}
|
|
936
936
|
|
|
937
937
|
_positionPlaceholder(){
|
|
@@ -100,12 +100,13 @@ class FrozenRows extends Module{
|
|
|
100
100
|
this.topElement.appendChild(row.getElement());
|
|
101
101
|
row.initialize();
|
|
102
102
|
row.normalizeHeight();
|
|
103
|
-
|
|
104
|
-
|
|
103
|
+
|
|
105
104
|
this.rows.push(row);
|
|
106
105
|
|
|
107
106
|
this.refreshData(false, "display");
|
|
108
107
|
|
|
108
|
+
this.table.rowManager.adjustTableSize();
|
|
109
|
+
|
|
109
110
|
this.styleRows();
|
|
110
111
|
|
|
111
112
|
}else{
|
|
@@ -279,8 +279,7 @@ class GroupRows extends Module{
|
|
|
279
279
|
|
|
280
280
|
// get grouped table data in the same format as getData()
|
|
281
281
|
userGetGroupedData(){
|
|
282
|
-
return this.table.options.groupBy ?
|
|
283
|
-
this.getGroupedData() : this.getData();
|
|
282
|
+
return this.table.options.groupBy ? this.getGroupedData() : this.getData();
|
|
284
283
|
}
|
|
285
284
|
|
|
286
285
|
|