@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.
@@ -1898,7 +1898,9 @@ var Render = /** @__PURE__ @class */ (function () {
1898
1898
  this.parent['args'] = args;
1899
1899
  var columnModel = getValue('columnModel', this.parent);
1900
1900
  var treeColumn = columnModel[this.parent.treeColumnIndex];
1901
- if ((isNullOrUndefined(this.parent.rowTemplate) && !(this.parent.isReact))) {
1901
+ if ((isNullOrUndefined(this.parent.rowTemplate) && !(this.parent.isReact))
1902
+ || ((this.parent.isReact) &&
1903
+ !args.column['template'])) {
1902
1904
  this.parent.trigger(queryCellInfo, args);
1903
1905
  }
1904
1906
  else if (((this.parent.isReact) &&
@@ -4404,7 +4406,9 @@ var TreeGrid = /** @__PURE__ @class */ (function (_super) {
4404
4406
  var gridContent = this.element.getElementsByClassName('e-gridcontent')[0].childNodes[0];
4405
4407
  gridContent.setAttribute('tabindex', '0');
4406
4408
  var contentTable = this.element.getElementsByClassName('e-content')[0].querySelector('.e-table');
4407
- contentTable.setAttribute('role', 'treegrid');
4409
+ if (!isNullOrUndefined(contentTable)) {
4410
+ contentTable.setAttribute('role', 'treegrid');
4411
+ }
4408
4412
  if (this.isIndentEnabled) {
4409
4413
  this.refreshToolbarItems();
4410
4414
  }
@@ -6128,6 +6132,17 @@ var TreeGrid = /** @__PURE__ @class */ (function (_super) {
6128
6132
  var persist2 = 'mergeColumns';
6129
6133
  this.grid["" + persist2].apply(this, [storedColumn, columns]);
6130
6134
  };
6135
+ TreeGrid.prototype.setFrozenCount = function () {
6136
+ var persist3 = 'setFrozenCount';
6137
+ this.grid["" + persist3].apply(this);
6138
+ };
6139
+ TreeGrid.prototype.splitFrozenCount = function (columns) {
6140
+ var persist4 = 'splitFrozenCount';
6141
+ this.grid["" + persist4].apply(this, [columns]);
6142
+ };
6143
+ TreeGrid.prototype.isFrozenGrid = function () {
6144
+ return this.grid.isFrozenGrid();
6145
+ };
6131
6146
  TreeGrid.prototype.updateTreeGridModel = function () {
6132
6147
  this.setProperties({ filterSettings: getObject('properties', this.grid.filterSettings) }, true);
6133
6148
  this.setProperties({ pageSettings: getObject('properties', this.grid.pageSettings) }, true);