@syncfusion/ej2-treegrid 20.4.40 → 20.4.44
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.
- package/CHANGELOG.md +8 -1
- package/README.md +1 -1
- package/dist/ej2-treegrid.min.js +2 -2
- package/dist/ej2-treegrid.umd.min.js +2 -2
- package/dist/ej2-treegrid.umd.min.js.map +1 -1
- package/dist/es6/ej2-treegrid.es2015.js +22 -15
- package/dist/es6/ej2-treegrid.es2015.js.map +1 -1
- package/dist/es6/ej2-treegrid.es5.js +21 -14
- package/dist/es6/ej2-treegrid.es5.js.map +1 -1
- package/dist/global/ej2-treegrid.min.js +2 -2
- package/dist/global/ej2-treegrid.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +9 -9
- package/src/treegrid/base/data.js +4 -4
- package/src/treegrid/base/treegrid-model.d.ts +1 -1
- package/src/treegrid/base/treegrid.js +16 -9
- package/src/treegrid/models/loading-indicator-model.d.ts +2 -1
- package/src/treegrid/models/loading-indicator.d.ts +1 -0
- package/src/treegrid/renderer/render.js +1 -1
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 20.4.
|
|
3
|
+
* version : 20.4.44
|
|
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.
|
|
3
|
+
"_id": "@syncfusion/ej2-treegrid@20.4.42",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-4BEI5jPbbwzL7FhOoFAfzaHx5w0qAMckaOCsGwkSnoWjvY8CFI8T2+Lqm5raJ68DPzs2MLl9Urf1o8V24eMmyQ==",
|
|
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.
|
|
28
|
-
"_shasum": "
|
|
27
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-treegrid/-/ej2-treegrid-20.4.42.tgz",
|
|
28
|
+
"_shasum": "26189c9b94c232d691adaf4996ed7bc9216d2faa",
|
|
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.
|
|
40
|
-
"@syncfusion/ej2-data": "~20.4.
|
|
41
|
-
"@syncfusion/ej2-grids": "~20.4.
|
|
42
|
-
"@syncfusion/ej2-popups": "~20.4.
|
|
39
|
+
"@syncfusion/ej2-base": "~20.4.44",
|
|
40
|
+
"@syncfusion/ej2-data": "~20.4.44",
|
|
41
|
+
"@syncfusion/ej2-grids": "~20.4.44",
|
|
42
|
+
"@syncfusion/ej2-popups": "~20.4.44"
|
|
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.
|
|
69
|
+
"version": "20.4.44",
|
|
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
|
|
345
|
-
|
|
346
|
-
qry.expand(
|
|
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 {
|
|
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
|
|
1442
|
+
if (this.columnModel.length === 0) {
|
|
1443
1443
|
index = index === 0 ? -1 : index;
|
|
1444
1444
|
}
|
|
1445
1445
|
var gridColumnCollection = [];
|
|
@@ -2942,6 +2942,9 @@ var TreeGrid = /** @class */ (function (_super) {
|
|
|
2942
2942
|
this.localExpand(action, row, record);
|
|
2943
2943
|
}
|
|
2944
2944
|
}
|
|
2945
|
+
if (isCountRequired(this) && action === 'expand') {
|
|
2946
|
+
this.dataResults.result = this.getCurrentViewRecords();
|
|
2947
|
+
}
|
|
2945
2948
|
if (!isNullOrUndefined(targetEle) && targetEle.closest('.e-treerowcell').classList.contains('e-cellselectionbackground')) {
|
|
2946
2949
|
targetEle.closest('.e-treerowcell').classList.remove('e-cellselectionbackground');
|
|
2947
2950
|
targetEle.closest('.e-treerowcell').removeAttribute('aria-selected');
|
|
@@ -3133,8 +3136,9 @@ var TreeGrid = /** @class */ (function (_super) {
|
|
|
3133
3136
|
return e.uniqueID === record.uniqueID;
|
|
3134
3137
|
});
|
|
3135
3138
|
var currentIndex = currentViewData.indexOf(currentRecord[0]);
|
|
3136
|
-
if (!isNullOrUndefined(gridRowsObject[currentIndex
|
|
3137
|
-
gridRowsObject[currentIndex].visible
|
|
3139
|
+
if (!isNullOrUndefined(gridRowsObject[parseInt(currentIndex.toString(), 10)].visible) &&
|
|
3140
|
+
gridRowsObject[parseInt(currentIndex.toString(), 10)].visible !== false) {
|
|
3141
|
+
gridRowsObject[parseInt(currentIndex.toString(), 10)].visible = true;
|
|
3138
3142
|
}
|
|
3139
3143
|
var detailrows = gridRows.filter(function (r) {
|
|
3140
3144
|
return r.classList.contains('e-griddetailrowindex' + record.index + 'level' + (record.level + 1));
|
|
@@ -3143,13 +3147,14 @@ var TreeGrid = /** @class */ (function (_super) {
|
|
|
3143
3147
|
if (!isNullOrUndefined(rows[parseInt(i.toString(), 10)])) {
|
|
3144
3148
|
rows[parseInt(i.toString(), 10)].style.display = displayAction;
|
|
3145
3149
|
}
|
|
3146
|
-
if (!isNullOrUndefined(rows[parseInt(i.toString(), 10)]) && !this.allowPaging && !(this.enableVirtualization
|
|
3147
|
-
|
|
3150
|
+
if (!isNullOrUndefined(rows[parseInt(i.toString(), 10)]) && !this.allowPaging && !(this.enableVirtualization
|
|
3151
|
+
|| this.enableInfiniteScrolling || isRemoteData(this) || isCountRequired(this))) {
|
|
3152
|
+
gridRowsObject[rows[parseInt(i.toString(), 10)].rowIndex].visible = displayAction !== 'none' ? true : false;
|
|
3148
3153
|
var parentRecord = currentViewData.filter(function (e) {
|
|
3149
3154
|
return e.uniqueID === currentRecord[0].parentUniqueID;
|
|
3150
3155
|
});
|
|
3151
3156
|
if (!isNullOrUndefined(parentRecord[0]) && gridRows[currentViewData.indexOf(parentRecord[0])].getElementsByClassName('e-treegridcollapse').length) {
|
|
3152
|
-
gridRowsObject[currentIndex].visible = false;
|
|
3157
|
+
gridRowsObject[parseInt(currentIndex.toString(), 10)].visible = false;
|
|
3153
3158
|
}
|
|
3154
3159
|
}
|
|
3155
3160
|
if (!isNullOrUndefined(movableRows)) {
|
|
@@ -3168,12 +3173,14 @@ var TreeGrid = /** @class */ (function (_super) {
|
|
|
3168
3173
|
}
|
|
3169
3174
|
}
|
|
3170
3175
|
for (var i = 0; i < detailrows.length; i++) {
|
|
3171
|
-
if (!isNullOrUndefined(detailrows[parseInt(i.toString(), 10)]) && !this.allowPaging && !(this.enableVirtualization
|
|
3172
|
-
|
|
3176
|
+
if (!isNullOrUndefined(detailrows[parseInt(i.toString(), 10)]) && !this.allowPaging && !(this.enableVirtualization
|
|
3177
|
+
|| this.enableInfiniteScrolling || isRemoteData(this) || isCountRequired(this))) {
|
|
3178
|
+
gridRowsObject[detailrows[parseInt(i.toString(), 10)].rowIndex].visible = displayAction !== 'none' ? true : false;
|
|
3173
3179
|
detailrows[parseInt(i.toString(), 10)].style.display = displayAction;
|
|
3174
3180
|
}
|
|
3175
3181
|
}
|
|
3176
|
-
if (!this.allowPaging && !(this.enableVirtualization || this.enableInfiniteScrolling || isRemoteData(this)
|
|
3182
|
+
if (!this.allowPaging && !(this.enableVirtualization || this.enableInfiniteScrolling || isRemoteData(this)
|
|
3183
|
+
|| isCountRequired(this))) {
|
|
3177
3184
|
this.grid.notify('refresh-Expand-and-Collapse', { rows: this.grid.getRowsObject() });
|
|
3178
3185
|
}
|
|
3179
3186
|
};
|
|
@@ -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, '
|
|
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
|
}
|