@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.
@@ -4827,18 +4827,12 @@ let TreeGrid = TreeGrid_1 = class TreeGrid extends Component {
4827
4827
  this.renderComplete();
4828
4828
  const destroyTemplate = 'destroyTemplate';
4829
4829
  const destroyTemplateFn = this.grid[`${destroyTemplate}`];
4830
- const isGantt = this['isFromGantt'] && this.isReact;
4831
4830
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
4832
4831
  this.grid[`${destroyTemplate}`] = (args, index, callback) => {
4833
4832
  destroyTemplateFn.apply(this.grid);
4834
4833
  const portals = 'portals';
4835
4834
  if (!(this.isReact && isNullOrUndefined(this[`${portals}`]))) {
4836
- if (isGantt) {
4837
- this['root'].clearTemplate(args, index, callback);
4838
- }
4839
- else {
4840
- this.clearTemplate(args, index, callback);
4841
- }
4835
+ this.clearTemplate(args, index, callback);
4842
4836
  }
4843
4837
  else if (!isNullOrUndefined(callback)) {
4844
4838
  callback();
@@ -6525,7 +6519,6 @@ let TreeGrid = TreeGrid_1 = class TreeGrid extends Component {
6525
6519
  const table = this.getContentTable();
6526
6520
  const sHeight = table.scrollHeight;
6527
6521
  const clientHeight = this.getContent().clientHeight;
6528
- removeClass(table.querySelectorAll('td.e-lastrowcell'), 'e-lastrowcell');
6529
6522
  this.lastRowBorder(this.getRows()[currentRecords.indexOf(record)], sHeight <= clientHeight);
6530
6523
  }
6531
6524
  }