@syncfusion/ej2-treegrid 20.4.42 → 20.4.48

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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 20.4.42
3
+ * version : 20.4.48
4
4
  * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-treegrid@*",
3
- "_id": "@syncfusion/ej2-treegrid@20.4.40",
3
+ "_id": "@syncfusion/ej2-treegrid@20.4.44",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-77XrKP83agJWtUCEV5qm1mfH0zxHb2kIEj5QkDUdg56vCoilfe0GYGZDvM2FpOs8xwN6dlRuXpm+jUuiJJ7f4g==",
5
+ "_integrity": "sha512-DSCX1PXQAUXdKr+vI6F9nxZ1aBFKpdbWBVVeEkrT17tySdvpD+/sW2zYOcFkOYyEK9Od98pkI+qJwL/zG+P5LQ==",
6
6
  "_location": "/@syncfusion/ej2-treegrid",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -24,8 +24,8 @@
24
24
  "/@syncfusion/ej2-react-treegrid",
25
25
  "/@syncfusion/ej2-vue-treegrid"
26
26
  ],
27
- "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-treegrid/-/ej2-treegrid-20.4.40.tgz",
28
- "_shasum": "82da8b14f8f6e002af7c8e19b2feda12d691522e",
27
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-treegrid/-/ej2-treegrid-20.4.44.tgz",
28
+ "_shasum": "58a34bd34717c8d9492bccc5942e03148e0fd960",
29
29
  "_spec": "@syncfusion/ej2-treegrid@*",
30
30
  "_where": "/jenkins/workspace/ease-automation_release_19.1.0.1/packages/included",
31
31
  "author": {
@@ -36,10 +36,10 @@
36
36
  },
37
37
  "bundleDependencies": false,
38
38
  "dependencies": {
39
- "@syncfusion/ej2-base": "~20.4.42",
40
- "@syncfusion/ej2-data": "~20.4.42",
41
- "@syncfusion/ej2-grids": "~20.4.42",
42
- "@syncfusion/ej2-popups": "~20.4.42"
39
+ "@syncfusion/ej2-base": "~20.4.48",
40
+ "@syncfusion/ej2-data": "~20.4.48",
41
+ "@syncfusion/ej2-grids": "~20.4.48",
42
+ "@syncfusion/ej2-popups": "~20.4.48"
43
43
  },
44
44
  "deprecated": false,
45
45
  "description": "Essential JS 2 TreeGrid Component",
@@ -66,6 +66,6 @@
66
66
  "url": "git+https://github.com/syncfusion/ej2-treegrid.git"
67
67
  },
68
68
  "typings": "index.d.ts",
69
- "version": "20.4.42",
69
+ "version": "20.4.48",
70
70
  "sideEffects": false
71
71
  }
