@syncfusion/ej2-treegrid
Advanced tools
Comparing version 18.3.40 to 18.3.42
@@ -9,2 +9,13 @@ # Changelog | ||
- `#F157882`- When editing with a double click, it works fine when we only have one record. | ||
- `#289600` - Records get expanded properly after collapsing all records using `collapseAtLevel` method in observable binding. | ||
- `#296233` - Row Drag and Drop within treegrid works fine. | ||
- `#F157099` - Virtualization with Aggregates works fine with large number of records. | ||
## 18.3.40 (2020-10-13) | ||
### TreeGrid | ||
#### Bug Fixes | ||
- `#292453` - Treegrid refresh method works fine after updating the data. | ||
@@ -11,0 +22,0 @@ |
/*! | ||
* filename: index.d.ts | ||
* version : 18.3.40 | ||
* version : 18.3.42 | ||
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved. | ||
@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license. |
{ | ||
"_from": "@syncfusion/ej2-treegrid@*", | ||
"_id": "@syncfusion/ej2-treegrid@18.3.35", | ||
"_id": "@syncfusion/ej2-treegrid@18.3.40", | ||
"_inBundle": false, | ||
"_integrity": "sha512-TdfDlNFvj6KMT3dcBOaJF0JH7ovGiFtYZS0bNNq2U5nrBFrodR41wWlqLRphgOtBM2asDp1hpJ8peTDQfA5uGg==", | ||
"_integrity": "sha512-loprw0rqCsCB8DsZpz25WdNRHJFuj8ylWLtv4QautJKqNaHc8++SowIkqFyykFPEKskrTiRqPSo4PTjvapL4WA==", | ||
"_location": "/@syncfusion/ej2-treegrid", | ||
@@ -27,4 +27,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-treegrid/-/ej2-treegrid-18.3.35.tgz", | ||
"_shasum": "5d91014d45f9a4c5aa9bd6808af1c9f169870db1", | ||
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-treegrid/-/ej2-treegrid-18.3.40.tgz", | ||
"_shasum": "e5a1328ec7aeff1a60e50c24416c87d1823c45e5", | ||
"_spec": "@syncfusion/ej2-treegrid@*", | ||
@@ -41,4 +41,4 @@ "_where": "/jenkins/workspace/automation_release_18.1.0.1-52JLNOGRCDHXRVQM3W564VPLFCPHWUYDYU3I3DVRABSR7F6AIFYQ/packages/included", | ||
"@syncfusion/ej2-base": "~18.3.40", | ||
"@syncfusion/ej2-data": "~18.3.35", | ||
"@syncfusion/ej2-grids": "~18.3.40", | ||
"@syncfusion/ej2-data": "~18.3.42", | ||
"@syncfusion/ej2-grids": "~18.3.42", | ||
"@syncfusion/ej2-popups": "~18.3.35" | ||
@@ -65,4 +65,4 @@ }, | ||
"typings": "index.d.ts", | ||
"version": "18.3.40", | ||
"version": "18.3.42", | ||
"sideEffects": false | ||
} |
import * as index from './index'; | ||
index.TreeGrid.Inject(index.Filter, index.Page, index.Sort, index.Reorder, index.Toolbar, index.Aggregate, index.Resize, index.ColumnMenu, index.ExcelExport, index.PdfExport, index.CommandColumn, index.ContextMenu, index.Edit, index.Selection, index.VirtualScroll, index.DetailRow, index.RowDD, index.Freeze, index.ColumnChooser); | ||
index.TreeGrid.Inject(index.Filter, index.Page, index.Sort, index.Reorder, index.Toolbar, index.Aggregate, index.Resize, index.ColumnMenu, index.ExcelExport, index.PdfExport, index.CommandColumn, index.ContextMenu, index.Edit, index.Selection, index.VirtualScroll, index.DetailRow, index.RowDD, index.Freeze, index.ColumnChooser, index.Logger); | ||
export * from './index'; |
@@ -325,2 +325,5 @@ import { Grid, Edit as GridEdit, getUid, getObject } from '@syncfusion/ej2-grids'; | ||
editAction({ value: args.rowData, action: 'edit' }, this.parent, this.isSelfReference, this.addRowIndex, this.selectedIndex, args.columnName); | ||
if ((row.rowIndex === this.parent.getCurrentViewRecords().length - 1) && this.keyPress === 'enter') { | ||
this.keyPress = null; | ||
} | ||
var saveArgs = { | ||
@@ -421,21 +424,23 @@ type: 'save', column: this.parent.getColumnByField(args.columnName), data: args.rowData, | ||
var treecell = row.cells[this.parent.treeColumnIndex]; | ||
for (var l = 0; l < treecell.classList.length; l++) { | ||
var value = treecell.classList[l]; | ||
var remove = /e-gridrowindex/i; | ||
var removed = /e-griddetailrowindex/i; | ||
var result = value.match(remove); | ||
var results = value.match(removed); | ||
if (result != null) { | ||
removeClass([treecell], value); | ||
if (!isNullOrUndefined(treecell)) { | ||
for (var l = 0; l < treecell.classList.length; l++) { | ||
var value = treecell.classList[l]; | ||
var remove = /e-gridrowindex/i; | ||
var removed = /e-griddetailrowindex/i; | ||
var result = value.match(remove); | ||
var results = value.match(removed); | ||
if (result != null) { | ||
removeClass([treecell], value); | ||
} | ||
if (results != null) { | ||
removeClass([treecell], value); | ||
} | ||
} | ||
if (results != null) { | ||
removeClass([treecell], value); | ||
if (!rows[k].classList.contains('e-detailrow')) { | ||
addClass([treecell], 'e-gridrowindex' + index + 'level' + level); | ||
} | ||
else { | ||
addClass([treecell], 'e-griddetailrowindex' + index + 'level' + level); | ||
} | ||
} | ||
if (!rows[k].classList.contains('e-detailrow')) { | ||
addClass([treecell], 'e-gridrowindex' + index + 'level' + level); | ||
} | ||
else { | ||
addClass([treecell], 'e-griddetailrowindex' + index + 'level' + level); | ||
} | ||
} | ||
@@ -442,0 +447,0 @@ }; |
@@ -23,1 +23,2 @@ /** | ||
export * from './column-chooser'; | ||
export * from './logger'; |
@@ -23,1 +23,2 @@ /** | ||
export * from './column-chooser'; | ||
export * from './logger'; |
@@ -139,3 +139,4 @@ import { Grid, RowDD as GridDragDrop, parentsUntil } from '@syncfusion/ej2-grids'; | ||
if (draggedRecord_1.hasOwnProperty(tObj.childMapping) && | ||
(draggedRecord_1[tObj.childMapping]).length && !this.isDraggedWithChild) { | ||
(draggedRecord_1[tObj.childMapping]).length && !this.isDraggedWithChild && | ||
!isNullOrUndefined(tObj.parentIdMapping)) { | ||
var childData = (draggedRecord_1[tObj.childMapping]); | ||
@@ -627,2 +628,3 @@ for (var j = 0; j < childData.length; j++) { | ||
else { | ||
args.dropIndex = args.dropIndex === args.fromIndex ? this.getTargetIdx(args.target.parentElement) : args.dropIndex; | ||
this.droppedRecord = tObj.getCurrentViewRecords()[args.dropIndex]; | ||
@@ -629,0 +631,0 @@ } |
@@ -54,50 +54,66 @@ import { Query, DataManager } from '@syncfusion/ej2-data'; | ||
var childRecordsLength; | ||
for (var i = 0, len = dataLength; i < len; i++) { | ||
parentRecord = parentRecords[i]; | ||
childRecordsLength = this.getChildRecordsLength(parentRecord, flatRecords); | ||
if (childRecordsLength) { | ||
var _loop_1 = function (summaryRowIndex, len_1) { | ||
var item = void 0; | ||
item = {}; | ||
for (var columnIndex = 0, len_2 = columnLength; columnIndex < len_2; columnIndex++) { | ||
var field = isNullOrUndefined(getObject('field', this_1.parent.columns[columnIndex])) ? | ||
this_1.parent.columns[columnIndex] : getObject('field', this_1.parent.columns[columnIndex]); | ||
item[field] = null; | ||
} | ||
item = this_1.createSummaryItem(item, this_1.parent.aggregates[summaryRowIndex - 1]); | ||
if (this_1.parent.aggregates[summaryRowIndex - 1].showChildSummary) { | ||
var idx_1; | ||
flatRecords.map(function (e, i) { if (e.uniqueID === parentRecord.uniqueID) { | ||
idx_1 = i; | ||
return; | ||
} }); | ||
var currentIndex = idx_1 + childRecordsLength + summaryRowIndex; | ||
var summaryParent = extend({}, parentRecord); | ||
delete summaryParent.childRecords; | ||
delete summaryParent[this_1.parent.childMapping]; | ||
setValue('parentItem', summaryParent, item); | ||
var level = getObject('level', summaryParent); | ||
setValue('level', level + 1, item); | ||
var index = getObject('index', summaryParent); | ||
setValue('isSummaryRow', true, item); | ||
setValue('parentUniqueID', summaryParent.uniqueID, item); | ||
if (isSort) { | ||
var childRecords = getObject('childRecords', parentRecord); | ||
if (childRecords.length) { | ||
childRecords.push(item); | ||
if (this.parent.aggregates.filter(function (x) { return x.showChildSummary; }).length) { | ||
for (var i = 0, len = dataLength; i < len; i++) { | ||
parentRecord = parentRecords[i]; | ||
childRecordsLength = this.getChildRecordsLength(parentRecord, flatRecords); | ||
if (childRecordsLength) { | ||
var _loop_1 = function (summaryRowIndex, len_1) { | ||
var item = void 0; | ||
item = {}; | ||
for (var columnIndex = 0, len_2 = columnLength; columnIndex < len_2; columnIndex++) { | ||
var field = isNullOrUndefined(getObject('field', this_1.parent.columns[columnIndex])) ? | ||
this_1.parent.columns[columnIndex] : getObject('field', this_1.parent.columns[columnIndex]); | ||
item[field] = null; | ||
} | ||
item = this_1.createSummaryItem(item, this_1.parent.aggregates[summaryRowIndex - 1]); | ||
if (this_1.parent.aggregates[summaryRowIndex - 1].showChildSummary) { | ||
var idx_1; | ||
flatRecords.map(function (e, i) { | ||
if (e.uniqueID === parentRecord.uniqueID) { | ||
idx_1 = i; | ||
return; | ||
} | ||
}); | ||
var currentIndex = idx_1 + childRecordsLength + summaryRowIndex; | ||
var summaryParent = extend({}, parentRecord); | ||
delete summaryParent.childRecords; | ||
delete summaryParent[this_1.parent.childMapping]; | ||
setValue('parentItem', summaryParent, item); | ||
var level = getObject('level', summaryParent); | ||
setValue('level', level + 1, item); | ||
var index = getObject('index', summaryParent); | ||
setValue('isSummaryRow', true, item); | ||
setValue('parentUniqueID', summaryParent.uniqueID, item); | ||
if (isSort) { | ||
var childRecords = getObject('childRecords', parentRecord); | ||
if (childRecords.length) { | ||
childRecords.push(item); | ||
} | ||
} | ||
flatRecords.splice(currentIndex, 0, item); | ||
} | ||
flatRecords.splice(currentIndex, 0, item); | ||
else { | ||
return "continue"; | ||
} | ||
}; | ||
var this_1 = this; | ||
for (var summaryRowIndex = 1, len_1 = summaryLength; summaryRowIndex <= len_1; summaryRowIndex++) { | ||
_loop_1(summaryRowIndex, len_1); | ||
} | ||
else { | ||
return "continue"; | ||
} | ||
}; | ||
var this_1 = this; | ||
for (var summaryRowIndex = 1, len_1 = summaryLength; summaryRowIndex <= len_1; summaryRowIndex++) { | ||
_loop_1(summaryRowIndex, len_1); | ||
this.flatChildRecords = []; | ||
} | ||
this.flatChildRecords = []; | ||
} | ||
} | ||
else { | ||
var items = void 0; | ||
items = {}; | ||
for (var columnIndex = 0, length_1 = columnLength; columnIndex < length_1; columnIndex++) { | ||
var fields = isNullOrUndefined(getObject('field', this.parent.columns[columnIndex])) ? | ||
this.parent.columns[columnIndex] : getObject('field', this.parent.columns[columnIndex]); | ||
items[fields] = null; | ||
} | ||
for (var summaryRowIndex = 1, length_2 = summaryLength; summaryRowIndex <= length_2; summaryRowIndex++) { | ||
this.createSummaryItem(items, this.parent.aggregates[summaryRowIndex - 1]); | ||
} | ||
} | ||
return flatRecords; | ||
@@ -134,3 +150,10 @@ }; | ||
if (key === displayColumn) { | ||
itemData[key] = this.getSummaryValues(summary.columns[i], this.flatChildRecords); | ||
if (this.flatChildRecords.length) { | ||
itemData[key] = this.getSummaryValues(summary.columns[i], this.flatChildRecords); | ||
} | ||
else if (this.parent.isLocalData) { | ||
var data = this.parent.dataSource instanceof DataManager ? this.parent.dataSource.dataSource.json | ||
: this.parent.flatData; | ||
itemData[key] = this.getSummaryValues(summary.columns[i], data); | ||
} | ||
} | ||
@@ -137,0 +160,0 @@ else { |
@@ -118,7 +118,12 @@ import { extend, isNullOrUndefined, setValue, getValue, isBlazor, addClass, removeClass } from '@syncfusion/ej2-base'; | ||
this.taskIds = []; | ||
for (var i = 0; i < Object.keys(data).length; i++) { | ||
var tempData = data[i]; | ||
this.hierarchyData.push(extend({}, tempData)); | ||
if (!isNullOrUndefined(tempData[this.parent.idMapping])) { | ||
this.taskIds.push(tempData[this.parent.idMapping]); | ||
if (!this.parent.idMapping) { | ||
this.hierarchyData = data; | ||
} | ||
else { | ||
for (var i = 0; i < Object.keys(data).length; i++) { | ||
var tempData = data[i]; | ||
this.hierarchyData.push(extend({}, tempData)); | ||
if (!isNullOrUndefined(tempData[this.parent.idMapping])) { | ||
this.taskIds.push(tempData[this.parent.idMapping]); | ||
} | ||
} | ||
@@ -125,0 +130,0 @@ } |
@@ -1,2 +0,2 @@ | ||
import { Component, addClass, createElement, EventHandler, isNullOrUndefined, Ajax, ModuleDeclaration, extend} from '@syncfusion/ej2-base';import { removeClass, EmitType, Complex, Collection, KeyboardEventArgs, isBlazor, getElement, 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 } from '@syncfusion/ej2-grids';import { GridModel, ColumnQueryModeType, HeaderCellInfoEventArgs, EditSettingsModel as GridEditModel } from '@syncfusion/ej2-grids';import {RowDragEventArgs, RowDropEventArgs, RowDropSettingsModel, RowDropSettings, ReturnType, getUid } from '@syncfusion/ej2-grids';import { ActionEventArgs } from'@syncfusion/ej2-grids';import { DetailDataBoundEventArgs, Row, 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 { gridObserver, 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 } from '../utils';import { Grid, QueryCellInfoEventArgs } 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 } from './interface';import { CellSaveEventArgs, DataStateChangeEventArgs, RowExpandingEventArgs } 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 } from '../utils'; | ||
import { Component, addClass, createElement, EventHandler, isNullOrUndefined, Ajax, ModuleDeclaration, extend} from '@syncfusion/ej2-base';import { removeClass, EmitType, Complex, Collection, KeyboardEventArgs, isBlazor, getElement, 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 } from '@syncfusion/ej2-grids';import { GridModel, ColumnQueryModeType, HeaderCellInfoEventArgs, EditSettingsModel as GridEditModel } from '@syncfusion/ej2-grids';import {RowDragEventArgs, RowDropEventArgs, RowDropSettingsModel, RowDropSettings, ReturnType, getUid } from '@syncfusion/ej2-grids';import { ActionEventArgs } from'@syncfusion/ej2-grids';import { DetailDataBoundEventArgs, Row, 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 { gridObserver, 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 } 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 } from './interface';import { CellSaveEventArgs, DataStateChangeEventArgs, RowExpandingEventArgs } 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 } from '../utils'; | ||
import {ComponentModel} from '@syncfusion/ej2-base'; | ||
@@ -3,0 +3,0 @@ |
@@ -88,2 +88,3 @@ import { Component, ModuleDeclaration } from '@syncfusion/ej2-base'; | ||
sortModule: Sort; | ||
private loggerModule; | ||
private isSelfReference; | ||
@@ -1097,2 +1098,7 @@ private columnModel; | ||
/** | ||
* @hidden | ||
* @private | ||
*/ | ||
log(types: string | string[], args?: Object): void; | ||
/** | ||
* For internal use only - To Initialize the component rendering. | ||
@@ -1099,0 +1105,0 @@ * @private |
@@ -282,8 +282,4 @@ var __extends = (this && this.__extends) || (function () { | ||
this.parent.setProperties({ pageSettings: { currentPage: page } }, true); | ||
if (viewInfo.event === 'refresh-virtual-block') { | ||
this.parent.refresh(); | ||
} | ||
else { | ||
this.parent.notify(viewInfo.event, { requestType: 'virtualscroll', focusElement: scrollArgs.focusElement }); | ||
} | ||
viewInfo.event = viewInfo.event === 'refresh-virtual-block' ? 'model-changed' : viewInfo.event; | ||
this.parent.notify(viewInfo.event, { requestType: 'virtualscroll', focusElement: scrollArgs.focusElement }); | ||
} | ||
@@ -290,0 +286,0 @@ }; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5520822
179
46190