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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tabulator",
3
3
  "main": "dist/js/tabulator.js",
4
- "version": "5.3.3",
4
+ "version": "5.3.4",
5
5
  "description": "Interactive table generation JavaScript library",
6
6
  "keywords": [
7
7
  "table",
@@ -1,4 +1,4 @@
1
- /* Tabulator v5.3.3 (c) Oliver Folkerd 2022 */
1
+ /* Tabulator v5.3.4 (c) Oliver Folkerd 2022 */
2
2
  (function (global, factory) {
3
3
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
4
4
  typeof define === 'function' && define.amd ? define(factory) :
@@ -3325,7 +3325,7 @@
3325
3325
  var minHeight = 0;
3326
3326
 
3327
3327
  if (!this.redrawBlock) {
3328
- this.element.style.height = "";
3328
+ this.headersElement.style.height = "";
3329
3329
  this.columns.forEach(function (column) {
3330
3330
  column.clearVerticalAlign();
3331
3331
  });
@@ -3336,7 +3336,7 @@
3336
3336
  minHeight = height;
3337
3337
  }
3338
3338
  });
3339
- this.element.style.height = minHeight + "px";
3339
+ this.headersElement.style.height = minHeight + "px";
3340
3340
  this.columns.forEach(function (column) {
3341
3341
  column.verticalAlign(_this3.table.options.columnHeaderVertAlign, minHeight);
3342
3342
  });
@@ -5880,7 +5880,7 @@
5880
5880
  value: function getRows(type) {
5881
5881
  var rows = [];
5882
5882
 
5883
- if (!type) {
5883
+ if (!type || type === true) {
5884
5884
  rows = this.chain("rows-retrieve", type, null, this.rows) || this.rows;
5885
5885
  } else {
5886
5886
  switch (type) {
@@ -6021,10 +6021,11 @@
6021
6021
  key: "_clearPlaceholder",
6022
6022
  value: function _clearPlaceholder() {
6023
6023
  if (this.placeholder && this.placeholder.parentNode) {
6024
- this.placeholder.parentNode.removeChild(this.placeholder); // clear empty table placeholder min
6024
+ this.placeholder.parentNode.removeChild(this.placeholder);
6025
+ } // clear empty table placeholder min
6025
6026
 
6026
- this.tableElement.style.minWidth = "";
6027
- }
6027
+
6028
+ this.tableElement.style.minWidth = "";
6028
6029
  }
6029
6030
  }, {
6030
6031
  key: "_positionPlaceholder",
@@ -18190,9 +18191,9 @@
18190
18191
  this.topElement.appendChild(row.getElement());
18191
18192
  row.initialize();
18192
18193
  row.normalizeHeight();
18193
- this.table.rowManager.adjustTableSize();
18194
18194
  this.rows.push(row);
18195
18195
  this.refreshData(false, "display");
18196
+ this.table.rowManager.adjustTableSize();
18196
18197
  this.styleRows();
18197
18198
  } else {
18198
18199
  console.warn("Freeze Error - Row is already frozen");