@syncfusion/ej2-treegrid
Advanced tools
Comparing version 17.2.39 to 17.2.40
@@ -9,2 +9,10 @@ # Changelog | ||
- `#146272` - Ellipsis works fine for tree-view column. | ||
## 17.2.39 (2019-07-30) | ||
### TreeGrid | ||
#### Bug Fixes | ||
- #145979 - `checkboxChange` event will trigger for header cell check. | ||
@@ -11,0 +19,0 @@ - #240702 - `allowEditOnDblClick` works fine in Cell Edit mode. |
/*! | ||
* filename: index.d.ts | ||
* version : 17.2.39 | ||
* version : 17.2.40 | ||
* 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.35", | ||
"_id": "@syncfusion/ej2-treegrid@17.2.39", | ||
"_inBundle": false, | ||
"_integrity": "sha512-P74J6r4tpgt1Ilacf+K/tiksIrTCwMXSCrQHE3vmi+s04RvQAeMYIpbfP/pel4Gbehz465Hf8Hn1w0Q1HApAzQ==", | ||
"_integrity": "sha512-F//M/pjnAoJSVq2f/8jZPItT91wm3bsFUBKDpaWj6P2/j+qqfyCino5z2Vt1ViupIvbfLLTTmqUZi0wcD/CTkA==", | ||
"_location": "/@syncfusion/ej2-treegrid", | ||
@@ -27,4 +27,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "http://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-treegrid/-/ej2-treegrid-17.2.35.tgz", | ||
"_shasum": "ecf3d575456c4cebf089de98764f0ea2eb058a1a", | ||
"_resolved": "http://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-treegrid/-/ej2-treegrid-17.2.39.tgz", | ||
"_shasum": "a2c8764869525ddb4e9173f5e904300e24b512d4", | ||
"_spec": "@syncfusion/ej2-treegrid@*", | ||
@@ -40,5 +40,5 @@ "_where": "/jenkins/workspace/ation_hotfix_16.4.0.42_Vol4-CJVRBFC7Z7RSISPRJNEMNQSRMCB6XTG67IJD6R2DVNXFIKQEITTQ/packages/included", | ||
"dependencies": { | ||
"@syncfusion/ej2-base": "~17.2.39", | ||
"@syncfusion/ej2-base": "~17.2.40", | ||
"@syncfusion/ej2-data": "~17.2.39", | ||
"@syncfusion/ej2-grids": "~17.2.39", | ||
"@syncfusion/ej2-grids": "~17.2.40", | ||
"@syncfusion/ej2-popups": "~17.2.35" | ||
@@ -64,4 +64,4 @@ }, | ||
}, | ||
"version": "17.2.39", | ||
"version": "17.2.40", | ||
"sideEffects": false | ||
} |
import { Grid, Edit as GridEdit, getUid, getObject } from '@syncfusion/ej2-grids'; | ||
import * as events from '../base/constant'; | ||
import { isNullOrUndefined, extend, setValue, removeClass, addClass, getValue } from '@syncfusion/ej2-base'; | ||
import { isBlazor, getElement } from '@syncfusion/ej2-base'; | ||
import { DataManager } from '@syncfusion/ej2-data'; | ||
@@ -213,5 +212,2 @@ import { findChildrenRecords } from '../utils'; | ||
if (this.parent.editSettings.mode === 'Cell' && this.parent.element.querySelector('form')) { | ||
if (isBlazor()) { | ||
args.cell = getElement(args.cell); | ||
} | ||
args.cancel = true; | ||
@@ -448,3 +444,3 @@ setValue('isEdit', false, this.parent.grid); | ||
setValue('uniqueIDCollection.' + value.uniqueID, value, this.parent); | ||
var level = void 0; | ||
var level = -1; | ||
var dataIndex = void 0; | ||
@@ -489,4 +485,4 @@ var idMapping = void 0; | ||
if (this.isSelfReference) { | ||
value[this.parent.parentIdMapping] = idMapping; | ||
if (!isNullOrUndefined(value.parentItem)) { | ||
value[this.parent.parentIdMapping] = idMapping; | ||
updateParentRow(key, value.parentItem, 'add', this.parent, this.isSelfReference, value); | ||
@@ -493,0 +489,0 @@ } |
@@ -112,2 +112,6 @@ import { getObject, Grid, ExcelExport as GridExcel } from '@syncfusion/ej2-grids'; | ||
} | ||
if (property.dataSource) { | ||
this.parent.dataModule.convertToFlatData(property.dataSource); | ||
dtSrc = this.parent.flatData; | ||
} | ||
property = isNullOrUndefined(property) ? Object() : property; | ||
@@ -114,0 +118,0 @@ property.dataSource = new DataManager({ json: dtSrc }); |
@@ -113,2 +113,6 @@ import { getObject, PdfExport as GridPdf, Grid } from '@syncfusion/ej2-grids'; | ||
} | ||
if (prop.dataSource) { | ||
this.parent.dataModule.convertToFlatData(prop.dataSource); | ||
dtSrc = this.parent.flatData; | ||
} | ||
prop = isNullOrUndefined(prop) ? {} : prop; | ||
@@ -115,0 +119,0 @@ prop.dataSource = new DataManager({ json: dtSrc }); |
@@ -1,2 +0,2 @@ | ||
import { Component, addClass, createElement, EventHandler, isNullOrUndefined, Ajax, ModuleDeclaration, extend} from '@syncfusion/ej2-base';import { removeClass, EmitType, Complex, Collection, KeyboardEventArgs, 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 { ActionEventArgs } 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, Deferred } 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 { Component, addClass, createElement, EventHandler, isNullOrUndefined, Ajax, ModuleDeclaration, extend} from '@syncfusion/ej2-base';import { removeClass, EmitType, Complex, Collection, KeyboardEventArgs, isBlazor, getElement } 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 { ActionEventArgs } 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, Deferred } 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'; | ||
@@ -402,3 +402,3 @@ | ||
* @blazorproperty 'OnActionBegin' | ||
* @blazorType Syncfusion.EJ2.Blazor.Grids.ActionEventArgs | ||
* @blazorType Syncfusion.EJ2.Blazor.Grids.ActionEventArgs<TValue> | ||
*/ | ||
@@ -411,3 +411,3 @@ actionBegin?: EmitType<PageEventArgs | FilterEventArgs | SortEventArgs | SearchEventArgs | AddEventArgs | SaveEventArgs | EditEventArgs | DeleteEventArgs>; | ||
* @blazorproperty 'OnActionComplete' | ||
* @blazorType Syncfusion.EJ2.Blazor.Grids.ActionEventArgs | ||
* @blazorType Syncfusion.EJ2.Blazor.Grids.ActionEventArgs<TValue> | ||
*/ | ||
@@ -488,5 +488,4 @@ | ||
* @event | ||
* @deprecated | ||
* @blazorproperty 'DetailDataBound' | ||
* @blazorType Syncfusion.EJ2.Blazor.Grids.DetailDataBoundEventArgs | ||
* @blazorType Syncfusion.EJ2.Blazor.Grids.DetailDataBoundEventArgs<TValue> | ||
*/ | ||
@@ -577,5 +576,4 @@ detailDataBound?: EmitType<DetailDataBoundEventArgs>; | ||
* @event | ||
* @deprecated | ||
* @blazorproperty 'CellSelected' | ||
* @blazorType Syncfusion.EJ2.Blazor.Grids.CellSelectEventArgs | ||
* @blazorType Syncfusion.EJ2.Blazor.Grids.CellSelectEventArgs<TValue> | ||
*/ | ||
@@ -582,0 +580,0 @@ cellSelected?: EmitType<CellSelectEventArgs>; |
@@ -475,3 +475,3 @@ import { Component, ModuleDeclaration } from '@syncfusion/ej2-base'; | ||
* @blazorproperty 'OnActionBegin' | ||
* @blazorType Syncfusion.EJ2.Blazor.Grids.ActionEventArgs | ||
* @blazorType Syncfusion.EJ2.Blazor.Grids.ActionEventArgs<TValue> | ||
*/ | ||
@@ -483,3 +483,3 @@ actionBegin: EmitType<PageEventArgs | FilterEventArgs | SortEventArgs | SearchEventArgs | AddEventArgs | SaveEventArgs | EditEventArgs | DeleteEventArgs>; | ||
* @blazorproperty 'OnActionComplete' | ||
* @blazorType Syncfusion.EJ2.Blazor.Grids.ActionEventArgs | ||
* @blazorType Syncfusion.EJ2.Blazor.Grids.ActionEventArgs<TValue> | ||
*/ | ||
@@ -550,5 +550,4 @@ actionComplete: EmitType<PageEventArgs | FilterEventArgs | SortEventArgs | SearchEventArgs | AddEventArgs | SaveEventArgs | EditEventArgs | DeleteEventArgs | CellSaveEventArgs>; | ||
* @event | ||
* @deprecated | ||
* @blazorproperty 'DetailDataBound' | ||
* @blazorType Syncfusion.EJ2.Blazor.Grids.DetailDataBoundEventArgs | ||
* @blazorType Syncfusion.EJ2.Blazor.Grids.DetailDataBoundEventArgs<TValue> | ||
*/ | ||
@@ -628,5 +627,4 @@ detailDataBound: EmitType<DetailDataBoundEventArgs>; | ||
* @event | ||
* @deprecated | ||
* @blazorproperty 'CellSelected' | ||
* @blazorType Syncfusion.EJ2.Blazor.Grids.CellSelectEventArgs | ||
* @blazorType Syncfusion.EJ2.Blazor.Grids.CellSelectEventArgs<TValue> | ||
*/ | ||
@@ -633,0 +631,0 @@ cellSelected: EmitType<CellSelectEventArgs>; |
@@ -97,6 +97,12 @@ import { TextAlign, ClipMode, ValueAccessor, IFilter, IFilterUI, IEditCell, CommandModel } from '@syncfusion/ej2-grids'; | ||
* @aspIgnore | ||
* @blazorIgnore | ||
*/ | ||
editTemplate: string; | ||
/** | ||
* Defines the filter template/UI that used as filter for a particular column. | ||
* It accepts either template string or HTML element ID. | ||
* @default null | ||
* @aspIgnore | ||
*/ | ||
filterTemplate: string; | ||
/** | ||
* If `isIdentity` is set to true, then this column is considered as identity column. | ||
@@ -549,6 +555,11 @@ * @default false | ||
* @aspIgnore | ||
* @blazorIgnore | ||
*/ | ||
editTemplate?: string; | ||
/** | ||
* Defines the filter template/UI that is used as filter for a particular column. | ||
* It accepts either template string or HTML element ID. | ||
* @aspIgnore | ||
*/ | ||
filterTemplate?: string; | ||
/** | ||
* If `isIdentity` is set to true, then this column is considered as identity column. | ||
@@ -555,0 +566,0 @@ * @default false |
@@ -22,3 +22,2 @@ import { Property, ChildProperty, Collection, getEnumValue, compile, DateFormatOptions, NumberFormatOptions } from '@syncfusion/ej2-base';import { Internationalization } from '@syncfusion/ej2-base';import { CustomSummaryType, AggregateType, CellType } from '@syncfusion/ej2-grids'; | ||
* @aspType string | ||
* @blazorType string | ||
* @default null | ||
@@ -25,0 +24,0 @@ */ |
@@ -25,3 +25,2 @@ import { ChildProperty, DateFormatOptions, NumberFormatOptions } from '@syncfusion/ej2-base'; | ||
* @aspType string | ||
* @blazorType string | ||
* @default null | ||
@@ -28,0 +27,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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
3274769
29663