@@ -274,7 +274,7 @@ var DataManipulation = /** @class */ (function () {
274
274
  && this.parent.grid.aggregates.length && this.parent.grid.sortSettings.columns.length === 0
275
275
  && this.parent.grid.filterSettings.columns.length === 0 && !this.parent.grid.searchSettings.key.length) {
276
276
  var query = 'query';
277
- var summaryQuery = args["" + query].queries.filter(function (q) { q.fn === 'onAggregates'; });
277
+ var summaryQuery = args["" + query].queries.filter(function (q) { return q.fn === 'onAggregates'; });
278
278
  args.result = this.parent.summaryModule.calculateSummaryValue(summaryQuery, this.parent.flatData, true);
279
279
  }
280
280
  this.parent.notify('updateResults', args);
@@ -341,9 +341,9 @@ var DataManipulation = /** @class */ (function () {
341
341
  qry.isCountRequired = true;
342
342
  if (this.parent.enableVirtualization && rowDetails.action === 'remoteExpand') {
343
343
  qry.take(this.parent.pageSettings.pageSize);
344
- var expandDetail_1 = [];
345
- expandDetail_1.push('ExpandingAction', rowDetails.record[this.parent.idMapping]);
346
- qry.expand(expandDetail_1);
344
+ var expandDetail = [];
345
+ expandDetail.push('ExpandingAction', rowDetails.record[this.parent.idMapping]);
346
+ qry.expand(expandDetail);
347
347
  }
348
348
  else if (this.parent.enableVirtualization && rowDetails.action === 'collapse') {
349
349
  qry.take(this.parent.grid.pageSettings.pageSize);
@@ -1,4 +1,4 @@
1
- import { Component, addClass, createElement, EventHandler, isNullOrUndefined, Ajax, ModuleDeclaration, extend, merge} from '@syncfusion/ej2-base';import { removeClass, EmitType, Complex, Collection, KeyboardEventArgs, getValue } from '@syncfusion/ej2-base';import {Event, Property, NotifyPropertyChanges, INotifyPropertyChanged, setValue, KeyboardEvents, L10n } from '@syncfusion/ej2-base';import { Column, ColumnModel } from '../models/column';import { BeforeBatchSaveArgs, BeforeBatchAddArgs, BatchDeleteArgs, BeforeBatchDeleteArgs, Row } from '@syncfusion/ej2-grids';import { GridModel, ColumnQueryModeType, HeaderCellInfoEventArgs, EditSettingsModel as GridEditModel } from '@syncfusion/ej2-grids';import { RowDragEventArgs, RowDropEventArgs, RowDropSettingsModel, RowDropSettings, getUid } from '@syncfusion/ej2-grids';import { LoadingIndicator } from '../models/loading-indicator';import { LoadingIndicatorModel } from '../models/loading-indicator-model';import { ActionEventArgs, TextAlign } from'@syncfusion/ej2-grids';import { DetailDataBoundEventArgs, ClipMode, ColumnChooser} from '@syncfusion/ej2-grids';import { SearchEventArgs, AddEventArgs, EditEventArgs, DeleteEventArgs} from '@syncfusion/ej2-grids';import { SaveEventArgs, CellSaveArgs, BatchAddArgs, BatchCancelArgs, BeginEditArgs, CellEditArgs} from '@syncfusion/ej2-grids';import { FilterSettings } from '../models/filter-settings';import { TextWrapSettings } from '../models/textwrap-settings';import { TextWrapSettingsModel } from '../models/textwrap-settings-model';import {Filter} from '../actions/filter';import { Logger as TreeLogger } from '../actions/logger';import { BeforeCopyEventArgs, BeforePasteEventArgs } from '@syncfusion/ej2-grids';import { TreeClipboard } from '../actions/clipboard';import {Aggregate} from '../actions/summary';import { Reorder } from '../actions/reorder';import { Resize } from '../actions/resize';import { Selection as TreeGridSelection } from '../actions/selection';import { ColumnMenu } from '../actions/column-menu';import { DetailRow } from '../actions/detail-row';import { Freeze } from '../actions/freeze-column';import { Print } from '../actions/print';import * as events from '../base/constant';import { FilterSettingsModel } from '../models/filter-settings-model';import { SearchSettings} from '../models/search-settings';import { SearchSettingsModel } from '../models/search-settings-model';import {RowInfo, RowDataBoundEventArgs, PageEventArgs, FilterEventArgs, FailureEventArgs, SortEventArgs } from '@syncfusion/ej2-grids';import { RowSelectingEventArgs, RowSelectEventArgs, RowDeselectEventArgs, IIndex, ISelectedCell } from '@syncfusion/ej2-grids';import {ColumnModel as GridColumnModel, Column as GridColumn, CellSelectEventArgs, CellDeselectEventArgs } from '@syncfusion/ej2-grids';import { SelectionSettings } from '../models/selection-settings';import { SelectionSettingsModel } from '../models/selection-settings-model';import {getActualProperties, SortDirection, getObject, ColumnDragEventArgs } from '@syncfusion/ej2-grids';import { PrintMode, Data, IGrid, ContextMenuItemModel } from '@syncfusion/ej2-grids';import { ColumnMenuItem, ColumnMenuItemModel, CheckBoxChangeEventArgs } from '@syncfusion/ej2-grids';import { ExcelExportCompleteArgs, ExcelHeaderQueryCellInfoEventArgs, ExcelQueryCellInfoEventArgs } from '@syncfusion/ej2-grids';import { PdfExportCompleteArgs, PdfHeaderQueryCellInfoEventArgs, PdfQueryCellInfoEventArgs } from '@syncfusion/ej2-grids';import { ExcelExportProperties, PdfExportProperties, CellSelectingEventArgs, PrintEventArgs } from '@syncfusion/ej2-grids';import { ColumnMenuOpenEventArgs } from '@syncfusion/ej2-grids';import {BeforeDataBoundArgs} from '@syncfusion/ej2-grids';import { DataManager, ReturnOption, RemoteSaveAdaptor, Query, JsonAdaptor, Deferred } from '@syncfusion/ej2-data';import { createSpinner, hideSpinner, showSpinner, Dialog } from '@syncfusion/ej2-popups';import { isRemoteData, isOffline, extendArray, isCountRequired, findChildrenRecords } from '../utils';import { Grid, QueryCellInfoEventArgs, Logger } from '@syncfusion/ej2-grids';import { Render } from '../renderer/render';import { VirtualTreeContentRenderer } from '../renderer/virtual-tree-content-render';import { DataManipulation } from './data';import { RowDD } from '../actions/rowdragdrop';import { Sort } from '../actions/sort';import { ITreeData, RowExpandedEventArgs, RowCollapsedEventArgs, RowCollapsingEventArgs, TreeGridExcelExportProperties } from './interface';import { CellSaveEventArgs, DataStateChangeEventArgs, RowExpandingEventArgs, TreeGridPdfExportProperties } from './interface';import { iterateArrayOrObject, GridLine } from '@syncfusion/ej2-grids';import { DataSourceChangedEventArgs, RecordDoubleClickEventArgs, ResizeArgs } from '@syncfusion/ej2-grids';import { ToolbarItems, ToolbarItem, ContextMenuItem, ContextMenuItems, RowPosition, CopyHierarchyType } from '../enum';import { ItemModel, ClickEventArgs, BeforeOpenCloseMenuEventArgs, MenuEventArgs } from '@syncfusion/ej2-navigations';import { PageSettings } from '../models/page-settings';import { PageSettingsModel } from '../models/page-settings-model';import { AggregateRow } from '../models/summary';import { AggregateRowModel } from '../models/summary-model';import { ExcelExport } from '../actions/excel-export';import { PdfExport } from '../actions/pdf-export';import { Toolbar } from '../actions/toolbar';import { Page } from '../actions/page';import { ContextMenu } from '../actions/context-menu';import { EditSettings } from '../models/edit-settings';import { EditSettingsModel } from '../models/edit-settings-model';import { Edit} from '../actions/edit';import { SortSettings } from '../models/sort-settings';import { SortSettingsModel } from '../models/sort-settings-model';import { isHidden, getExpandStatus } from '../utils';import { editAction } from '../actions/crud-actions';import { InfiniteScrollSettings } from '../models/infinite-scroll-settings';import { InfiniteScrollSettingsModel } from '../models/infinite-scroll-settings-model';import { TreeActionEventArgs } from '..';import * as literals from '../base/constant';
1
+ import { Component, addClass, createElement, EventHandler, isNullOrUndefined, Ajax, ModuleDeclaration, extend, merge} from '@syncfusion/ej2-base';import { removeClass, EmitType, Complex, Collection, KeyboardEventArgs, getValue } from '@syncfusion/ej2-base';import {Event, Property, NotifyPropertyChanges, INotifyPropertyChanged, setValue, KeyboardEvents, L10n } from '@syncfusion/ej2-base';import { Column, ColumnModel } from '../models/column';import { BeforeBatchSaveArgs, BeforeBatchAddArgs, BatchDeleteArgs, BeforeBatchDeleteArgs, Row } from '@syncfusion/ej2-grids';import { GridModel, ColumnQueryModeType, HeaderCellInfoEventArgs, EditSettingsModel as GridEditModel } from '@syncfusion/ej2-grids';import { RowDragEventArgs, RowDropEventArgs, RowDropSettingsModel, RowDropSettings, getUid } from '@syncfusion/ej2-grids';import { LoadingIndicator } from '../models/loading-indicator';import { LoadingIndicatorModel } from '../models/loading-indicator-model';import { ActionEventArgs, TextAlign } from'@syncfusion/ej2-grids';import { DetailDataBoundEventArgs, ClipMode, ColumnChooser} from '@syncfusion/ej2-grids';import { SearchEventArgs, AddEventArgs, EditEventArgs, DeleteEventArgs} from '@syncfusion/ej2-grids';import { SaveEventArgs, CellSaveArgs, BatchAddArgs, BatchCancelArgs, BeginEditArgs, CellEditArgs} from '@syncfusion/ej2-grids';import { FilterSettings } from '../models/filter-settings';import { TextWrapSettings } from '../models/textwrap-settings';import { TextWrapSettingsModel } from '../models/textwrap-settings-model';import {Filter} from '../actions/filter';import { Logger as TreeLogger } from '../actions/logger';import { BeforeCopyEventArgs, BeforePasteEventArgs } from '@syncfusion/ej2-grids';import { TreeClipboard } from '../actions/clipboard';import {Aggregate} from '../actions/summary';import { Reorder } from '../actions/reorder';import { Resize } from '../actions/resize';import { Selection as TreeGridSelection } from '../actions/selection';import { ColumnMenu } from '../actions/column-menu';import { DetailRow } from '../actions/detail-row';import { Freeze } from '../actions/freeze-column';import { Print } from '../actions/print';import * as events from '../base/constant';import { FilterSettingsModel } from '../models/filter-settings-model';import { SearchSettings} from '../models/search-settings';import { SearchSettingsModel } from '../models/search-settings-model';import {RowInfo, RowDataBoundEventArgs, PageEventArgs, FilterEventArgs, FailureEventArgs, SortEventArgs } from '@syncfusion/ej2-grids';import { RowSelectingEventArgs, RowSelectEventArgs, RowDeselectingEventArgs, RowDeselectEventArgs, IIndex, ISelectedCell } from '@syncfusion/ej2-grids';import {ColumnModel as GridColumnModel, Column as GridColumn, CellSelectEventArgs, CellDeselectEventArgs } from '@syncfusion/ej2-grids';import { SelectionSettings } from '../models/selection-settings';import { SelectionSettingsModel } from '../models/selection-settings-model';import {getActualProperties, SortDirection, getObject, ColumnDragEventArgs } from '@syncfusion/ej2-grids';import { PrintMode, Data, IGrid, ContextMenuItemModel } from '@syncfusion/ej2-grids';import { ColumnMenuItem, ColumnMenuItemModel, CheckBoxChangeEventArgs } from '@syncfusion/ej2-grids';import { ExcelExportCompleteArgs, ExcelHeaderQueryCellInfoEventArgs, ExcelQueryCellInfoEventArgs } from '@syncfusion/ej2-grids';import { PdfExportCompleteArgs, PdfHeaderQueryCellInfoEventArgs, PdfQueryCellInfoEventArgs } from '@syncfusion/ej2-grids';import { ExcelExportProperties, PdfExportProperties, CellSelectingEventArgs, PrintEventArgs } from '@syncfusion/ej2-grids';import { ColumnMenuOpenEventArgs } from '@syncfusion/ej2-grids';import {BeforeDataBoundArgs} from '@syncfusion/ej2-grids';import { DataManager, ReturnOption, RemoteSaveAdaptor, Query, JsonAdaptor, Deferred } from '@syncfusion/ej2-data';import { createSpinner, hideSpinner, showSpinner, Dialog } from '@syncfusion/ej2-popups';import { isRemoteData, isOffline, extendArray, isCountRequired, findChildrenRecords } from '../utils';import { Grid, QueryCellInfoEventArgs, Logger } from '@syncfusion/ej2-grids';import { Render } from '../renderer/render';import { VirtualTreeContentRenderer } from '../renderer/virtual-tree-content-render';import { DataManipulation } from './data';import { RowDD } from '../actions/rowdragdrop';import { Sort } from '../actions/sort';import { ITreeData, RowExpandedEventArgs, RowCollapsedEventArgs, RowCollapsingEventArgs, TreeGridExcelExportProperties } from './interface';import { DataStateChangeEventArgs, RowExpandingEventArgs, TreeGridPdfExportProperties } from './interface';import { iterateArrayOrObject, GridLine } from '@syncfusion/ej2-grids';import { DataSourceChangedEventArgs, RecordDoubleClickEventArgs, ResizeArgs } from '@syncfusion/ej2-grids';import { ToolbarItems, ToolbarItem, ContextMenuItem, ContextMenuItems, RowPosition, CopyHierarchyType } from '../enum';import { ItemModel, ClickEventArgs, BeforeOpenCloseMenuEventArgs, MenuEventArgs } from '@syncfusion/ej2-navigations';import { PageSettings } from '../models/page-settings';import { PageSettingsModel } from '../models/page-settings-model';import { AggregateRow } from '../models/summary';import { AggregateRowModel } from '../models/summary-model';import { ExcelExport } from '../actions/excel-export';import { PdfExport } from '../actions/pdf-export';import { Toolbar } from '../actions/toolbar';import { Page } from '../actions/page';import { ContextMenu } from '../actions/context-menu';import { EditSettings } from '../models/edit-settings';import { EditSettingsModel } from '../models/edit-settings-model';import { Edit} from '../actions/edit';import { SortSettings } from '../models/sort-settings';import { SortSettingsModel } from '../models/sort-settings-model';import { isHidden, getExpandStatus } from '../utils';import { editAction } from '../actions/crud-actions';import { InfiniteScrollSettings } from '../models/infinite-scroll-settings';import { InfiniteScrollSettingsModel } from '../models/infinite-scroll-settings-model';import { TreeActionEventArgs } from '..';import * as literals from '../base/constant';
2
2
  import {ComponentModel} from '@syncfusion/ej2-base';
3
3
 
4
4
  /**
@@ -1439,7 +1439,7 @@ var TreeGrid = /** @class */ (function (_super) {
1439
1439
  }
1440
1440
  var treeGridColumn;
1441
1441
  var gridColumn;
1442
- if (this.columnModel.length == 0) {
1442
+ if (this.columnModel.length === 0) {
1443
1443
  index = index === 0 ? -1 : index;
1444
1444
  }
1445
1445
  var gridColumnCollection = [];
@@ -2941,6 +2941,14 @@ var TreeGrid = /** @class */ (function (_super) {
2941
2941
  if ((!isCountRequired(this) || childRecords.length) || action === 'collapse') {
2942
2942
  this.localExpand(action, row, record);
2943
2943
  }
2944
+ var lastrowIdx = this.getVisibleRecords()[this.getVisibleRecords().length - 1]['index'];
2945
+ var lastRow = this.getRowByIndex(lastrowIdx);
2946
+ if (this.grid.getContentTable().clientHeight <= this.grid.getContent().clientHeight && !isNullOrUndefined(lastRow) && !lastRow.cells[0].classList.contains('e-lastrowcell')) {
2947
+ this.lastRowBorder(lastRow, true);
2948
+ }
2949
+ }
2950
+ if (isCountRequired(this) && action === 'expand') {
2951
+ this.dataResults.result = this.getCurrentViewRecords();
2944
2952
  }
2945
2953
  if (!isNullOrUndefined(targetEle) && targetEle.closest('.e-treerowcell').classList.contains('e-cellselectionbackground')) {
2946
2954
  targetEle.closest('.e-treerowcell').classList.remove('e-cellselectionbackground');
@@ -3133,8 +3141,9 @@ var TreeGrid = /** @class */ (function (_super) {
3133
3141
  return e.uniqueID === record.uniqueID;
3134
3142
  });
3135
3143
  var currentIndex = currentViewData.indexOf(currentRecord[0]);
3136
- if (!isNullOrUndefined(gridRowsObject[currentIndex].visible) && gridRowsObject[currentIndex].visible !== false) {
3137
- gridRowsObject[currentIndex].visible = true;
3144
+ if (!isNullOrUndefined(gridRowsObject[parseInt(currentIndex.toString(), 10)].visible) &&
3145
+ gridRowsObject[parseInt(currentIndex.toString(), 10)].visible !== false) {
3146
+ gridRowsObject[parseInt(currentIndex.toString(), 10)].visible = true;
3138
3147
  }
3139
3148
  var detailrows = gridRows.filter(function (r) {
3140
3149
  return r.classList.contains('e-griddetailrowindex' + record.index + 'level' + (record.level + 1));
@@ -3143,13 +3152,14 @@ var TreeGrid = /** @class */ (function (_super) {
3143
3152
  if (!isNullOrUndefined(rows[parseInt(i.toString(), 10)])) {
3144
3153
  rows[parseInt(i.toString(), 10)].style.display = displayAction;
3145
3154
  }
3146
- if (!isNullOrUndefined(rows[parseInt(i.toString(), 10)]) && !this.allowPaging && !(this.enableVirtualization || this.enableInfiniteScrolling || isRemoteData(this) || isCountRequired(this))) {
3147
- gridRowsObject[rows[parseInt(i.toString(), 10)].rowIndex].visible = displayAction != 'none' ? true : false;
3155
+ if (!isNullOrUndefined(rows[parseInt(i.toString(), 10)]) && !this.allowPaging && !(this.enableVirtualization
3156
+ || this.enableInfiniteScrolling || isRemoteData(this) || isCountRequired(this))) {
3157
+ gridRowsObject[rows[parseInt(i.toString(), 10)].rowIndex].visible = displayAction !== 'none' ? true : false;
3148
3158
  var parentRecord = currentViewData.filter(function (e) {
3149
3159
  return e.uniqueID === currentRecord[0].parentUniqueID;
3150
3160
  });
3151
3161
  if (!isNullOrUndefined(parentRecord[0]) && gridRows[currentViewData.indexOf(parentRecord[0])].getElementsByClassName('e-treegridcollapse').length) {
3152
- gridRowsObject[currentIndex].visible = false;
3162
+ gridRowsObject[parseInt(currentIndex.toString(), 10)].visible = false;
3153
3163
  }
3154
3164
  }
3155
3165
  if (!isNullOrUndefined(movableRows)) {
@@ -3168,12 +3178,14 @@ var TreeGrid = /** @class */ (function (_super) {
3168
3178
  }
3169
3179
  }
3170
3180
  for (var i = 0; i < detailrows.length; i++) {
3171
- if (!isNullOrUndefined(detailrows[parseInt(i.toString(), 10)]) && !this.allowPaging && !(this.enableVirtualization || this.enableInfiniteScrolling || isRemoteData(this) || isCountRequired(this))) {
3172
- gridRowsObject[detailrows[parseInt(i.toString(), 10)].rowIndex].visible = displayAction != 'none' ? true : false;
3181
+ if (!isNullOrUndefined(detailrows[parseInt(i.toString(), 10)]) && !this.allowPaging && !(this.enableVirtualization
3182
+ || this.enableInfiniteScrolling || isRemoteData(this) || isCountRequired(this))) {
3183
+ gridRowsObject[detailrows[parseInt(i.toString(), 10)].rowIndex].visible = displayAction !== 'none' ? true : false;
3173
3184
  detailrows[parseInt(i.toString(), 10)].style.display = displayAction;
3174
3185
  }
3175
3186
  }
3176
- if (!this.allowPaging && !(this.enableVirtualization || this.enableInfiniteScrolling || isRemoteData(this) || isCountRequired(this))) {
3187
+ if (!this.allowPaging && !(this.enableVirtualization || this.enableInfiniteScrolling || isRemoteData(this)
3188
+ || isCountRequired(this))) {
3177
3189
  this.grid.notify('refresh-Expand-and-Collapse', { rows: this.grid.getRowsObject() });
3178
3190
  }
3179
3191
  };
@@ -9,11 +9,12 @@ export interface LoadingIndicatorModel {
9
9
  * Defines the loading indicator. The available loading indicator are:
10
10
  * * Spinner
11
11
  * * Shimmer
12
+ *
12
13
  * @default Syncfusion.EJ2.Grids.IndicatorType.Spinner
13
14
  * @isEnumeration true
14
15
  * @aspType Syncfusion.EJ2.Grids.IndicatorType
15
16
  */
16
-
17
+
17
18
  indicatorType?: IndicatorType;
18
19
 
19
20
  }
@@ -8,6 +8,7 @@ export declare class LoadingIndicator extends ChildProperty<LoadingIndicator> {
8
8
  * Defines the loading indicator. The available loading indicator are:
9
9
  * * Spinner
10
10
  * * Shimmer
11
+ *
11
12
  * @default Syncfusion.EJ2.Grids.IndicatorType.Spinner
12
13
  * @isEnumeration true
13
14
  * @aspType Syncfusion.EJ2.Grids.IndicatorType
@@ -254,7 +254,7 @@ var Render = /** @class */ (function () {
254
254
  var portals = 'portals';
255
255
  var renderReactTemplates = 'renderReactTemplates';
256
256
  if (this.parent.isReact && typeof (args.column.template) !== 'string') {
257
- args.column["" + templateFn](args.data, this.parent, 'template', tempID, null, null, cellElement);
257
+ args.column["" + templateFn](args.data, this.parent, 'columnTemplate', tempID, null, null, cellElement);
258
258
  if (isNullOrUndefined(this.parent.grid["" + portals])) {
259
259
  this.parent.grid["" + portals] = this.parent["" + portals];
260
260
  }