igniteui-webcomponents-grids 4.8.0 → 4.8.1-beta.0
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/bundles/igniteui-webcomponents-grids.umd.js +168 -168
- package/bundles/igniteui-webcomponents-grids.umd.min.js +1 -1
- package/esm2015/lib/CanvasGridCellBase.js +10 -10
- package/esm2015/lib/CanvasSummaryCell.js +2 -2
- package/esm2015/lib/ColumnFilterCondition_combined.js +67 -67
- package/esm2015/lib/ColumnGroupingView_combined.js +18 -18
- package/esm2015/lib/ColumnGroupingVisualModelExport.js +1 -1
- package/esm2015/lib/FilterCell.js +1 -1
- package/esm2015/lib/GridCellBase.js +2 -2
- package/esm2015/lib/GridColumnOptionsViewBase_combined.js +4 -4
- package/esm2015/lib/GridColumnOptionsView_combined.js +2 -2
- package/esm2015/lib/GridStyleRepository.js +12 -12
- package/esm2015/lib/MultiColumnComboBoxView_combined.js +44 -44
- package/esm2015/lib/PropertyEditorView_combined.js +5 -5
- package/esm5/lib/CanvasGridCellBase.js +10 -10
- package/esm5/lib/CanvasSummaryCell.js +2 -2
- package/esm5/lib/ColumnFilterCondition_combined.js +67 -67
- package/esm5/lib/ColumnGroupingView_combined.js +18 -18
- package/esm5/lib/ColumnGroupingVisualModelExport.js +1 -1
- package/esm5/lib/FilterCell.js +1 -1
- package/esm5/lib/GridCellBase.js +2 -2
- package/esm5/lib/GridColumnOptionsViewBase_combined.js +4 -4
- package/esm5/lib/GridColumnOptionsView_combined.js +2 -2
- package/esm5/lib/GridStyleRepository.js +12 -12
- package/esm5/lib/MultiColumnComboBoxView_combined.js +44 -44
- package/esm5/lib/PropertyEditorView_combined.js +5 -5
- package/fesm2015/igniteui-webcomponents-grids.js +168 -168
- package/fesm5/igniteui-webcomponents-grids.js +168 -168
- package/grids/3rdpartylicenses.txt +1 -1
- package/grids/combined.js +27808 -28240
- package/grids/index.d.ts +2 -0
- package/grids/lib/column-pinning-position.d.ts +5 -0
- package/grids/lib/grid-paging-mode.d.ts +5 -0
- package/grids/lib/igc-active-node-change-event-args.d.ts +11 -0
- package/grids/lib/igc-base-search-info.d.ts +34 -0
- package/grids/lib/igc-cell-position.d.ts +6 -0
- package/grids/lib/igc-cell-type.d.ts +29 -0
- package/grids/lib/igc-child-grid-row-component.d.ts +1 -0
- package/grids/lib/igc-column-component.d.ts +1 -1
- package/grids/lib/igc-column-moving-end-event-args.d.ts +13 -0
- package/grids/lib/igc-column-moving-event-args.d.ts +9 -0
- package/grids/lib/igc-column-moving-start-event-args.d.ts +5 -0
- package/grids/lib/igc-column-resize-event-args.d.ts +4 -0
- package/grids/lib/igc-column-selection-event-args.d.ts +14 -0
- package/grids/lib/igc-column-state.d.ts +13 -0
- package/grids/lib/igc-column-visibility-changed-event-args.d.ts +3 -1
- package/grids/lib/igc-column-visibility-changing-event-args.d.ts +7 -1
- package/grids/lib/igc-display-density-base.d.ts +3 -0
- package/grids/lib/igc-filtering-event-args.d.ts +8 -0
- package/grids/lib/igc-grid-base-directive.d.ts +14 -8
- package/grids/lib/igc-grid-cell-event-args.d.ts +6 -0
- package/grids/lib/igc-grid-clipboard-event.d.ts +6 -0
- package/grids/lib/igc-grid-component.d.ts +1 -1
- package/grids/lib/igc-grid-edit-done-event-args.d.ts +32 -0
- package/grids/lib/igc-grid-edit-event-args.d.ts +36 -0
- package/grids/lib/igc-grid-form-group-created-event-args.d.ts +5 -0
- package/grids/lib/igc-grid-grouping-strategy.d.ts +12 -0
- package/grids/lib/igc-grid-keydown-event-args.d.ts +12 -0
- package/grids/lib/igc-grid-resource-strings.d.ts +3 -0
- package/grids/lib/igc-grid-selection-range.d.ts +14 -0
- package/grids/lib/igc-grid-sorting-strategy.d.ts +10 -0
- package/grids/lib/igc-grid-state-base-directive.d.ts +0 -2
- package/grids/lib/igc-grid-toolbar-component.d.ts +1 -0
- package/grids/lib/igc-grid-toolbar-export-event-args.d.ts +21 -0
- package/grids/lib/igc-grid-validation-state.d.ts +5 -0
- package/grids/lib/igc-grid-validation-status-event-args.d.ts +5 -0
- package/grids/lib/igc-header-type.d.ts +11 -1
- package/grids/lib/igc-paginator-component.d.ts +2 -0
- package/grids/lib/igc-pin-column-cancellable-event-args.d.ts +2 -2
- package/grids/lib/igc-pin-column-event-args.d.ts +1 -1
- package/grids/lib/igc-pin-row-event-args.d.ts +1 -0
- package/grids/lib/igc-pivot-configuration.d.ts +1 -8
- package/grids/lib/igc-position-settings.d.ts +1 -1
- package/grids/lib/igc-row-data-event-args.d.ts +9 -0
- package/grids/lib/igc-row-drag-end-event-args.d.ts +4 -0
- package/grids/lib/igc-row-drag-start-event-args.d.ts +6 -0
- package/grids/lib/igc-row-island-component.d.ts +20 -10
- package/grids/lib/igc-row-selection-event-args.d.ts +16 -0
- package/grids/lib/igc-row-toggle-event-args.d.ts +11 -0
- package/grids/lib/igc-row-type.d.ts +76 -2
- package/grids/lib/igc-search-info.d.ts +23 -0
- package/grids/lib/igc-sorting-event-args.d.ts +16 -0
- package/grids/lib/igc-toggle-directive.d.ts +4 -4
- package/grids/lib/row-pinning-position.d.ts +5 -0
- package/grids/styles.css +1 -1
- package/grids/themes/_util.css +1 -0
- package/grids/themes/_variables.css +1 -0
- package/grids/themes/dark/bootstrap.css +1 -1
- package/grids/themes/dark/fluent.css +1 -1
- package/grids/themes/dark/indigo.css +1 -1
- package/grids/themes/dark/material.css +1 -1
- package/grids/themes/light/bootstrap.css +1 -1
- package/grids/themes/light/fluent.css +1 -1
- package/grids/themes/light/indigo.css +1 -1
- package/grids/themes/light/material.css +1 -1
- package/lib/ColumnFilterCondition_combined.d.ts +1 -1
- package/package.json +4 -4
package/grids/index.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ export * from './lib/igc-active-node-change-event-args'
|
|
|
20
20
|
export * from './lib/igc-base-date-time-filtering-operand'
|
|
21
21
|
export * from './lib/igc-base-event-args'
|
|
22
22
|
export * from './lib/igc-base-exporter'
|
|
23
|
+
export * from './lib/igc-base-search-info'
|
|
23
24
|
export * from './lib/igc-base-toolbar-column-actions-directive'
|
|
24
25
|
export * from './lib/igc-base-toolbar-directive'
|
|
25
26
|
export * from './lib/igc-boolean-filtering-operand'
|
|
@@ -169,6 +170,7 @@ export * from './lib/igc-row-selector-template-details'
|
|
|
169
170
|
export * from './lib/igc-row-toggle-event-args'
|
|
170
171
|
export * from './lib/igc-row-type'
|
|
171
172
|
export * from './lib/igc-scroll-strategy'
|
|
173
|
+
export * from './lib/igc-search-info'
|
|
172
174
|
export * from './lib/igc-size'
|
|
173
175
|
export * from './lib/igc-sorting-event-args'
|
|
174
176
|
export * from './lib/igc-sorting-expression'
|
|
@@ -4,6 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
/* mustCoerceToInt */
|
|
7
|
+
/**
|
|
8
|
+
* Enumeration representing the possible positions for pinning columns.
|
|
9
|
+
* - Start: Columns are pinned to the start of the grid.
|
|
10
|
+
* - End: Columns are pinned to the end of the grid.
|
|
11
|
+
*/
|
|
7
12
|
|
|
8
13
|
export declare enum ColumnPinningPosition
|
|
9
14
|
{
|
|
@@ -4,6 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
/* mustCoerceToInt */
|
|
7
|
+
/**
|
|
8
|
+
* Enumeration representing different paging modes for the grid.
|
|
9
|
+
* - Local: The grid will use local data to extract pages during paging.
|
|
10
|
+
* - Remote: The grid will expect pages to be delivered from a remote location and will only raise events during paging interactions.
|
|
11
|
+
*/
|
|
7
12
|
|
|
8
13
|
export declare enum GridPagingMode
|
|
9
14
|
{
|
|
@@ -5,20 +5,31 @@ import { GridKeydownTargetType } from './grid-keydown-target-type';
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
/** Emitted when the active node is changed */
|
|
8
9
|
|
|
9
10
|
export declare class IgcActiveNodeChangeEventArgs extends IgcBaseEventArgs
|
|
10
11
|
{
|
|
11
12
|
|
|
12
13
|
|
|
14
|
+
/** Represents the row index of the active node */
|
|
13
15
|
public row: number;
|
|
14
16
|
|
|
15
17
|
|
|
18
|
+
/** Represents the column index of the active node */
|
|
16
19
|
public column: number;
|
|
17
20
|
|
|
18
21
|
|
|
22
|
+
/**
|
|
23
|
+
* Optional
|
|
24
|
+
* Represents the hierarchical level of the active node
|
|
25
|
+
*/
|
|
19
26
|
public level?: number;
|
|
20
27
|
|
|
21
28
|
|
|
29
|
+
/**
|
|
30
|
+
* Represents the type of the active node.
|
|
31
|
+
* The GridKeydownTargetType is an enum or that specifies the possible target types
|
|
32
|
+
*/
|
|
22
33
|
public tag: GridKeydownTargetType;
|
|
23
34
|
|
|
24
35
|
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
/* jsonAPIPlainObject */
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
export declare class IgcBaseSearchInfo
|
|
9
|
+
{
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
public set searchText(value: string);
|
|
13
|
+
public get searchText(): string;
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
public set caseSensitive(value: boolean);
|
|
17
|
+
public get caseSensitive(): boolean;
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
public set exactMatch(value: boolean);
|
|
21
|
+
public get exactMatch(): boolean;
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
public set matchCount(value: number);
|
|
25
|
+
public get matchCount(): number;
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
public set content(value: string);
|
|
29
|
+
public get content(): string;
|
|
30
|
+
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
@@ -4,17 +4,23 @@
|
|
|
4
4
|
/* jsonAPIPlainObject */
|
|
5
5
|
|
|
6
6
|
|
|
7
|
+
/** The event is triggered when getting the current position of a certain cell */
|
|
7
8
|
|
|
8
9
|
export declare class IgcCellPosition
|
|
9
10
|
{
|
|
10
11
|
|
|
11
12
|
|
|
12
13
|
/* doNotStringify */
|
|
14
|
+
/** It returns the position (index) of the row, the cell is in */
|
|
13
15
|
public set rowIndex(value: number);
|
|
14
16
|
public get rowIndex(): number;
|
|
15
17
|
|
|
16
18
|
|
|
17
19
|
/* doNotStringify */
|
|
20
|
+
/**
|
|
21
|
+
* It returns the position (index) of the column, the cell is in
|
|
22
|
+
* Counts only the visible (non hidden) columns
|
|
23
|
+
*/
|
|
18
24
|
public set visibleColumnIndex(value: number);
|
|
19
25
|
public get visibleColumnIndex(): number;
|
|
20
26
|
|
|
@@ -10,76 +10,105 @@ import { IgcGridValidationState } from './igc-grid-validation-state';
|
|
|
10
10
|
|
|
11
11
|
/* marshalByValue */
|
|
12
12
|
/* jsonAPIComplexObject */
|
|
13
|
+
/**
|
|
14
|
+
* Interface representing a cell in the grid. It is essentially the blueprint to a cell object.
|
|
15
|
+
* Contains definitions of properties and methods, relevant to a cell
|
|
16
|
+
*/
|
|
13
17
|
|
|
14
18
|
export declare class IgcCellType
|
|
15
19
|
{
|
|
16
20
|
|
|
17
21
|
|
|
22
|
+
/** The current value of the cell. */
|
|
18
23
|
public set value(value: any);
|
|
19
24
|
public get value(): any;
|
|
20
25
|
|
|
21
26
|
|
|
27
|
+
/** The value to display when the cell is in edit mode. */
|
|
22
28
|
public set editValue(value: any);
|
|
23
29
|
public get editValue(): any;
|
|
24
30
|
|
|
25
31
|
|
|
32
|
+
/** Indicates whether the cell is currently selected. It is false, if the sell is not selected, and true, if it is. */
|
|
26
33
|
public set selected(value: boolean);
|
|
27
34
|
public get selected(): boolean;
|
|
28
35
|
|
|
29
36
|
|
|
37
|
+
/** Indicates whether the cell is currently active (focused). */
|
|
30
38
|
public set active(value: boolean);
|
|
31
39
|
public get active(): boolean;
|
|
32
40
|
|
|
33
41
|
|
|
42
|
+
/** Indicates whether the cell can be edited. */
|
|
34
43
|
public set editable(value: boolean);
|
|
35
44
|
public get editable(): boolean;
|
|
36
45
|
|
|
37
46
|
|
|
47
|
+
/** Indicates whether the cell is currently in edit mode. */
|
|
38
48
|
public set editMode(value: boolean);
|
|
39
49
|
public get editMode(): boolean;
|
|
40
50
|
|
|
41
51
|
|
|
52
|
+
/** Represents the column that the cell belongs to. */
|
|
42
53
|
public set column(value: IgcColumnComponent);
|
|
43
54
|
public get column(): IgcColumnComponent;
|
|
44
55
|
|
|
45
56
|
|
|
46
57
|
/* blazorCSSuppress */
|
|
58
|
+
/** Represents the row that the cell belongs to */
|
|
47
59
|
public set row(value: IgcRowType);
|
|
48
60
|
public get row(): IgcRowType;
|
|
49
61
|
|
|
50
62
|
|
|
63
|
+
/** Represents the grid instance containing the cell */
|
|
51
64
|
public set grid(value: IgcGridBaseDirective);
|
|
52
65
|
public get grid(): IgcGridBaseDirective;
|
|
53
66
|
|
|
54
67
|
|
|
68
|
+
/** Optional; An object identifying the cell. It contains rowID, columnID, and rowIndex of the cell. */
|
|
55
69
|
public id?: { rowID: any; columnID: number; rowIndex: number; };
|
|
56
70
|
|
|
57
71
|
|
|
72
|
+
/** Optional; The `cellID` is the unique key, used to identify the cell */
|
|
58
73
|
public cellID?: any;
|
|
59
74
|
|
|
60
75
|
|
|
76
|
+
/**
|
|
77
|
+
* Optional; An object representing the validation state of the cell.
|
|
78
|
+
* Whether it's valid or invalid, and if it has errors
|
|
79
|
+
*/
|
|
61
80
|
public validation?: IgcGridValidationState;
|
|
62
81
|
|
|
63
82
|
|
|
64
83
|
public readonly?: boolean;
|
|
65
84
|
|
|
66
85
|
|
|
86
|
+
/** An optional title to display for the cell */
|
|
67
87
|
public title?: any;
|
|
68
88
|
|
|
69
89
|
|
|
90
|
+
/** The CSS width of the cell as a string. */
|
|
70
91
|
public set width(value: string);
|
|
71
92
|
public get width(): string;
|
|
72
93
|
|
|
73
94
|
|
|
95
|
+
/** The index of the column that the cell belongs to. It counts only the visible (not hidden) columns */
|
|
74
96
|
public visibleColumnIndex?: number;
|
|
75
97
|
|
|
76
98
|
|
|
99
|
+
/** A method definition to update the value of the cell. */
|
|
77
100
|
public update(value: any): void;
|
|
78
101
|
|
|
79
102
|
|
|
103
|
+
/** A method definition to start or end the edit mode of the cell. It takes a boolean value as an argument*/
|
|
80
104
|
public setEditMode?(value: boolean): void;
|
|
81
105
|
|
|
82
106
|
|
|
107
|
+
/**
|
|
108
|
+
* Optional;
|
|
109
|
+
* A method definition to calculate the size of the cell to fit the content
|
|
110
|
+
* The method can be used to calculate the size of the cell with the longest content and resize all cells to that size
|
|
111
|
+
*/
|
|
83
112
|
public calculateSizeToFit?(range: any): number;
|
|
84
113
|
|
|
85
114
|
}
|
|
@@ -265,7 +265,7 @@ import { IgcGridHeaderGroupComponent } from './igc-grid-header-group-component';
|
|
|
265
265
|
* <igx-column [movable] = "true"></igx-column>
|
|
266
266
|
* ```
|
|
267
267
|
*
|
|
268
|
-
* @deprecated
|
|
268
|
+
* @deprecated Use the Grid's `moving` property instead.
|
|
269
269
|
*/
|
|
270
270
|
public set movable(value: boolean);
|
|
271
271
|
public get movable(): boolean;
|
|
@@ -5,17 +5,30 @@ import { IgcColumnComponent } from './igc-column-component';
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
/** Represents event arguments related to the end of a column moving operation in a grid */
|
|
8
9
|
|
|
9
10
|
export declare class IgcColumnMovingEndEventArgs extends IgcBaseEventArgs
|
|
10
11
|
{
|
|
11
12
|
|
|
12
13
|
|
|
14
|
+
/**
|
|
15
|
+
* The source of the event represents the column that is being moved.
|
|
16
|
+
* The `ColumnType` contains the information (the grid it belongs to, css data, settings, etc.) of the column in its properties
|
|
17
|
+
*/
|
|
13
18
|
public source: IgcColumnComponent;
|
|
14
19
|
|
|
15
20
|
|
|
21
|
+
/**
|
|
22
|
+
* The target of the event represents the column, the source is being moved to.
|
|
23
|
+
* The `ColumnType` contains the information (the grid it belongs to, css data, settings, etc.) of the column in its properties
|
|
24
|
+
*/
|
|
16
25
|
public target: IgcColumnComponent;
|
|
17
26
|
|
|
18
27
|
|
|
28
|
+
/**
|
|
29
|
+
* `cancel` returns whether the event has been intercepted and stopped
|
|
30
|
+
* If the value becomes "true", it returns/exits from the method, instantiating the interface
|
|
31
|
+
*/
|
|
19
32
|
public cancel: boolean;
|
|
20
33
|
|
|
21
34
|
}
|
|
@@ -5,14 +5,23 @@ import { IgcColumnComponent } from './igc-column-component';
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
/** Represents event arguments related to a column moving operation in a grid */
|
|
8
9
|
|
|
9
10
|
export declare class IgcColumnMovingEventArgs extends IgcBaseEventArgs
|
|
10
11
|
{
|
|
11
12
|
|
|
12
13
|
|
|
14
|
+
/**
|
|
15
|
+
* Represents the column that is being moved.
|
|
16
|
+
* The `ColumnType` contains the information (the grid it belongs to, css data, settings, etc.) of the column in its properties
|
|
17
|
+
*/
|
|
13
18
|
public source: IgcColumnComponent;
|
|
14
19
|
|
|
15
20
|
|
|
21
|
+
/**
|
|
22
|
+
* `cancel` returns whether the event has been intercepted and stopped
|
|
23
|
+
* If the value becomes "true", it returns/exits from the method, instantiating the interface
|
|
24
|
+
*/
|
|
16
25
|
public cancel: boolean;
|
|
17
26
|
|
|
18
27
|
}
|
|
@@ -5,11 +5,16 @@ import { IgcColumnComponent } from './igc-column-component';
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
/** Represents event arguments related to the start of a column moving operation in a grid. */
|
|
8
9
|
|
|
9
10
|
export declare class IgcColumnMovingStartEventArgs extends IgcBaseEventArgs
|
|
10
11
|
{
|
|
11
12
|
|
|
12
13
|
|
|
14
|
+
/**
|
|
15
|
+
* Represents the column that is being moved.
|
|
16
|
+
* The `ColumnType` contains the information (the grid it belongs to, css data, settings, etc.) of the column in its properties
|
|
17
|
+
*/
|
|
13
18
|
public source: IgcColumnComponent;
|
|
14
19
|
|
|
15
20
|
}
|
|
@@ -5,17 +5,21 @@ import { IgcColumnComponent } from './igc-column-component';
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
/** The event arguments when a column is being resized */
|
|
8
9
|
|
|
9
10
|
export declare class IgcColumnResizeEventArgs extends IgcBaseEventArgs
|
|
10
11
|
{
|
|
11
12
|
|
|
12
13
|
|
|
14
|
+
/** Represents the information of the column that is being resized */
|
|
13
15
|
public column: IgcColumnComponent;
|
|
14
16
|
|
|
15
17
|
|
|
18
|
+
/** Represents the old width of the column before the resizing */
|
|
16
19
|
public prevWidth: string;
|
|
17
20
|
|
|
18
21
|
|
|
22
|
+
/** Represents the new width, the column is being resized to */
|
|
19
23
|
public newWidth: string;
|
|
20
24
|
|
|
21
25
|
}
|
|
@@ -3,20 +3,34 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
+
/**
|
|
7
|
+
* The event arguments when the selection state of a column is being changed
|
|
8
|
+
* The event is cancelable
|
|
9
|
+
*/
|
|
6
10
|
|
|
7
11
|
export declare class IgcColumnSelectionEventArgs
|
|
8
12
|
{
|
|
9
13
|
|
|
10
14
|
|
|
15
|
+
/** Represents an array of columns, that have already been selected */
|
|
11
16
|
public oldSelection: string[];
|
|
12
17
|
|
|
13
18
|
|
|
19
|
+
/** Represents the newly selected columns */
|
|
14
20
|
public newSelection: string[];
|
|
15
21
|
|
|
16
22
|
|
|
23
|
+
/**
|
|
24
|
+
* Represents an array of all added columns
|
|
25
|
+
* Whenever a column has been selected, the array is "refreshed" with the selected columns
|
|
26
|
+
*/
|
|
17
27
|
public added: string[];
|
|
18
28
|
|
|
19
29
|
|
|
30
|
+
/**
|
|
31
|
+
* Represents an array of all columns, removed from the selection
|
|
32
|
+
* Whenever a column has been deselected, the array is "refreshed" with the columns, that have been previously selected, but are no longer
|
|
33
|
+
*/
|
|
20
34
|
public removed: string[];
|
|
21
35
|
|
|
22
36
|
|
|
@@ -99,6 +99,19 @@ import { GridColumnDataType } from './grid-column-data-type';
|
|
|
99
99
|
public set disableHiding(value: boolean);
|
|
100
100
|
public get disableHiding(): boolean;
|
|
101
101
|
|
|
102
|
+
|
|
103
|
+
public set disablePinning(value: boolean);
|
|
104
|
+
public get disablePinning(): boolean;
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
public collapsible?: boolean;
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
public expanded?: boolean;
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
public visibleWhenCollapsed?: boolean;
|
|
114
|
+
|
|
102
115
|
}
|
|
103
116
|
|
|
104
117
|
|
|
@@ -4,16 +4,18 @@ import { IgcBaseEventArgs } from './igc-base-event-args';
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
+
/** The event arguments after a column's visibility is changed. */
|
|
7
8
|
|
|
8
9
|
export declare class IgcColumnVisibilityChangedEventArgs extends IgcBaseEventArgs
|
|
9
10
|
{
|
|
10
11
|
|
|
11
12
|
|
|
13
|
+
/** Represents the column the event originated from */
|
|
12
14
|
public column: any;
|
|
13
15
|
|
|
14
16
|
|
|
15
17
|
/**
|
|
16
|
-
* The new hidden state that the column will have, if operation is
|
|
18
|
+
* The new hidden state that the column will have, if operation is successful.
|
|
17
19
|
* Will be `true` when hiding and `false` when showing.
|
|
18
20
|
*/
|
|
19
21
|
public newValue: boolean;
|
|
@@ -3,16 +3,22 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
+
/**
|
|
7
|
+
* The event arguments when a column's visibility is changed.
|
|
8
|
+
* The event is cancelable
|
|
9
|
+
* It contains information about the column and the it's visibility after the operation (will be `true` when hiding and `false` when showing)
|
|
10
|
+
*/
|
|
6
11
|
|
|
7
12
|
export declare class IgcColumnVisibilityChangingEventArgs
|
|
8
13
|
{
|
|
9
14
|
|
|
10
15
|
|
|
16
|
+
/** Represents the column the event originated from */
|
|
11
17
|
public column: any;
|
|
12
18
|
|
|
13
19
|
|
|
14
20
|
/**
|
|
15
|
-
* The new hidden state that the column will have, if operation is
|
|
21
|
+
* The new hidden state that the column will have, if operation is successful.
|
|
16
22
|
* Will be `true` when hiding and `false` when showing.
|
|
17
23
|
*/
|
|
18
24
|
public newValue: boolean;
|
|
@@ -28,6 +28,9 @@ import { EventEmitterMixin, LitElement, Constructor, AbstractConstructor } from
|
|
|
28
28
|
* ```typescript
|
|
29
29
|
* let componentTheme = this.component.displayDensity;
|
|
30
30
|
* ```
|
|
31
|
+
*
|
|
32
|
+
* @deprecated Please use the `--ig-size` CSS custom property.
|
|
33
|
+
* @see {@link [Update Guide](https://www.infragistics.com/products/ignite-ui-angular/angular/components/general/update-guide#from-160x-to-161x)}
|
|
31
34
|
*/
|
|
32
35
|
public set displayDensity(value: DisplayDensity);
|
|
33
36
|
public get displayDensity(): DisplayDensity;
|
|
@@ -4,11 +4,19 @@ import { IgcFilteringExpressionsTree } from './igc-filtering-expressions-tree';
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
+
/**
|
|
8
|
+
* Represents event arguments related to filtering operations
|
|
9
|
+
* The event is cancelable
|
|
10
|
+
*/
|
|
7
11
|
|
|
8
12
|
export declare class IgcFilteringEventArgs
|
|
9
13
|
{
|
|
10
14
|
|
|
11
15
|
|
|
16
|
+
/**
|
|
17
|
+
* Represents the filtering expressions applied to the grid.
|
|
18
|
+
* The expression contains information like filtering operands and operator, an expression or condition, etc.
|
|
19
|
+
*/
|
|
12
20
|
public filteringExpressions: IgcFilteringExpressionsTree;
|
|
13
21
|
|
|
14
22
|
|
|
@@ -61,6 +61,7 @@ import { IgcRowDirective } from './igc-row-directive';
|
|
|
61
61
|
import { IgcHeadSelectorTemplateContext } from './igc-head-selector-template-context';
|
|
62
62
|
import { IgcRowSelectorTemplateContext } from './igc-row-selector-template-context';
|
|
63
63
|
import { GridSelectionMode } from './grid-selection-mode';
|
|
64
|
+
import { IgcSearchInfo } from './igc-search-info';
|
|
64
65
|
import { IgcForOfState } from './igc-for-of-state';
|
|
65
66
|
import { IgcOverlayOutletDirective } from './igc-overlay-outlet-directive';
|
|
66
67
|
import { IgcGridRowComponent } from './igc-grid-row-component';
|
|
@@ -532,7 +533,6 @@ import { EventEmitterMixin, LitElement, Constructor, AbstractConstructor } from
|
|
|
532
533
|
|
|
533
534
|
|
|
534
535
|
|
|
535
|
-
/* csSuppress */
|
|
536
536
|
/**
|
|
537
537
|
* Gets/Sets the height.
|
|
538
538
|
*
|
|
@@ -546,7 +546,6 @@ import { EventEmitterMixin, LitElement, Constructor, AbstractConstructor } from
|
|
|
546
546
|
|
|
547
547
|
|
|
548
548
|
|
|
549
|
-
/* csSuppress */
|
|
550
549
|
/**
|
|
551
550
|
* Gets/Sets the width of the grid.
|
|
552
551
|
*
|
|
@@ -860,7 +859,7 @@ public set selectedRows(value: any[]);
|
|
|
860
859
|
|
|
861
860
|
|
|
862
861
|
|
|
863
|
-
/* mustSetInCodePlatforms: WebComponents;Blazor */
|
|
862
|
+
/* mustSetInCodePlatforms: WebComponents;Blazor;React */
|
|
864
863
|
/**
|
|
865
864
|
* Gets/Sets the sorting state.
|
|
866
865
|
*
|
|
@@ -947,6 +946,13 @@ public set selectedRows(value: any[]);
|
|
|
947
946
|
|
|
948
947
|
|
|
949
948
|
|
|
949
|
+
/**
|
|
950
|
+
* Represents the last search information.
|
|
951
|
+
*/
|
|
952
|
+
public get lastSearchInfo(): IgcSearchInfo;
|
|
953
|
+
|
|
954
|
+
|
|
955
|
+
|
|
950
956
|
/**
|
|
951
957
|
* Returns an array of objects containing the filtered data.
|
|
952
958
|
*
|
|
@@ -1508,7 +1514,7 @@ public set selectedRows(value: any[]);
|
|
|
1508
1514
|
* @param columnName
|
|
1509
1515
|
* @param index
|
|
1510
1516
|
*/
|
|
1511
|
-
public pinColumn(columnName: string, index?:
|
|
1517
|
+
public pinColumn(columnName: string, index?: number): boolean;
|
|
1512
1518
|
|
|
1513
1519
|
|
|
1514
1520
|
|
|
@@ -1522,7 +1528,7 @@ public set selectedRows(value: any[]);
|
|
|
1522
1528
|
* @param columnName
|
|
1523
1529
|
* @param index
|
|
1524
1530
|
*/
|
|
1525
|
-
public unpinColumn(columnName: string, index?:
|
|
1531
|
+
public unpinColumn(columnName: string, index?: number): boolean;
|
|
1526
1532
|
|
|
1527
1533
|
|
|
1528
1534
|
|
|
@@ -1888,20 +1894,20 @@ public set selectedRows(value: any[]);
|
|
|
1888
1894
|
|
|
1889
1895
|
|
|
1890
1896
|
/**
|
|
1891
|
-
* Finishes the row transactions on the current row.
|
|
1897
|
+
* Finishes the row transactions on the current row and returns whether the grid editing was canceled.
|
|
1892
1898
|
*
|
|
1893
1899
|
* @remarks
|
|
1894
1900
|
* If `commit === true`, passes them from the pending state to the data (or transaction service)
|
|
1895
1901
|
* @example
|
|
1896
1902
|
* ```html
|
|
1897
|
-
* <button igxButton (click)="grid.endEdit(true)">Commit Row</button>
|
|
1903
|
+
* <button type="button" igxButton (click)="grid.endEdit(true)">Commit Row</button>
|
|
1898
1904
|
* ```
|
|
1899
1905
|
* @param commit
|
|
1900
1906
|
*/
|
|
1901
1907
|
// TODO: Facade for crud service refactoring. To be removed
|
|
1902
1908
|
// TODO: do not remove this, as it is used in rowEditTemplate, but mark is as internal and hidden
|
|
1903
1909
|
/* blazorCSSuppress */
|
|
1904
|
-
public endEdit(commit?: boolean, evt?: any):
|
|
1910
|
+
public endEdit(commit?: boolean, evt?: any): boolean;
|
|
1905
1911
|
|
|
1906
1912
|
|
|
1907
1913
|
|
|
@@ -5,15 +5,21 @@ import { IgcCellType } from './igc-cell-type';
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
/** Represents an event argument related to grid cell interactions. */
|
|
8
9
|
|
|
9
10
|
export declare class IgcGridCellEventArgs extends IgcBaseEventArgs
|
|
10
11
|
{
|
|
11
12
|
|
|
12
13
|
|
|
14
|
+
/** Represents the grid cell that triggered the event. */
|
|
13
15
|
public cell: IgcCellType;
|
|
14
16
|
|
|
15
17
|
|
|
16
18
|
/* blazorCSSuppress */
|
|
19
|
+
/**
|
|
20
|
+
* Represents the original event that occurred
|
|
21
|
+
* Examples of such events include: selecting, clicking, double clicking, etc.
|
|
22
|
+
*/
|
|
17
23
|
public event: any;
|
|
18
24
|
|
|
19
25
|
}
|
|
@@ -4,15 +4,21 @@
|
|
|
4
4
|
/* jsonAPIPlainObject */
|
|
5
5
|
|
|
6
6
|
|
|
7
|
+
/** The event arguments when data from a grid is being copied. */
|
|
7
8
|
|
|
8
9
|
export declare class IgcGridClipboardEvent
|
|
9
10
|
{
|
|
10
11
|
|
|
11
12
|
|
|
13
|
+
/** `data` can be of any type and refers to the data that is being copied/stored to the clipboard */
|
|
12
14
|
public set data(value: any[]);
|
|
13
15
|
public get data(): any[];
|
|
14
16
|
|
|
15
17
|
|
|
18
|
+
/**
|
|
19
|
+
* `cancel` returns whether an external event has intercepted the copying
|
|
20
|
+
* If the value becomes "true", it returns/exits from the method, instantiating the interface
|
|
21
|
+
*/
|
|
16
22
|
public set cancel(value: boolean);
|
|
17
23
|
public get cancel(): boolean;
|
|
18
24
|
|
|
@@ -176,7 +176,7 @@ import { EventEmitterMixin, LitElement, Constructor, AbstractConstructor } from
|
|
|
176
176
|
|
|
177
177
|
|
|
178
178
|
|
|
179
|
-
/* mustSetInCodePlatforms: WebComponents;Blazor */
|
|
179
|
+
/* mustSetInCodePlatforms: WebComponents;Blazor;React */
|
|
180
180
|
/**
|
|
181
181
|
* Gets/Sets the group by state.
|
|
182
182
|
*
|