@syncfusion/ej2-treegrid 32.1.22-1533505 → 32.1.22

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.
@@ -5144,18 +5144,12 @@ var TreeGrid = /** @__PURE__ @class */ (function (_super) {
5144
5144
  this.renderComplete();
5145
5145
  var destroyTemplate = 'destroyTemplate';
5146
5146
  var destroyTemplateFn = this.grid["" + destroyTemplate];
5147
- var isGantt = this['isFromGantt'] && this.isReact;
5148
5147
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
5149
5148
  this.grid["" + destroyTemplate] = function (args, index, callback) {
5150
5149
  destroyTemplateFn.apply(_this.grid);
5151
5150
  var portals = 'portals';
5152
5151
  if (!(_this.isReact && isNullOrUndefined(_this["" + portals]))) {
5153
- if (isGantt) {
5154
- _this['root'].clearTemplate(args, index, callback);
5155
- }
5156
- else {
5157
- _this.clearTemplate(args, index, callback);
5158
- }
5152
+ _this.clearTemplate(args, index, callback);
5159
5153
  }
5160
5154
  else if (!isNullOrUndefined(callback)) {
5161
5155
  callback();
@@ -6862,7 +6856,6 @@ var TreeGrid = /** @__PURE__ @class */ (function (_super) {
6862
6856
  var table = this.getContentTable();
6863
6857
  var sHeight = table.scrollHeight;
6864
6858
  var clientHeight = this.getContent().clientHeight;
6865
- removeClass(table.querySelectorAll('td.e-lastrowcell'), 'e-lastrowcell');
6866
6859
  this.lastRowBorder(this.getRows()[currentRecords.indexOf(record)], sHeight <= clientHeight);
6867
6860
  }
6868
6861
  };