@syncfusion/ej2-treegrid
Advanced tools
Comparing version 17.2.34 to 17.2.35
@@ -5,2 +5,8 @@ # Changelog | ||
### TreeGrid | ||
#### Bug Fixes | ||
- `crudaction` works fine while performing crud actions with server-side. | ||
## 17.2.28-beta (2019-06-27) | ||
@@ -7,0 +13,0 @@ |
/*! | ||
* filename: index.d.ts | ||
* version : 17.2.34 | ||
* version : 17.2.35 | ||
* Copyright Syncfusion Inc. 2001 - 2019. 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@17.2.28", | ||
"_id": "@syncfusion/ej2-treegrid@17.2.34", | ||
"_inBundle": false, | ||
"_integrity": "sha512-nMP2xGIA8cCyFrgUeLnH+5io1KFlgwD/QwDwCbOGpDAi7exQBPtDHCOXENocuqoVwU1K82T8b149TkV1kutfsg==", | ||
"_integrity": "sha512-fhvQb8JPu/70WQlqcd81TOI/gnZ5mnK4Ac2FfwNqVjszF4yGOYu6GaR+ncXxs7Ys4e1pQ5KthtPWd5CqRYj2Cg==", | ||
"_location": "/@syncfusion/ej2-treegrid", | ||
@@ -27,4 +27,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "http://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-treegrid/-/ej2-treegrid-17.2.28.tgz", | ||
"_shasum": "1acded340c7386c596212a0b76cc9a74994c6425", | ||
"_resolved": "http://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-treegrid/-/ej2-treegrid-17.2.34.tgz", | ||
"_shasum": "d97864335f238606d30677ffc90c4f665787b08e", | ||
"_spec": "@syncfusion/ej2-treegrid@*", | ||
@@ -41,5 +41,5 @@ "_where": "/jenkins/workspace/ation_hotfix_16.4.0.42_Vol4-CJVRBFC7Z7RSISPRJNEMNQSRMCB6XTG67IJD6R2DVNXFIKQEITTQ/packages/included", | ||
"@syncfusion/ej2-base": "~17.2.34", | ||
"@syncfusion/ej2-data": "~17.2.34", | ||
"@syncfusion/ej2-grids": "~17.2.34", | ||
"@syncfusion/ej2-popups": "~17.2.34" | ||
"@syncfusion/ej2-data": "~17.2.35", | ||
"@syncfusion/ej2-grids": "~17.2.35", | ||
"@syncfusion/ej2-popups": "~17.2.35" | ||
}, | ||
@@ -64,4 +64,4 @@ "deprecated": false, | ||
}, | ||
"version": "17.2.34", | ||
"version": "17.2.35", | ||
"sideEffects": false | ||
} |
@@ -233,3 +233,3 @@ import { isNullOrUndefined, extend } from '@syncfusion/ej2-base'; | ||
} | ||
if (record.childRecords.indexOf(childRecords) === -1) { | ||
if (record[control.childMapping].indexOf(childRecords) === -1) { | ||
record[control.childMapping].unshift(childRecords); | ||
@@ -239,2 +239,11 @@ } | ||
} | ||
var primaryKeys = control.grid.getPrimaryKeyFieldNames()[0]; | ||
var data = control.grid.dataSource instanceof DataManager ? | ||
control.grid.dataSource.dataSource.json : control.grid.dataSource; | ||
for (var i = 0; i < data.length; i++) { | ||
if (data[i][primaryKeys] === record[primaryKeys]) { | ||
data[i] = record; | ||
break; | ||
} | ||
} | ||
control.grid.setRowData(key, record); | ||
@@ -241,0 +250,0 @@ var row = control.getRowByIndex(index); |
@@ -17,2 +17,3 @@ import { Column } from '@syncfusion/ej2-grids'; | ||
private doubleClickTarget; | ||
private internalProperties; | ||
private previousNewRowPosition; | ||
@@ -19,0 +20,0 @@ /** |
@@ -23,2 +23,3 @@ import { Grid, Edit as GridEdit, getUid, getObject } from '@syncfusion/ej2-grids'; | ||
this.previousNewRowPosition = null; | ||
this.internalProperties = {}; | ||
this.addEventListener(); | ||
@@ -259,5 +260,13 @@ } | ||
this.parent.parentData = []; | ||
var data = this.parent.grid.dataSource; | ||
for (var i = 0; i < this.parent.grid.dataSource.length; i++) { | ||
var data = this.parent.grid.dataSource instanceof DataManager ? | ||
this.parent.grid.dataSource.dataSource.json : this.parent.grid.dataSource; | ||
for (var i = 0; i < data.length; i++) { | ||
data[i].index = i; | ||
var key = this.parent.grid.getPrimaryKeyFieldNames()[0]; | ||
if (details.value[key] === data[i][key]) { | ||
if (details.action === 'add') { | ||
data[i].level = this.internalProperties.level; | ||
data[i].parentItem = this.internalProperties.parentItem; | ||
} | ||
} | ||
setValue('uniqueIDCollection.' + data[i].uniqueID + '.index', i, this.parent); | ||
@@ -323,3 +332,3 @@ if (!data[i].level) { | ||
if (this.parent.editSettings.newRowPosition === 'Child' && !(records[index].expanded) && | ||
records[index].hasChildRecords) { | ||
records[index][this.parent.childMapping] && records[index][this.parent.childMapping].length) { | ||
this.parent.expandRow(rows[index + 1], records[index]); | ||
@@ -507,2 +516,5 @@ } | ||
} | ||
if (args.action === 'add') { | ||
this.internalProperties = { level: value.level, parentItem: value.parentItem }; | ||
} | ||
return args; | ||
@@ -509,0 +521,0 @@ }; |
@@ -81,2 +81,3 @@ import { Query, DataManager } from '@syncfusion/ej2-data'; | ||
setValue('isSummaryRow', true, item); | ||
setValue('parentUniqueID', summaryParent.uniqueID, item); | ||
if (isSort) { | ||
@@ -83,0 +84,0 @@ var childRecords = getObject('childRecords', parentRecord); |
@@ -233,2 +233,3 @@ import { extend, isNullOrUndefined, setValue, getValue } from '@syncfusion/ej2-base'; | ||
var result = e.result; | ||
rowDetails.record.childRecords = result; | ||
for (var r = 0; r < result.length; r++) { | ||
@@ -238,2 +239,3 @@ result[r].level = rowDetails.record.level + 1; | ||
result[r].parentItem = rowDetails.record; | ||
delete result[r].parentItem.childRecords; | ||
if ((result[r][_this.parent.hasChildMapping] || _this.parentItems.indexOf(result[r][_this.parent.idMapping]) !== -1) | ||
@@ -240,0 +242,0 @@ && !(haveChild && !haveChild[r])) { |
@@ -1,2 +0,2 @@ | ||
import { Component, addClass, createElement, EventHandler, isNullOrUndefined, Ajax, ModuleDeclaration, extend} from '@syncfusion/ej2-base';import { removeClass, EmitType, Complex, Collection, KeyboardEventArgs, resetBlazorTemplate, isBlazor } from '@syncfusion/ej2-base';import {Event, Property, NotifyPropertyChanges, INotifyPropertyChanged, setValue, KeyboardEvents, L10n } from '@syncfusion/ej2-base';import { Column, ColumnModel } from '../models/column';import { GridModel, ColumnQueryModeType, HeaderCellInfoEventArgs, EditSettingsModel as GridEditModel } from '@syncfusion/ej2-grids';import { DetailDataBoundEventArgs, Row} 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 {Filter} from '../actions/filter';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 { 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 { TextWrapSettings, TextWrapSettingsModel, 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 } from '@syncfusion/ej2-data';import { createSpinner, hideSpinner, showSpinner } from '@syncfusion/ej2-popups';import { isRemoteData, isOffline } from '../utils';import { Grid, QueryCellInfoEventArgs } from '@syncfusion/ej2-grids';import { Render } from '../renderer/render';import { DataManipulation } from './data';import { Sort } from '../actions/sort';import { ITreeData, RowExpandedEventArgs, RowExpandingEventArgs, RowCollapsedEventArgs, RowCollapsingEventArgs } from './interface';import { CellSaveEventArgs } from './interface';import { iterateArrayOrObject, GridLine } from '@syncfusion/ej2-grids';import { DataSourceChangedEventArgs, DataStateChangeEventArgs, RecordDoubleClickEventArgs, ResizeArgs } from '@syncfusion/ej2-grids';import { ToolbarItems, ToolbarItem, ContextMenuItem, ContextMenuItems, RowPosition } 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 { Component, addClass, createElement, EventHandler, isNullOrUndefined, Ajax, ModuleDeclaration, extend} from '@syncfusion/ej2-base';import { removeClass, EmitType, Complex, Collection, KeyboardEventArgs, resetBlazorTemplate, isBlazor } from '@syncfusion/ej2-base';import {Event, Property, NotifyPropertyChanges, INotifyPropertyChanged, setValue, KeyboardEvents, L10n } from '@syncfusion/ej2-base';import { Column, ColumnModel } from '../models/column';import { GridModel, ColumnQueryModeType, HeaderCellInfoEventArgs, EditSettingsModel as GridEditModel } from '@syncfusion/ej2-grids';import { DetailDataBoundEventArgs, Row} 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 {Filter} from '../actions/filter';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 { 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 { TextWrapSettings, TextWrapSettingsModel, 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 } from '@syncfusion/ej2-data';import { createSpinner, hideSpinner, showSpinner } from '@syncfusion/ej2-popups';import { isRemoteData, isOffline, extendArray } from '../utils';import { Grid, QueryCellInfoEventArgs } from '@syncfusion/ej2-grids';import { Render } from '../renderer/render';import { DataManipulation } from './data';import { Sort } from '../actions/sort';import { ITreeData, RowExpandedEventArgs, RowExpandingEventArgs, RowCollapsedEventArgs, RowCollapsingEventArgs } from './interface';import { CellSaveEventArgs } from './interface';import { iterateArrayOrObject, GridLine } from '@syncfusion/ej2-grids';import { DataSourceChangedEventArgs, DataStateChangeEventArgs, RecordDoubleClickEventArgs, ResizeArgs } from '@syncfusion/ej2-grids';import { ToolbarItems, ToolbarItem, ContextMenuItem, ContextMenuItems, RowPosition } 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 {ComponentModel} from '@syncfusion/ej2-base'; | ||
@@ -393,2 +393,4 @@ | ||
* @deprecated | ||
* @blazorproperty 'OnCellSave' | ||
* @blazorType Syncfusion.EJ2.Blazor.Grids.CellSaveArgs | ||
*/ | ||
@@ -400,3 +402,3 @@ cellSave?: EmitType<CellSaveArgs>; | ||
* @event | ||
* @deprecated | ||
* @blazorproperty 'OnActionBegin' | ||
* @blazorType Syncfusion.EJ2.Blazor.Grids.ActionEventArgs | ||
@@ -409,3 +411,3 @@ */ | ||
* @event | ||
* @deprecated | ||
* @blazorproperty 'OnActionComplete' | ||
* @blazorType Syncfusion.EJ2.Blazor.Grids.ActionEventArgs | ||
@@ -420,2 +422,3 @@ */ | ||
* @deprecated | ||
* @blazorproperty 'OnBeginEdit' | ||
* @blazorType Syncfusion.EJ2.Blazor.Grids.BeginEditArgs | ||
@@ -429,2 +432,4 @@ */ | ||
* @deprecated | ||
* @blazorproperty 'OnCellEdit' | ||
* @blazorType Syncfusion.EJ2.Blazor.Grids.CellEditArgs | ||
*/ | ||
@@ -436,3 +441,3 @@ cellEdit?: EmitType<CellEditArgs>; | ||
* @event | ||
* @deprecated | ||
* @blazorproperty 'OnActionFailure' | ||
* @blazorType Syncfusion.EJ2.Blazor.Grids.FailureEventArgs | ||
@@ -471,3 +476,3 @@ */ | ||
* @event | ||
* @deprecated | ||
* @blazorproperty 'OnRecordDoubleClick' | ||
* @blazorType Syncfusion.EJ2.Blazor.Grids.RecordDoubleClickEventArgs | ||
@@ -481,3 +486,3 @@ */ | ||
* @event | ||
* @deprecated | ||
* @blazorproperty 'RowDataBound' | ||
* @blazorType Syncfusion.EJ2.Blazor.Grids.RowDataBoundEventArgs | ||
@@ -492,2 +497,3 @@ */ | ||
* @deprecated | ||
* @blazorproperty 'DetailDataBound' | ||
* @blazorType Syncfusion.EJ2.Blazor.Grids.DetailDataBoundEventArgs | ||
@@ -501,3 +507,3 @@ */ | ||
* @event | ||
* @deprecated | ||
* @blazorproperty 'QueryCellInfo' | ||
* @blazorType Syncfusion.EJ2.Blazor.Grids.QueryCellInfoEventArgs | ||
@@ -516,3 +522,3 @@ */ | ||
* @event | ||
* @deprecated | ||
* @blazorproperty 'RowSelecting' | ||
* @blazorType Syncfusion.EJ2.Blazor.Grids.RowSelectingEventArgs | ||
@@ -525,3 +531,3 @@ */ | ||
* @event | ||
* @deprecated | ||
* @blazorproperty 'RowSelected' | ||
* @blazorType Syncfusion.EJ2.Blazor.Grids.RowSelectEventArgs | ||
@@ -542,3 +548,3 @@ */ | ||
* @event | ||
* @deprecated | ||
* @blazorproperty 'RowDeselected' | ||
* @blazorType Syncfusion.EJ2.Blazor.Grids.RowDeselectEventArgs | ||
@@ -551,3 +557,3 @@ */ | ||
* @event | ||
* @deprecated | ||
* @blazorproperty 'HeaderCellInfo' | ||
* @blazorType Syncfusion.EJ2.Blazor.Grids.HeaderCellInfoEventArgs | ||
@@ -559,4 +565,5 @@ */ | ||
* Triggers before any cell selection occurs. | ||
* @event | ||
* @event | ||
* @deprecated | ||
* @blazorproperty 'CellSelecting' | ||
* @blazorType Syncfusion.EJ2.Blazor.Grids.CellSelectingEventArgs | ||
@@ -577,3 +584,3 @@ */ | ||
* @event | ||
* @deprecated | ||
* @blazorproperty 'ColumnMenuClicked' | ||
* @blazorType Syncfusion.EJ2.Blazor.Navigations.MenuEventArgs | ||
@@ -587,2 +594,3 @@ */ | ||
* @deprecated | ||
* @blazorproperty 'CellSelected' | ||
* @blazorType Syncfusion.EJ2.Blazor.Grids.CellSelectEventArgs | ||
@@ -679,3 +687,3 @@ */ | ||
* @event | ||
* @deprecated | ||
* @blazorproperty 'OnToolbarClick' | ||
* @blazorType Syncfusion.EJ2.Blazor.Navigations.ClickEventArgs | ||
@@ -688,3 +696,4 @@ */ | ||
* @event | ||
* @deprecated | ||
* @blazorproperty 'OnDataBound' | ||
* @blazorType Syncfusion.EJ2.Blazor.Grids.BeforeDataBoundArgs | ||
*/ | ||
@@ -704,3 +713,3 @@ beforeDataBound?: EmitType<BeforeDataBoundArgs>; | ||
* @event | ||
* @deprecated | ||
* @blazorproperty 'ContextMenuClicked' | ||
* @blazorType Syncfusion.EJ2.Blazor.Navigations.MenuEventArgs | ||
@@ -792,2 +801,3 @@ */ | ||
* @event | ||
* @blazorproperty 'OnPdfExport' | ||
*/ | ||
@@ -794,0 +804,0 @@ beforePdfExport?: EmitType<Object>; |
@@ -467,2 +467,4 @@ import { Component, ModuleDeclaration } from '@syncfusion/ej2-base'; | ||
* @deprecated | ||
* @blazorproperty 'OnCellSave' | ||
* @blazorType Syncfusion.EJ2.Blazor.Grids.CellSaveArgs | ||
*/ | ||
@@ -473,3 +475,3 @@ cellSave: EmitType<CellSaveArgs>; | ||
* @event | ||
* @deprecated | ||
* @blazorproperty 'OnActionBegin' | ||
* @blazorType Syncfusion.EJ2.Blazor.Grids.ActionEventArgs | ||
@@ -481,3 +483,3 @@ */ | ||
* @event | ||
* @deprecated | ||
* @blazorproperty 'OnActionComplete' | ||
* @blazorType Syncfusion.EJ2.Blazor.Grids.ActionEventArgs | ||
@@ -490,2 +492,3 @@ */ | ||
* @deprecated | ||
* @blazorproperty 'OnBeginEdit' | ||
* @blazorType Syncfusion.EJ2.Blazor.Grids.BeginEditArgs | ||
@@ -498,2 +501,4 @@ */ | ||
* @deprecated | ||
* @blazorproperty 'OnCellEdit' | ||
* @blazorType Syncfusion.EJ2.Blazor.Grids.CellEditArgs | ||
*/ | ||
@@ -504,3 +509,3 @@ cellEdit: EmitType<CellEditArgs>; | ||
* @event | ||
* @deprecated | ||
* @blazorproperty 'OnActionFailure' | ||
* @blazorType Syncfusion.EJ2.Blazor.Grids.FailureEventArgs | ||
@@ -535,3 +540,3 @@ */ | ||
* @event | ||
* @deprecated | ||
* @blazorproperty 'OnRecordDoubleClick' | ||
* @blazorType Syncfusion.EJ2.Blazor.Grids.RecordDoubleClickEventArgs | ||
@@ -544,3 +549,3 @@ */ | ||
* @event | ||
* @deprecated | ||
* @blazorproperty 'RowDataBound' | ||
* @blazorType Syncfusion.EJ2.Blazor.Grids.RowDataBoundEventArgs | ||
@@ -554,2 +559,3 @@ */ | ||
* @deprecated | ||
* @blazorproperty 'DetailDataBound' | ||
* @blazorType Syncfusion.EJ2.Blazor.Grids.DetailDataBoundEventArgs | ||
@@ -562,3 +568,3 @@ */ | ||
* @event | ||
* @deprecated | ||
* @blazorproperty 'QueryCellInfo' | ||
* @blazorType Syncfusion.EJ2.Blazor.Grids.QueryCellInfoEventArgs | ||
@@ -575,3 +581,3 @@ */ | ||
* @event | ||
* @deprecated | ||
* @blazorproperty 'RowSelecting' | ||
* @blazorType Syncfusion.EJ2.Blazor.Grids.RowSelectingEventArgs | ||
@@ -583,3 +589,3 @@ */ | ||
* @event | ||
* @deprecated | ||
* @blazorproperty 'RowSelected' | ||
* @blazorType Syncfusion.EJ2.Blazor.Grids.RowSelectEventArgs | ||
@@ -598,3 +604,3 @@ */ | ||
* @event | ||
* @deprecated | ||
* @blazorproperty 'RowDeselected' | ||
* @blazorType Syncfusion.EJ2.Blazor.Grids.RowDeselectEventArgs | ||
@@ -606,3 +612,3 @@ */ | ||
* @event | ||
* @deprecated | ||
* @blazorproperty 'HeaderCellInfo' | ||
* @blazorType Syncfusion.EJ2.Blazor.Grids.HeaderCellInfoEventArgs | ||
@@ -615,2 +621,3 @@ */ | ||
* @deprecated | ||
* @blazorproperty 'CellSelecting' | ||
* @blazorType Syncfusion.EJ2.Blazor.Grids.CellSelectingEventArgs | ||
@@ -629,3 +636,3 @@ */ | ||
* @event | ||
* @deprecated | ||
* @blazorproperty 'ColumnMenuClicked' | ||
* @blazorType Syncfusion.EJ2.Blazor.Navigations.MenuEventArgs | ||
@@ -638,2 +645,3 @@ */ | ||
* @deprecated | ||
* @blazorproperty 'CellSelected' | ||
* @blazorType Syncfusion.EJ2.Blazor.Grids.CellSelectEventArgs | ||
@@ -718,3 +726,3 @@ */ | ||
* @event | ||
* @deprecated | ||
* @blazorproperty 'OnToolbarClick' | ||
* @blazorType Syncfusion.EJ2.Blazor.Navigations.ClickEventArgs | ||
@@ -726,3 +734,4 @@ */ | ||
* @event | ||
* @deprecated | ||
* @blazorproperty 'OnDataBound' | ||
* @blazorType Syncfusion.EJ2.Blazor.Grids.BeforeDataBoundArgs | ||
*/ | ||
@@ -740,3 +749,3 @@ beforeDataBound: EmitType<BeforeDataBoundArgs>; | ||
* @event | ||
* @deprecated | ||
* @blazorproperty 'ContextMenuClicked' | ||
* @blazorType Syncfusion.EJ2.Blazor.Navigations.MenuEventArgs | ||
@@ -822,2 +831,3 @@ */ | ||
* @event | ||
* @blazorproperty 'OnPdfExport' | ||
*/ | ||
@@ -957,2 +967,3 @@ beforePdfExport: EmitType<Object>; | ||
private updateRowTemplate; | ||
private bindedDataSource; | ||
private extendedGridEvents; | ||
@@ -959,0 +970,0 @@ /** |
@@ -76,7 +76,9 @@ import { getObject } from '@syncfusion/ej2-grids'; | ||
} | ||
var childRecords = records.childRecords; | ||
for (var i = 0, len = Object.keys(childRecords).length; i < len; i++) { | ||
datas.push(childRecords[i]); | ||
if (childRecords[i].hasChildRecords) { | ||
datas = datas.concat(findChildrenRecords(childRecords[i])); | ||
if (!isNullOrUndefined(records.childRecords)) { | ||
var childRecords = records.childRecords; | ||
for (var i = 0, len = Object.keys(childRecords).length; i < len; i++) { | ||
datas.push(childRecords[i]); | ||
if (childRecords[i].hasChildRecords) { | ||
datas = datas.concat(findChildrenRecords(childRecords[i])); | ||
} | ||
} | ||
@@ -83,0 +85,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
3228840
29196