@syncfusion/ej2-pivotview 19.3.57 → 19.4.38
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/.github/PULL_REQUEST_TEMPLATE/Bug.md +76 -0
- package/.github/PULL_REQUEST_TEMPLATE/Feature.md +56 -0
- package/CHANGELOG.md +26 -38
- package/dist/ej2-pivotview.umd.min.js +2 -2
- package/dist/ej2-pivotview.umd.min.js.map +1 -1
- package/dist/es6/ej2-pivotview.es2015.js +2026 -1092
- package/dist/es6/ej2-pivotview.es2015.js.map +1 -1
- package/dist/es6/ej2-pivotview.es5.js +2042 -1102
- package/dist/es6/ej2-pivotview.es5.js.map +1 -1
- package/dist/global/ej2-pivotview.min.js +2 -2
- package/dist/global/ej2-pivotview.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +22 -22
- package/src/base/engine.d.ts +17 -1
- package/src/base/engine.js +70 -27
- package/src/base/export-util.d.ts +17 -0
- package/src/base/export-util.js +245 -0
- package/src/base/olap/engine.d.ts +7 -0
- package/src/base/olap/engine.js +138 -35
- package/src/base/util.d.ts +0 -9
- package/src/base/util.js +2 -215
- package/src/common/actions/field-list.js +1 -1
- package/src/common/actions/pivot-button.d.ts +5 -8
- package/src/common/actions/pivot-button.js +187 -171
- package/src/common/base/constant.d.ts +186 -0
- package/src/common/base/constant.js +186 -0
- package/src/common/base/css-constant.d.ts +2 -0
- package/src/common/base/css-constant.js +2 -0
- package/src/common/base/enum.d.ts +11 -0
- package/src/common/base/interface.d.ts +272 -2
- package/src/common/calculatedfield/calculated-field.js +108 -93
- package/src/common/conditionalformatting/conditional-formatting.js +8 -2
- package/src/common/grouping-bar/grouping-bar.js +1 -1
- package/src/common/popups/aggregate-menu.js +57 -35
- package/src/common/popups/drillthrough-dialog.js +187 -139
- package/src/common/popups/filter-dialog.d.ts +1 -0
- package/src/common/popups/filter-dialog.js +22 -1
- package/src/common/popups/formatting-dialog.js +4 -0
- package/src/common/popups/grouping.js +2 -1
- package/src/common/popups/toolbar.js +305 -203
- package/src/pivotchart/base/pivotchart.js +36 -15
- package/src/pivotfieldlist/base/field-list-model.d.ts +49 -1
- package/src/pivotfieldlist/base/field-list.d.ts +55 -1
- package/src/pivotfieldlist/base/field-list.js +68 -1
- package/src/pivotfieldlist/renderer/dialog-renderer.js +38 -15
- package/src/pivotfieldlist/renderer/tree-renderer.js +35 -22
- package/src/pivotview/actions/drill-through.js +1 -1
- package/src/pivotview/actions/excel-export.js +9 -7
- package/src/pivotview/actions/pdf-export.js +3 -3
- package/src/pivotview/base/pivotview-model.d.ts +46 -1
- package/src/pivotview/base/pivotview.d.ts +56 -2
- package/src/pivotview/base/pivotview.js +288 -107
- package/src/pivotview/model/chartsettings-model.d.ts +1 -1
- package/src/pivotview/model/chartsettings.d.ts +1 -1
- package/src/pivotview/model/chartsettings.js +1 -1
- package/src/pivotview/model/datasourcesettings-model.d.ts +8 -1
- package/src/pivotview/model/datasourcesettings.d.ts +7 -0
- package/src/pivotview/model/datasourcesettings.js +3 -0
- package/src/pivotview/renderer/render.d.ts +2 -1
- package/src/pivotview/renderer/render.js +39 -6
- package/styles/bootstrap-dark.css +115 -104
- package/styles/bootstrap.css +115 -104
- package/styles/bootstrap4.css +114 -81
- package/styles/bootstrap5-dark.css +220 -168
- package/styles/bootstrap5.css +215 -161
- package/styles/fabric-dark.css +117 -103
- package/styles/fabric.css +115 -102
- package/styles/highcontrast-light.css +116 -102
- package/styles/highcontrast.css +118 -104
- package/styles/material-dark.css +108 -97
- package/styles/material.css +108 -97
- package/styles/pivotfieldlist/_bootstrap-dark-definition.scss +1 -4
- package/styles/pivotfieldlist/_bootstrap-definition.scss +1 -4
- package/styles/pivotfieldlist/_bootstrap4-definition.scss +1 -4
- package/styles/pivotfieldlist/_bootstrap5-definition.scss +8 -11
- package/styles/pivotfieldlist/_fabric-dark-definition.scss +1 -4
- package/styles/pivotfieldlist/_fabric-definition.scss +1 -4
- package/styles/pivotfieldlist/_fluent-definition.scss +177 -0
- package/styles/pivotfieldlist/_highcontrast-definition.scss +1 -4
- package/styles/pivotfieldlist/_highcontrast-light-definition.scss +1 -4
- package/styles/pivotfieldlist/_layout.scss +199 -109
- package/styles/pivotfieldlist/_material-dark-definition.scss +1 -4
- package/styles/pivotfieldlist/_material-definition.scss +1 -4
- package/styles/pivotfieldlist/_tailwind-definition.scss +6 -9
- package/styles/pivotfieldlist/_theme.scss +185 -35
- package/styles/pivotfieldlist/bootstrap-dark.css +49 -58
- package/styles/pivotfieldlist/bootstrap.css +49 -58
- package/styles/pivotfieldlist/bootstrap4.css +44 -39
- package/styles/pivotfieldlist/bootstrap5-dark.css +115 -89
- package/styles/pivotfieldlist/bootstrap5.css +115 -89
- package/styles/pivotfieldlist/fabric-dark.css +49 -58
- package/styles/pivotfieldlist/fabric.css +49 -58
- package/styles/pivotfieldlist/highcontrast-light.css +49 -58
- package/styles/pivotfieldlist/highcontrast.css +49 -58
- package/styles/pivotfieldlist/icons/_bootstrap5.scss +2 -2
- package/styles/pivotfieldlist/icons/_fluent.scss +352 -0
- package/styles/pivotfieldlist/icons/_tailwind.scss +2 -2
- package/styles/pivotfieldlist/material-dark.css +44 -53
- package/styles/pivotfieldlist/material.css +44 -53
- package/styles/pivotfieldlist/tailwind-dark.css +138 -81
- package/styles/pivotfieldlist/tailwind.css +140 -83
- package/styles/pivotview/_bootstrap-dark-definition.scss +9 -6
- package/styles/pivotview/_bootstrap-definition.scss +9 -6
- package/styles/pivotview/_bootstrap4-definition.scss +10 -7
- package/styles/pivotview/_bootstrap5-definition.scss +12 -9
- package/styles/pivotview/_fabric-dark-definition.scss +8 -5
- package/styles/pivotview/_fabric-definition.scss +7 -4
- package/styles/pivotview/_fluent-definition.scss +126 -0
- package/styles/pivotview/_highcontrast-definition.scss +8 -5
- package/styles/pivotview/_highcontrast-light-definition.scss +7 -4
- package/styles/pivotview/_layout.scss +119 -64
- package/styles/pivotview/_material-dark-definition.scss +7 -4
- package/styles/pivotview/_material-definition.scss +8 -4
- package/styles/pivotview/_tailwind-definition.scss +8 -5
- package/styles/pivotview/_theme.scss +124 -70
- package/styles/pivotview/bootstrap-dark.css +66 -46
- package/styles/pivotview/bootstrap.css +66 -46
- package/styles/pivotview/bootstrap4.css +70 -42
- package/styles/pivotview/bootstrap5-dark.css +99 -73
- package/styles/pivotview/bootstrap5-dark.scss +0 -1
- package/styles/pivotview/bootstrap5.css +100 -72
- package/styles/pivotview/fabric-dark.css +68 -45
- package/styles/pivotview/fabric.css +66 -44
- package/styles/pivotview/highcontrast-light.css +67 -44
- package/styles/pivotview/highcontrast.css +69 -46
- package/styles/pivotview/icons/_bootstrap4.scss +1 -1
- package/styles/pivotview/icons/_bootstrap5.scss +1 -1
- package/styles/pivotview/icons/_fluent.scss +183 -0
- package/styles/pivotview/icons/_tailwind.scss +1 -1
- package/styles/pivotview/material-dark.css +64 -44
- package/styles/pivotview/material.css +64 -44
- package/styles/pivotview/tailwind-dark.css +106 -58
- package/styles/pivotview/tailwind-dark.scss +0 -1
- package/styles/pivotview/tailwind.css +107 -57
- package/styles/tailwind-dark.css +250 -145
- package/styles/tailwind.css +247 -140
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PdfGrid, PdfPen, PointF, PdfDocument, PdfStandardFont, PdfFontFamily, PdfSolidBrush, PdfColor, PdfStringFormat, PdfVerticalAlignment, PdfTextAlignment, PdfFontStyle, PdfPageTemplateElement, RectangleF, PdfBorders } from '@syncfusion/ej2-pdf-export';
|
|
2
2
|
import * as events from '../../common/base/constant';
|
|
3
3
|
import { isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
4
|
-
import {
|
|
4
|
+
import { PivotExportUtil } from '../../base/export-util';
|
|
5
5
|
/**
|
|
6
6
|
* @hidden
|
|
7
7
|
* `PDFExport` module is used to handle the PDF export action.
|
|
@@ -418,13 +418,13 @@ var PDFExport = /** @class */ (function () {
|
|
|
418
418
|
var _this = this;
|
|
419
419
|
/** Event trigerring */
|
|
420
420
|
var clonedValues;
|
|
421
|
-
var currentPivotValues =
|
|
421
|
+
var currentPivotValues = PivotExportUtil.getClonedPivotValues(this.engine.pivotValues);
|
|
422
422
|
if (this.parent.exportAllPages && this.parent.enableVirtualization && this.parent.dataType !== 'olap') {
|
|
423
423
|
var pageSettings = this.engine.pageSettings;
|
|
424
424
|
this.engine.pageSettings = null;
|
|
425
425
|
this.engine.generateGridData(this.parent.dataSourceSettings, true);
|
|
426
426
|
this.parent.applyFormatting(this.engine.pivotValues);
|
|
427
|
-
clonedValues =
|
|
427
|
+
clonedValues = PivotExportUtil.getClonedPivotValues(this.engine.pivotValues);
|
|
428
428
|
this.engine.pivotValues = currentPivotValues;
|
|
429
429
|
this.engine.pageSettings = pageSettings;
|
|
430
430
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Property, Browser, Component, ModuleDeclaration, createElement, setStyleAttribute } from '@syncfusion/ej2-base';import { EmitType, EventHandler, Complex, extend, ChildProperty, Collection, isNullOrUndefined, remove } from '@syncfusion/ej2-base';import { Internationalization, L10n, NotifyPropertyChanges, INotifyPropertyChanged, compile, formatUnit } from '@syncfusion/ej2-base';import { removeClass, addClass, Event, KeyboardEventArgs, setValue, closest, select } from '@syncfusion/ej2-base';import { MouseEventArgs } from '@syncfusion/ej2-base';import { PivotEngine, IPivotValues, IAxisSet, IDataOptions, IDataSet } from '../../base/engine';import { IPageSettings, IGroupSettings, IGridValues, IFieldListOptions, IValueSortSettings } from '../../base/engine';import { IDrilledItem, ICustomProperties, ISort, IFilter, IFieldOptions, ICalculatedFields, IDrillOptions } from '../../base/engine';import { IConditionalFormatSettings, IStringIndex, IField, IFormatSettings } from '../../base/engine';import { Tooltip, TooltipEventArgs, createSpinner, showSpinner, hideSpinner } from '@syncfusion/ej2-popups';import * as events from '../../common/base/constant';import * as cls from '../../common/base/css-constant';import { AxisFields } from '../../common/grouping-bar/axis-field-renderer';import { LoadEventArgs, EnginePopulatingEventArgs, DrillThroughEventArgs, PivotColumn, ChartLabelInfo, EditCompletedEventArgs, MultiLevelLabelClickEventArgs, BeforeServiceInvokeEventArgs, FetchRawDataArgs, UpdateRawDataArgs } from '../../common/base/interface';import { FetchReportArgs, LoadReportArgs, RenameReportArgs, RemoveReportArgs, ToolbarArgs } from '../../common/base/interface';import { PdfCellRenderArgs, NewReportArgs, ChartSeriesCreatedEventArgs, AggregateEventArgs } from '../../common/base/interface';import { ResizeInfo, ScrollInfo, ColumnRenderEventArgs, PivotCellSelectedEventArgs, SaveReportArgs } from '../../common/base/interface';import { CellClickEventArgs, FieldDroppedEventArgs, HyperCellClickEventArgs, CellTemplateArgs } from '../../common/base/interface';import { BeforeExportEventArgs, EnginePopulatedEventArgs, BeginDrillThroughEventArgs, DrillArgs } from '../../common/base/interface';import { FieldListRefreshedEventArgs, MemberFilteringEventArgs, FieldDropEventArgs } from '../../common/base/interface';import { MemberEditorOpenEventArgs, FieldRemoveEventArgs, AggregateMenuOpenEventArgs } from '../../common/base/interface';import { CalculatedFieldCreateEventArgs, NumberFormattingEventArgs, FieldDragStartEventArgs } from '../../common/base/interface';import { Render } from '../renderer/render';import { PivotCommon } from '../../common/base/pivot-common';import { Common } from '../../common/actions/common';import { GroupingBar } from '../../common/grouping-bar/grouping-bar';import { DataSourceSettingsModel, DrillOptionsModel, FieldOptionsModel, FormatSettingsModel } from '../model/datasourcesettings-model';import { DataSourceSettings } from '../model/datasourcesettings';import { GridSettings } from '../model/gridsettings';import { GridSettingsModel } from '../model/gridsettings-model';import { PivotButton } from '../../common/actions/pivot-button';import { PivotFieldList } from '../../pivotfieldlist/base/field-list';import { Grid, QueryCellInfoEventArgs, ColumnModel, Reorder, Resize, getObject } from '@syncfusion/ej2-grids';import { SelectionType, ContextMenuItemModel } from '@syncfusion/ej2-grids';import { CellSelectEventArgs, RowSelectEventArgs, ResizeArgs } from '@syncfusion/ej2-grids';import { RowDeselectEventArgs, ContextMenuClickEventArgs } from '@syncfusion/ej2-grids';import { EditSettingsModel, HeaderCellInfoEventArgs, CellDeselectEventArgs } from '@syncfusion/ej2-grids';import { PdfExportProperties, ExcelExportProperties, ExcelQueryCellInfoEventArgs, ColumnDragEventArgs } from '@syncfusion/ej2-grids';import { ExcelHeaderQueryCellInfoEventArgs, PdfQueryCellInfoEventArgs, PdfHeaderQueryCellInfoEventArgs } from '@syncfusion/ej2-grids';import { ExcelExport } from '../actions/excel-export';import { PDFExport } from '../actions/pdf-export';import { CalculatedField } from '../../common/calculatedfield/calculated-field';import { KeyboardInteraction } from '../actions/keyboard';import { PivotContextMenu } from '../../common/popups/context-menu';import { DataManager, ReturnOption, Query } from '@syncfusion/ej2-data';import { ConditionalFormatting } from '../../common/conditionalformatting/conditional-formatting';import { VirtualScroll } from '../actions/virtualscroll';import { DrillThrough } from '../actions/drill-through';import { Condition, GroupType } from '../../base/types';import { EditMode, ToolbarItems, View, Primary, AggregateTypes, ChartSeriesType, PivotTableContextMenuItem } from '../../common';import { PivotUtil } from '../../base/util';import { Toolbar } from '../../common/popups/toolbar';import { PivotChart } from '../../pivotchart/index';import { ChartSettings } from '../model/chartsettings';import { ChartSettingsModel } from '../model/chartsettings-model';import { Chart, ITooltipRenderEventArgs, ILoadedEventArgs, IPointEventArgs, AccumulationChart } from '@syncfusion/ej2-charts';import { IResizeEventArgs, IAxisLabelRenderEventArgs, ExportType } from '@syncfusion/ej2-charts';import { PdfPageOrientation } from '@syncfusion/ej2-pdf-export';import { ClickEventArgs, BeforeOpenCloseMenuEventArgs, ItemModel } from '@syncfusion/ej2-navigations';import { OlapEngine, IOlapCustomProperties, ITupInfo, IDrillInfo, IOlapField } from '../../base/olap/engine';import { NumberFormatting } from '../../common/popups/formatting-dialog';import { Grouping } from '../../common/popups/grouping';
|
|
1
|
+
import { Property, Browser, Component, ModuleDeclaration, createElement, setStyleAttribute } from '@syncfusion/ej2-base';import { EmitType, EventHandler, Complex, extend, ChildProperty, Collection, isNullOrUndefined, remove } from '@syncfusion/ej2-base';import { Internationalization, L10n, NotifyPropertyChanges, INotifyPropertyChanged, compile, formatUnit } from '@syncfusion/ej2-base';import { removeClass, addClass, Event, KeyboardEventArgs, setValue, closest, select } from '@syncfusion/ej2-base';import { MouseEventArgs } from '@syncfusion/ej2-base';import { PivotEngine, IPivotValues, IAxisSet, IDataOptions, IDataSet, FieldItemInfo } from '../../base/engine';import { IPageSettings, IGroupSettings, IGridValues, IFieldListOptions, IValueSortSettings } from '../../base/engine';import { IDrilledItem, ICustomProperties, ISort, IFilter, IFieldOptions, ICalculatedFields, IDrillOptions } from '../../base/engine';import { IConditionalFormatSettings, IStringIndex, IField, IFormatSettings } from '../../base/engine';import { Tooltip, TooltipEventArgs, createSpinner, showSpinner, hideSpinner } from '@syncfusion/ej2-popups';import * as events from '../../common/base/constant';import * as cls from '../../common/base/css-constant';import { AxisFields } from '../../common/grouping-bar/axis-field-renderer';import { LoadEventArgs, EnginePopulatingEventArgs, DrillThroughEventArgs, PivotColumn, ChartLabelInfo, EditCompletedEventArgs, MultiLevelLabelClickEventArgs, BeforeServiceInvokeEventArgs, FetchRawDataArgs, UpdateRawDataArgs, PivotActionBeginEventArgs, PivotActionCompleteEventArgs, PivotActionFailureEventArgs, PivotActionInfo } from '../../common/base/interface';import { FetchReportArgs, LoadReportArgs, RenameReportArgs, RemoveReportArgs, ToolbarArgs } from '../../common/base/interface';import { PdfCellRenderArgs, NewReportArgs, ChartSeriesCreatedEventArgs, AggregateEventArgs } from '../../common/base/interface';import { ResizeInfo, ScrollInfo, ColumnRenderEventArgs, PivotCellSelectedEventArgs, SaveReportArgs } from '../../common/base/interface';import { CellClickEventArgs, FieldDroppedEventArgs, HyperCellClickEventArgs, CellTemplateArgs } from '../../common/base/interface';import { BeforeExportEventArgs, EnginePopulatedEventArgs, BeginDrillThroughEventArgs, DrillArgs } from '../../common/base/interface';import { FieldListRefreshedEventArgs, MemberFilteringEventArgs, FieldDropEventArgs } from '../../common/base/interface';import { MemberEditorOpenEventArgs, FieldRemoveEventArgs, AggregateMenuOpenEventArgs } from '../../common/base/interface';import { CalculatedFieldCreateEventArgs, NumberFormattingEventArgs, FieldDragStartEventArgs } from '../../common/base/interface';import { Render } from '../renderer/render';import { PivotCommon } from '../../common/base/pivot-common';import { Common } from '../../common/actions/common';import { GroupingBar } from '../../common/grouping-bar/grouping-bar';import { DataSourceSettingsModel, DrillOptionsModel, FieldOptionsModel, FormatSettingsModel } from '../model/datasourcesettings-model';import { DataSourceSettings } from '../model/datasourcesettings';import { GridSettings } from '../model/gridsettings';import { GridSettingsModel } from '../model/gridsettings-model';import { PivotButton } from '../../common/actions/pivot-button';import { PivotFieldList } from '../../pivotfieldlist/base/field-list';import { Grid, QueryCellInfoEventArgs, ColumnModel, Reorder, Resize, getObject } from '@syncfusion/ej2-grids';import { SelectionType, ContextMenuItemModel } from '@syncfusion/ej2-grids';import { CellSelectEventArgs, RowSelectEventArgs, ResizeArgs } from '@syncfusion/ej2-grids';import { RowDeselectEventArgs, ContextMenuClickEventArgs } from '@syncfusion/ej2-grids';import { EditSettingsModel, HeaderCellInfoEventArgs, CellDeselectEventArgs } from '@syncfusion/ej2-grids';import { PdfExportProperties, ExcelExportProperties, ExcelQueryCellInfoEventArgs, ColumnDragEventArgs } from '@syncfusion/ej2-grids';import { ExcelHeaderQueryCellInfoEventArgs, PdfQueryCellInfoEventArgs, PdfHeaderQueryCellInfoEventArgs } from '@syncfusion/ej2-grids';import { ExcelExport } from '../actions/excel-export';import { PDFExport } from '../actions/pdf-export';import { CalculatedField } from '../../common/calculatedfield/calculated-field';import { KeyboardInteraction } from '../actions/keyboard';import { PivotContextMenu } from '../../common/popups/context-menu';import { DataManager, ReturnOption, Query } from '@syncfusion/ej2-data';import { ConditionalFormatting } from '../../common/conditionalformatting/conditional-formatting';import { VirtualScroll } from '../actions/virtualscroll';import { DrillThrough } from '../actions/drill-through';import { Condition, GroupType } from '../../base/types';import { EditMode, ToolbarItems, View, Primary, AggregateTypes, ChartSeriesType, PivotTableContextMenuItem } from '../../common';import { PivotUtil } from '../../base/util';import { Toolbar } from '../../common/popups/toolbar';import { PivotChart } from '../../pivotchart/index';import { ChartSettings } from '../model/chartsettings';import { ChartSettingsModel } from '../model/chartsettings-model';import { Chart, ITooltipRenderEventArgs, ILoadedEventArgs, IPointEventArgs, AccumulationChart } from '@syncfusion/ej2-charts';import { IResizeEventArgs, IAxisLabelRenderEventArgs, ExportType } from '@syncfusion/ej2-charts';import { PdfPageOrientation } from '@syncfusion/ej2-pdf-export';import { ClickEventArgs, BeforeOpenCloseMenuEventArgs, ItemModel } from '@syncfusion/ej2-navigations';import { OlapEngine, IOlapCustomProperties, ITupInfo, IDrillInfo, IOlapField } from '../../base/olap/engine';import { NumberFormatting } from '../../common/popups/formatting-dialog';import { Grouping } from '../../common/popups/grouping';
|
|
2
2
|
import {ComponentModel} from '@syncfusion/ej2-base';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -1171,4 +1171,49 @@ export interface PivotViewModel extends ComponentModel{
|
|
|
1171
1171
|
*/
|
|
1172
1172
|
beforeServiceInvoke?: EmitType<BeforeServiceInvokeEventArgs>;
|
|
1173
1173
|
|
|
1174
|
+
/**
|
|
1175
|
+
* It triggers when UI action begins in the Pivot Table. The UI actions used to trigger this event such as
|
|
1176
|
+
* [`drill down/up`](../../pivotview/drill-down/#drill-down-and-drill-up),
|
|
1177
|
+
* [`value sorting`](../../pivotview/sorting/#value-sorting),
|
|
1178
|
+
* built-in [`toolbar`](../../pivotview/tool-bar/#built-in-toolbar-options) options,
|
|
1179
|
+
* [`grouping bar`](../../pivotview/grouping-bar/) and
|
|
1180
|
+
* [`field list`](../../pivotview/field-list/) buttons actions such as
|
|
1181
|
+
* [`sorting`](../../pivotview/sorting/), [`filtering`](../../pivotview/filtering/),
|
|
1182
|
+
* [`editing`](../../pivotview/calculated-field/#editing-through-the-field-list-and-the-groupingbar),
|
|
1183
|
+
* [`aggregate type`](../../pivotview/aggregation/#modifying-aggregation-type-for-value-fields-at-runtime) change and so on,
|
|
1184
|
+
* CRUD operation in [`editing`](../../pivotview/editing/).
|
|
1185
|
+
* @event
|
|
1186
|
+
*/
|
|
1187
|
+
actionBegin?: EmitType<PivotActionBeginEventArgs>;
|
|
1188
|
+
|
|
1189
|
+
/**
|
|
1190
|
+
* It triggers when UI action in the Pivot Table completed. The UI actions used to trigger this event such as
|
|
1191
|
+
* [`drill down/up`](../../pivotview/drill-down/#drill-down-and-drill-up),
|
|
1192
|
+
* [`value sorting`](../../pivotview/sorting/#value-sorting),
|
|
1193
|
+
* built-in [`toolbar`](../../pivotview/tool-bar/#built-in-toolbar-options) options,
|
|
1194
|
+
* [`grouping bar`](../../pivotview/grouping-bar/) and
|
|
1195
|
+
* [`field list`](../../pivotview/field-list/) buttons actions such as
|
|
1196
|
+
* [`sorting`](../../pivotview/sorting/), [`filtering`](../../pivotview/filtering/),
|
|
1197
|
+
* [`editing`](../../pivotview/calculated-field/#editing-through-the-field-list-and-the-groupingbar),
|
|
1198
|
+
* [`aggregate type`](../../pivotview/aggregation/#modifying-aggregation-type-for-value-fields-at-runtime) change and so on,
|
|
1199
|
+
* CRUD operation in [`editing`](../../pivotview/editing/).
|
|
1200
|
+
* @event
|
|
1201
|
+
*/
|
|
1202
|
+
actionComplete?: EmitType<PivotActionCompleteEventArgs>;
|
|
1203
|
+
|
|
1204
|
+
/**
|
|
1205
|
+
* It triggers when UI action failed to achieve the desired results in the Pivot Table. The UI actions used to trigger this event such as
|
|
1206
|
+
* [`drill down/up`](../../pivotview/drill-down/#drill-down-and-drill-up),
|
|
1207
|
+
* [`value sorting`](../../pivotview/sorting/#value-sorting),
|
|
1208
|
+
* built-in [`toolbar`](../../pivotview/tool-bar/#built-in-toolbar-options) options,
|
|
1209
|
+
* [`grouping bar`](../../pivotview/grouping-bar/) and
|
|
1210
|
+
* [`field list`](../../pivotview/field-list/) buttons actions such as
|
|
1211
|
+
* [`sorting`](../../pivotview/sorting/), [`filtering`](../../pivotview/filtering/),
|
|
1212
|
+
* [`editing`](../../pivotview/calculated-field/#editing-through-the-field-list-and-the-groupingbar),
|
|
1213
|
+
* [`aggregate type`](../../pivotview/aggregation/#modifying-aggregation-type-for-value-fields-at-runtime) change and so on,
|
|
1214
|
+
* CRUD operation in [`editing`](../../pivotview/editing/).
|
|
1215
|
+
* @event
|
|
1216
|
+
*/
|
|
1217
|
+
actionFailure?: EmitType<PivotActionFailureEventArgs>;
|
|
1218
|
+
|
|
1174
1219
|
}
|
|
@@ -11,7 +11,7 @@ import { PivotViewModel, GroupingBarSettingsModel, CellEditSettingsModel, Displa
|
|
|
11
11
|
import { HyperlinkSettingsModel, ConditionalSettingsModel } from './pivotview-model';
|
|
12
12
|
import { Tooltip } from '@syncfusion/ej2-popups';
|
|
13
13
|
import { AxisFields } from '../../common/grouping-bar/axis-field-renderer';
|
|
14
|
-
import { LoadEventArgs, EnginePopulatingEventArgs, DrillThroughEventArgs, PivotColumn, ChartLabelInfo, EditCompletedEventArgs, MultiLevelLabelClickEventArgs, BeforeServiceInvokeEventArgs, FetchRawDataArgs, UpdateRawDataArgs } from '../../common/base/interface';
|
|
14
|
+
import { LoadEventArgs, EnginePopulatingEventArgs, DrillThroughEventArgs, PivotColumn, ChartLabelInfo, EditCompletedEventArgs, MultiLevelLabelClickEventArgs, BeforeServiceInvokeEventArgs, FetchRawDataArgs, UpdateRawDataArgs, PivotActionBeginEventArgs, PivotActionCompleteEventArgs, PivotActionFailureEventArgs } from '../../common/base/interface';
|
|
15
15
|
import { FetchReportArgs, LoadReportArgs, RenameReportArgs, RemoveReportArgs, ToolbarArgs } from '../../common/base/interface';
|
|
16
16
|
import { PdfCellRenderArgs, NewReportArgs, ChartSeriesCreatedEventArgs, AggregateEventArgs } from '../../common/base/interface';
|
|
17
17
|
import { ResizeInfo, ScrollInfo, ColumnRenderEventArgs, PivotCellSelectedEventArgs, SaveReportArgs } from '../../common/base/interface';
|
|
@@ -431,7 +431,7 @@ export declare class PivotView extends Component<HTMLElement> implements INotify
|
|
|
431
431
|
/** @hidden */
|
|
432
432
|
toolbarModule: Toolbar;
|
|
433
433
|
/** @hidden */
|
|
434
|
-
|
|
434
|
+
pivotChartModule: PivotChart;
|
|
435
435
|
/** @hidden */
|
|
436
436
|
numberFormattingModule: NumberFormatting;
|
|
437
437
|
/** @hidden */
|
|
@@ -517,6 +517,8 @@ export declare class PivotView extends Component<HTMLElement> implements INotify
|
|
|
517
517
|
guid: string;
|
|
518
518
|
/** @hidden */
|
|
519
519
|
isServerWaitingPopup: boolean;
|
|
520
|
+
/** @hidden */
|
|
521
|
+
actionObj: PivotActionCompleteEventArgs;
|
|
520
522
|
/**
|
|
521
523
|
* Allows values with a specific country currency format to be displayed in the pivot table.
|
|
522
524
|
* Standard currency codes referred to as ISO 4217 can be used for the formatting of currency values.
|
|
@@ -1315,6 +1317,48 @@ export declare class PivotView extends Component<HTMLElement> implements INotify
|
|
|
1315
1317
|
* @event
|
|
1316
1318
|
*/
|
|
1317
1319
|
beforeServiceInvoke: EmitType<BeforeServiceInvokeEventArgs>;
|
|
1320
|
+
/**
|
|
1321
|
+
* It triggers when UI action begins in the Pivot Table. The UI actions used to trigger this event such as
|
|
1322
|
+
* [`drill down/up`](../../pivotview/drill-down/#drill-down-and-drill-up),
|
|
1323
|
+
* [`value sorting`](../../pivotview/sorting/#value-sorting),
|
|
1324
|
+
* built-in [`toolbar`](../../pivotview/tool-bar/#built-in-toolbar-options) options,
|
|
1325
|
+
* [`grouping bar`](../../pivotview/grouping-bar/) and
|
|
1326
|
+
* [`field list`](../../pivotview/field-list/) buttons actions such as
|
|
1327
|
+
* [`sorting`](../../pivotview/sorting/), [`filtering`](../../pivotview/filtering/),
|
|
1328
|
+
* [`editing`](../../pivotview/calculated-field/#editing-through-the-field-list-and-the-groupingbar),
|
|
1329
|
+
* [`aggregate type`](../../pivotview/aggregation/#modifying-aggregation-type-for-value-fields-at-runtime) change and so on,
|
|
1330
|
+
* CRUD operation in [`editing`](../../pivotview/editing/).
|
|
1331
|
+
* @event
|
|
1332
|
+
*/
|
|
1333
|
+
actionBegin: EmitType<PivotActionBeginEventArgs>;
|
|
1334
|
+
/**
|
|
1335
|
+
* It triggers when UI action in the Pivot Table completed. The UI actions used to trigger this event such as
|
|
1336
|
+
* [`drill down/up`](../../pivotview/drill-down/#drill-down-and-drill-up),
|
|
1337
|
+
* [`value sorting`](../../pivotview/sorting/#value-sorting),
|
|
1338
|
+
* built-in [`toolbar`](../../pivotview/tool-bar/#built-in-toolbar-options) options,
|
|
1339
|
+
* [`grouping bar`](../../pivotview/grouping-bar/) and
|
|
1340
|
+
* [`field list`](../../pivotview/field-list/) buttons actions such as
|
|
1341
|
+
* [`sorting`](../../pivotview/sorting/), [`filtering`](../../pivotview/filtering/),
|
|
1342
|
+
* [`editing`](../../pivotview/calculated-field/#editing-through-the-field-list-and-the-groupingbar),
|
|
1343
|
+
* [`aggregate type`](../../pivotview/aggregation/#modifying-aggregation-type-for-value-fields-at-runtime) change and so on,
|
|
1344
|
+
* CRUD operation in [`editing`](../../pivotview/editing/).
|
|
1345
|
+
* @event
|
|
1346
|
+
*/
|
|
1347
|
+
actionComplete: EmitType<PivotActionCompleteEventArgs>;
|
|
1348
|
+
/**
|
|
1349
|
+
* It triggers when UI action failed to achieve the desired results in the Pivot Table. The UI actions used to trigger this event such as
|
|
1350
|
+
* [`drill down/up`](../../pivotview/drill-down/#drill-down-and-drill-up),
|
|
1351
|
+
* [`value sorting`](../../pivotview/sorting/#value-sorting),
|
|
1352
|
+
* built-in [`toolbar`](../../pivotview/tool-bar/#built-in-toolbar-options) options,
|
|
1353
|
+
* [`grouping bar`](../../pivotview/grouping-bar/) and
|
|
1354
|
+
* [`field list`](../../pivotview/field-list/) buttons actions such as
|
|
1355
|
+
* [`sorting`](../../pivotview/sorting/), [`filtering`](../../pivotview/filtering/),
|
|
1356
|
+
* [`editing`](../../pivotview/calculated-field/#editing-through-the-field-list-and-the-groupingbar),
|
|
1357
|
+
* [`aggregate type`](../../pivotview/aggregation/#modifying-aggregation-type-for-value-fields-at-runtime) change and so on,
|
|
1358
|
+
* CRUD operation in [`editing`](../../pivotview/editing/).
|
|
1359
|
+
* @event
|
|
1360
|
+
*/
|
|
1361
|
+
actionFailure: EmitType<PivotActionFailureEventArgs>;
|
|
1318
1362
|
/**
|
|
1319
1363
|
* Constructor for creating the widget
|
|
1320
1364
|
* @param {PivotViewModel} options - options.
|
|
@@ -1575,6 +1619,16 @@ export declare class PivotView extends Component<HTMLElement> implements INotify
|
|
|
1575
1619
|
private removeButtonFocus;
|
|
1576
1620
|
private wireEvents;
|
|
1577
1621
|
private unwireEvents;
|
|
1622
|
+
/** @hidden */
|
|
1623
|
+
actionBeginMethod(): boolean;
|
|
1624
|
+
/** @hidden */
|
|
1625
|
+
actionCompleteMethod(): void;
|
|
1626
|
+
/** @hidden */
|
|
1627
|
+
actionFailureMethod(error: Error): void;
|
|
1628
|
+
/** @hidden */
|
|
1629
|
+
getActionCompleteName(): any;
|
|
1630
|
+
/** @hidden */
|
|
1631
|
+
getStackedColumns(gridcolumns: ColumnModel[], stackedColumns: ColumnModel[]): ColumnModel[];
|
|
1578
1632
|
/**
|
|
1579
1633
|
* To destroy the PivotView elements.
|
|
1580
1634
|
* @returns {void}
|