@syncfusion/ej2-treegrid 25.1.35 → 25.1.37

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.
@@ -1741,7 +1741,9 @@ class Render {
1741
1741
  this.parent['args'] = args;
1742
1742
  const columnModel = getValue('columnModel', this.parent);
1743
1743
  const treeColumn = columnModel[this.parent.treeColumnIndex];
1744
- if ((isNullOrUndefined(this.parent.rowTemplate) && !(this.parent.isReact))) {
1744
+ if ((isNullOrUndefined(this.parent.rowTemplate) && !(this.parent.isReact))
1745
+ || ((this.parent.isReact) &&
1746
+ !args.column['template'])) {
1745
1747
  this.parent.trigger(queryCellInfo, args);
1746
1748
  }
1747
1749
  else if (((this.parent.isReact) &&
@@ -4113,7 +4115,9 @@ let TreeGrid = TreeGrid_1 = class TreeGrid extends Component {
4113
4115
  const gridContent = this.element.getElementsByClassName('e-gridcontent')[0].childNodes[0];
4114
4116
  gridContent.setAttribute('tabindex', '0');
4115
4117
  const contentTable = this.element.getElementsByClassName('e-content')[0].querySelector('.e-table');
4116
- contentTable.setAttribute('role', 'treegrid');
4118
+ if (!isNullOrUndefined(contentTable)) {
4119
+ contentTable.setAttribute('role', 'treegrid');
4120
+ }
4117
4121
  if (this.isIndentEnabled) {
4118
4122
  this.refreshToolbarItems();
4119
4123
  }
@@ -5822,6 +5826,17 @@ let TreeGrid = TreeGrid_1 = class TreeGrid extends Component {
5822
5826
  const persist2 = 'mergeColumns';
5823
5827
  this.grid[`${persist2}`].apply(this, [storedColumn, columns]);
5824
5828
  }
5829
+ setFrozenCount() {
5830
+ const persist3 = 'setFrozenCount';
5831
+ this.grid[`${persist3}`].apply(this);
5832
+ }
5833
+ splitFrozenCount(columns) {
5834
+ const persist4 = 'splitFrozenCount';
5835
+ this.grid[`${persist4}`].apply(this, [columns]);
5836
+ }
5837
+ isFrozenGrid() {
5838
+ return this.grid.isFrozenGrid();
5839
+ }
5825
5840
  updateTreeGridModel() {
5826
5841
  this.setProperties({ filterSettings: getObject('properties', this.grid.filterSettings) }, true);
5827
5842
  this.setProperties({ pageSettings: getObject('properties', this.grid.pageSettings) }, true);