@progress/kendo-angular-grid 7.2.0-dev.202206151246 → 7.2.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/kendo-angular-grid.umd.js +1 -1
- package/columns/column-base.d.ts +2 -2
- package/columns/column.component.d.ts +1 -1
- package/columns/command-column.component.d.ts +1 -1
- package/columns/span-column.component.d.ts +1 -1
- package/common/single-popup.service.d.ts +1 -1
- package/data/change-event-args.interface.d.ts +1 -1
- package/databinding.directive.d.ts +2 -2
- package/editing/add-command.directive.d.ts +1 -1
- package/editing/cancel-command.directive.d.ts +1 -1
- package/editing/edit-command.directive.d.ts +1 -1
- package/editing/edit-template.directive.d.ts +1 -1
- package/editing/remove-command.directive.d.ts +1 -1
- package/editing/save-command.directive.d.ts +1 -1
- package/esm2015/columns/column.component.js +1 -1
- package/esm2015/columns/command-column.component.js +1 -1
- package/esm2015/columns/span-column.component.js +1 -1
- package/esm2015/common/single-popup.service.js +1 -1
- package/esm2015/databinding.directive.js +2 -2
- package/esm2015/editing/add-command.directive.js +1 -1
- package/esm2015/editing/cancel-command.directive.js +1 -1
- package/esm2015/editing/edit-command.directive.js +1 -1
- package/esm2015/editing/edit-template.directive.js +1 -1
- package/esm2015/editing/remove-command.directive.js +1 -1
- package/esm2015/editing/save-command.directive.js +1 -1
- package/esm2015/filtering/base-filter-cell.component.js +1 -1
- package/esm2015/filtering/filter.service.js +1 -1
- package/esm2015/grid.component.js +13 -13
- package/esm2015/package-metadata.js +1 -1
- package/esm2015/rendering/loading-template.directive.js +1 -1
- package/fesm2015/kendo-angular-grid.js +29 -29
- package/filtering/base-filter-cell.component.d.ts +1 -1
- package/filtering/filter.service.d.ts +1 -1
- package/grid.component.d.ts +13 -13
- package/package.json +1 -1
- package/rendering/loading-template.directive.d.ts +1 -1
package/columns/column-base.d.ts
CHANGED
|
@@ -135,7 +135,7 @@ export declare class ColumnBase {
|
|
|
135
135
|
*/
|
|
136
136
|
hidden: boolean;
|
|
137
137
|
/**
|
|
138
|
-
* Sets the condition that needs to be satisfied for a column to remain visible ([see example]({% slug
|
|
138
|
+
* Sets the condition that needs to be satisfied for a column to remain visible ([see example]({% slug styling_responsive_grid %}#toc-columns)).
|
|
139
139
|
* If you set the `hidden` property, the behavior of `media` is overridden.
|
|
140
140
|
*
|
|
141
141
|
* @example
|
|
@@ -147,7 +147,7 @@ export declare class ColumnBase {
|
|
|
147
147
|
* ```
|
|
148
148
|
*
|
|
149
149
|
* Accepts the device identifiers that are [available in Bootstrap 4](https://v4-alpha.getbootstrap.com/layout/grid/#grid-options)
|
|
150
|
-
* ([see example]({% slug
|
|
150
|
+
* ([see example]({% slug styling_responsive_grid %}#toc-bootstrap-4-compatibility)):
|
|
151
151
|
* * `"xs"`—Equivalent to `"(max-width: 576px)"`.
|
|
152
152
|
* * `"sm"`—Equivalent to `"(min-width: 576px)"`.
|
|
153
153
|
* * `"md"`—Equivalent to `"(min-width: 768px)"`.
|
|
@@ -116,7 +116,7 @@ export declare class ColumnComponent extends ColumnBase {
|
|
|
116
116
|
*/
|
|
117
117
|
groupable: boolean;
|
|
118
118
|
/**
|
|
119
|
-
* Defines the editor type ([see example]({% slug
|
|
119
|
+
* Defines the editor type ([see example]({% slug inline_editing_grid %}#toc-using-reactive-forms)).
|
|
120
120
|
* Used when the column enters the edit mode. The default value is `text`.
|
|
121
121
|
*
|
|
122
122
|
* @example
|
|
@@ -12,7 +12,7 @@ import * as i0 from "@angular/core";
|
|
|
12
12
|
* column inside an `<ng-template>` tag. The template context is set to the current
|
|
13
13
|
* data item. For more information and examples on using the passed fields
|
|
14
14
|
* and the command directives, refer to the article on
|
|
15
|
-
* [editing the Grid in Angular Reactive Forms]({% slug
|
|
15
|
+
* [editing the Grid in Angular Reactive Forms]({% slug inline_editing_grid %}#toc-using-reactive-forms).
|
|
16
16
|
*
|
|
17
17
|
* The following additional fields are passed:
|
|
18
18
|
* - `columnIndex`—The current column index.
|
|
@@ -18,7 +18,7 @@ export declare function isSpanColumnComponent(column: any): column is SpanColumn
|
|
|
18
18
|
* header and footer cells are retained ([see example]({% slug spanned_columns_grid %})).
|
|
19
19
|
* Enables you to achieve more flexible layout while keeping the built-in UI element for
|
|
20
20
|
* [sorting]({% slug sorting_grid %}), [filtering]({% slug filtering_grid %}), and
|
|
21
|
-
* [grouping]({% slug
|
|
21
|
+
* [grouping]({% slug grouping_grid %}). Wrap the columns that will be
|
|
22
22
|
* merged inside the `<kendo-grid-span-column>` tag.
|
|
23
23
|
*
|
|
24
24
|
* @example
|
|
@@ -21,7 +21,7 @@ export declare class PopupCloseEvent extends PreventableEvent {
|
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
23
|
* The service that is used for the popups of the filter and column menus
|
|
24
|
-
* ([see example]({% slug
|
|
24
|
+
* ([see example]({% slug filter_menu %}#toc-custom-filter-row-components)#toc-filter-menu-with-popup).
|
|
25
25
|
*/
|
|
26
26
|
export declare class SinglePopupService implements OnDestroy {
|
|
27
27
|
private popupService;
|
|
@@ -18,7 +18,7 @@ export interface PageChangeEvent {
|
|
|
18
18
|
}
|
|
19
19
|
/**
|
|
20
20
|
* Arguments for the `dataStateChange` event
|
|
21
|
-
* ([more information and examples]({% slug
|
|
21
|
+
* ([more information and examples]({% slug local_data_grid %}#toc-using-the-data-binding-directive)).
|
|
22
22
|
*/
|
|
23
23
|
export interface DataStateChangeEvent {
|
|
24
24
|
/**
|
|
@@ -11,8 +11,8 @@ import { LocalDataChangesService } from './editing/local-data-changes.service';
|
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
12
|
/**
|
|
13
13
|
* A directive which encapsulates the in-memory handling of data operations such as [paging]({% slug paging_grid %}),
|
|
14
|
-
* [sorting]({% slug sorting_grid %}), and [grouping]({% slug
|
|
15
|
-
* ([more information and examples]({% slug
|
|
14
|
+
* [sorting]({% slug sorting_grid %}), and [grouping]({% slug grouping_grid %})
|
|
15
|
+
* ([more information and examples]({% slug local_data_grid %}#toc-using-the-data-binding-directive)).
|
|
16
16
|
*/
|
|
17
17
|
export declare class DataBindingDirective implements OnInit, OnDestroy, DoCheck, OnChanges {
|
|
18
18
|
protected grid: GridComponent;
|
|
@@ -12,7 +12,7 @@ import * as i0 from "@angular/core";
|
|
|
12
12
|
* `button` element inside a [ToolbarTemplate]({% slug api_grid_commandcolumncomponent %}).
|
|
13
13
|
* When an associated button with the directive is clicked, the
|
|
14
14
|
* [add]({% slug api_grid_gridcomponent %}#toc-add) event is triggered
|
|
15
|
-
* ([see example]({% slug
|
|
15
|
+
* ([see example]({% slug basics_editing_grid %})).
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* ```html-no-run
|
|
@@ -13,7 +13,7 @@ import * as i0 from "@angular/core";
|
|
|
13
13
|
* element inside a [CommandColumnComponent]({% slug api_grid_commandcolumncomponent %}).
|
|
14
14
|
* When an associated button with the directive is clicked, the
|
|
15
15
|
* [cancel]({% slug api_grid_gridcomponent %}#toc-cancel) event
|
|
16
|
-
* is triggered ([see example]({% slug
|
|
16
|
+
* is triggered ([see example]({% slug basics_editing_grid %})).
|
|
17
17
|
*
|
|
18
18
|
* > When the row is not in the edit mode, the button with the `kendoGridCancelCommand` is automatically hidden.
|
|
19
19
|
*
|
|
@@ -13,7 +13,7 @@ import * as i0 from "@angular/core";
|
|
|
13
13
|
* element inside a [CommandColumnComponent]({% slug api_grid_commandcolumncomponent %}).
|
|
14
14
|
* When an associated button with the directive is clicked, the
|
|
15
15
|
* [edit]({% slug api_grid_gridcomponent %}#toc-edit) event
|
|
16
|
-
* is triggered ([see example]({% slug
|
|
16
|
+
* is triggered ([see example]({% slug basics_editing_grid %})).
|
|
17
17
|
*
|
|
18
18
|
* > When the row is in the edit mode, the button with `kendoGridEditCommand` is automatically hidden.
|
|
19
19
|
*
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { TemplateRef } from '@angular/core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
|
-
* Represents the column edit-cell template of the Grid ([see example]({% slug
|
|
8
|
+
* Represents the column edit-cell template of the Grid ([see example]({% slug inline_editing_grid %}#toc-using-reactive-forms)).
|
|
9
9
|
* Helps to customize the content of the edited cells. To define the cell template, nest an `<ng-template>`
|
|
10
10
|
* tag with the `kendoGridEditTemplate` directive inside a `<kendo-grid-column>` tag.
|
|
11
11
|
*
|
|
@@ -13,7 +13,7 @@ import * as i0 from "@angular/core";
|
|
|
13
13
|
* inside a [CommandColumnComponent]({% slug api_grid_commandcolumncomponent %}).
|
|
14
14
|
* When an associated button with the directive is clicked, the
|
|
15
15
|
* [remove event]({% slug api_grid_gridcomponent %}#toc-remove)
|
|
16
|
-
* is triggered ([see example]({% slug
|
|
16
|
+
* is triggered ([see example]({% slug inline_editing_grid %}#toc-using-reactive-forms))).
|
|
17
17
|
*
|
|
18
18
|
* > When the row is in the edit mode, the button with the `kendoGridRemoveCommand` is automatically hidden.
|
|
19
19
|
*
|
|
@@ -13,7 +13,7 @@ import * as i0 from "@angular/core";
|
|
|
13
13
|
* element inside a [CommandColumnComponent]({% slug api_grid_commandcolumncomponent %}).
|
|
14
14
|
* When an associated button with the directive is clicked, the
|
|
15
15
|
* [save]({% slug api_grid_gridcomponent %}#toc-save) event
|
|
16
|
-
* is triggered ([see example]({% slug
|
|
16
|
+
* is triggered ([see example]({% slug basics_editing_grid %})).
|
|
17
17
|
*
|
|
18
18
|
* > When the row is not in the edit mode, the button with `kendoGridSaveCommand` is automatically hidden.
|
|
19
19
|
*
|
|
@@ -83,7 +83,7 @@ export class ColumnComponent extends ColumnBase {
|
|
|
83
83
|
*/
|
|
84
84
|
this.groupable = true;
|
|
85
85
|
/**
|
|
86
|
-
* Defines the editor type ([see example]({% slug
|
|
86
|
+
* Defines the editor type ([see example]({% slug inline_editing_grid %}#toc-using-reactive-forms)).
|
|
87
87
|
* Used when the column enters the edit mode. The default value is `text`.
|
|
88
88
|
*
|
|
89
89
|
* @example
|
|
@@ -13,7 +13,7 @@ import * as i2 from "../common/id.service";
|
|
|
13
13
|
* column inside an `<ng-template>` tag. The template context is set to the current
|
|
14
14
|
* data item. For more information and examples on using the passed fields
|
|
15
15
|
* and the command directives, refer to the article on
|
|
16
|
-
* [editing the Grid in Angular Reactive Forms]({% slug
|
|
16
|
+
* [editing the Grid in Angular Reactive Forms]({% slug inline_editing_grid %}#toc-using-reactive-forms).
|
|
17
17
|
*
|
|
18
18
|
* The following additional fields are passed:
|
|
19
19
|
* - `columnIndex`—The current column index.
|
|
@@ -22,7 +22,7 @@ export function isSpanColumnComponent(column) {
|
|
|
22
22
|
* header and footer cells are retained ([see example]({% slug spanned_columns_grid %})).
|
|
23
23
|
* Enables you to achieve more flexible layout while keeping the built-in UI element for
|
|
24
24
|
* [sorting]({% slug sorting_grid %}), [filtering]({% slug filtering_grid %}), and
|
|
25
|
-
* [grouping]({% slug
|
|
25
|
+
* [grouping]({% slug grouping_grid %}). Wrap the columns that will be
|
|
26
26
|
* merged inside the `<kendo-grid-span-column>` tag.
|
|
27
27
|
*
|
|
28
28
|
* @example
|
|
@@ -31,7 +31,7 @@ export class PopupCloseEvent extends PreventableEvent {
|
|
|
31
31
|
const DEFAULT_POPUP_CLASS = 'k-grid-filter-popup';
|
|
32
32
|
/**
|
|
33
33
|
* The service that is used for the popups of the filter and column menus
|
|
34
|
-
* ([see example]({% slug
|
|
34
|
+
* ([see example]({% slug filter_menu %}#toc-custom-filter-row-components)#toc-filter-menu-with-popup).
|
|
35
35
|
*/
|
|
36
36
|
export class SinglePopupService {
|
|
37
37
|
constructor(popupService, renderer, ngZone, scrollSyncService, localization) {
|
|
@@ -10,8 +10,8 @@ import * as i1 from "./grid.component";
|
|
|
10
10
|
import * as i2 from "./editing/local-data-changes.service";
|
|
11
11
|
/**
|
|
12
12
|
* A directive which encapsulates the in-memory handling of data operations such as [paging]({% slug paging_grid %}),
|
|
13
|
-
* [sorting]({% slug sorting_grid %}), and [grouping]({% slug
|
|
14
|
-
* ([more information and examples]({% slug
|
|
13
|
+
* [sorting]({% slug sorting_grid %}), and [grouping]({% slug grouping_grid %})
|
|
14
|
+
* ([more information and examples]({% slug local_data_grid %}#toc-using-the-data-binding-directive)).
|
|
15
15
|
*/
|
|
16
16
|
export class DataBindingDirective {
|
|
17
17
|
constructor(grid, changeDetector, localDataChangesService) {
|
|
@@ -12,7 +12,7 @@ import * as i2 from "@progress/kendo-angular-l10n";
|
|
|
12
12
|
* `button` element inside a [ToolbarTemplate]({% slug api_grid_commandcolumncomponent %}).
|
|
13
13
|
* When an associated button with the directive is clicked, the
|
|
14
14
|
* [add]({% slug api_grid_gridcomponent %}#toc-add) event is triggered
|
|
15
|
-
* ([see example]({% slug
|
|
15
|
+
* ([see example]({% slug basics_editing_grid %})).
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* ```html-no-run
|
|
@@ -13,7 +13,7 @@ import * as i2 from "@progress/kendo-angular-l10n";
|
|
|
13
13
|
* element inside a [CommandColumnComponent]({% slug api_grid_commandcolumncomponent %}).
|
|
14
14
|
* When an associated button with the directive is clicked, the
|
|
15
15
|
* [cancel]({% slug api_grid_gridcomponent %}#toc-cancel) event
|
|
16
|
-
* is triggered ([see example]({% slug
|
|
16
|
+
* is triggered ([see example]({% slug basics_editing_grid %})).
|
|
17
17
|
*
|
|
18
18
|
* > When the row is not in the edit mode, the button with the `kendoGridCancelCommand` is automatically hidden.
|
|
19
19
|
*
|
|
@@ -13,7 +13,7 @@ import * as i2 from "@progress/kendo-angular-l10n";
|
|
|
13
13
|
* element inside a [CommandColumnComponent]({% slug api_grid_commandcolumncomponent %}).
|
|
14
14
|
* When an associated button with the directive is clicked, the
|
|
15
15
|
* [edit]({% slug api_grid_gridcomponent %}#toc-edit) event
|
|
16
|
-
* is triggered ([see example]({% slug
|
|
16
|
+
* is triggered ([see example]({% slug basics_editing_grid %})).
|
|
17
17
|
*
|
|
18
18
|
* > When the row is in the edit mode, the button with `kendoGridEditCommand` is automatically hidden.
|
|
19
19
|
*
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { Directive, Optional } from '@angular/core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
|
-
* Represents the column edit-cell template of the Grid ([see example]({% slug
|
|
8
|
+
* Represents the column edit-cell template of the Grid ([see example]({% slug inline_editing_grid %}#toc-using-reactive-forms)).
|
|
9
9
|
* Helps to customize the content of the edited cells. To define the cell template, nest an `<ng-template>`
|
|
10
10
|
* tag with the `kendoGridEditTemplate` directive inside a `<kendo-grid-column>` tag.
|
|
11
11
|
*
|
|
@@ -13,7 +13,7 @@ import * as i2 from "@progress/kendo-angular-l10n";
|
|
|
13
13
|
* inside a [CommandColumnComponent]({% slug api_grid_commandcolumncomponent %}).
|
|
14
14
|
* When an associated button with the directive is clicked, the
|
|
15
15
|
* [remove event]({% slug api_grid_gridcomponent %}#toc-remove)
|
|
16
|
-
* is triggered ([see example]({% slug
|
|
16
|
+
* is triggered ([see example]({% slug inline_editing_grid %}#toc-using-reactive-forms))).
|
|
17
17
|
*
|
|
18
18
|
* > When the row is in the edit mode, the button with the `kendoGridRemoveCommand` is automatically hidden.
|
|
19
19
|
*
|
|
@@ -13,7 +13,7 @@ import * as i2 from "@progress/kendo-angular-l10n";
|
|
|
13
13
|
* element inside a [CommandColumnComponent]({% slug api_grid_commandcolumncomponent %}).
|
|
14
14
|
* When an associated button with the directive is clicked, the
|
|
15
15
|
* [save]({% slug api_grid_gridcomponent %}#toc-save) event
|
|
16
|
-
* is triggered ([see example]({% slug
|
|
16
|
+
* is triggered ([see example]({% slug basics_editing_grid %})).
|
|
17
17
|
*
|
|
18
18
|
* > When the row is not in the edit mode, the button with `kendoGridSaveCommand` is automatically hidden.
|
|
19
19
|
*
|
|
@@ -84,7 +84,7 @@ export const localizeOperators = operators => localization => Object.keys(operat
|
|
|
84
84
|
value: operators[key]
|
|
85
85
|
}));
|
|
86
86
|
/**
|
|
87
|
-
* An abstract base class for the filter-cell component ([see example]({% slug
|
|
87
|
+
* An abstract base class for the filter-cell component ([see example]({% slug filter_row %}#toc-custom-filter-row-components)).
|
|
88
88
|
*/
|
|
89
89
|
export class BaseFilterCellComponent {
|
|
90
90
|
constructor(filterService) {
|
|
@@ -8,7 +8,7 @@ import * as i0 from "@angular/core";
|
|
|
8
8
|
import * as i1 from "./menu/menu-tabbing.service";
|
|
9
9
|
/**
|
|
10
10
|
* Represents a service to set the filter descriptor
|
|
11
|
-
* ([see example]({% slug
|
|
11
|
+
* ([see example]({% slug filter_row %}#toc-custom-filter-row-components)).
|
|
12
12
|
*/
|
|
13
13
|
export class FilterService {
|
|
14
14
|
/**
|
|
@@ -187,7 +187,7 @@ export class GridComponent {
|
|
|
187
187
|
this.ctx = ctx;
|
|
188
188
|
/**
|
|
189
189
|
* Sets the data of the Grid. If an array is provided, the Grid automatically gets the total count
|
|
190
|
-
* ([more information and example]({% slug
|
|
190
|
+
* ([more information and example]({% slug binding_grid %})).
|
|
191
191
|
*/
|
|
192
192
|
this.data = [];
|
|
193
193
|
/**
|
|
@@ -275,7 +275,7 @@ export class GridComponent {
|
|
|
275
275
|
this.pageable = false;
|
|
276
276
|
/**
|
|
277
277
|
* If set to `true`, the user can group the Grid by dragging the column header cells.
|
|
278
|
-
* By default, grouping is disabled ([see example]({% slug
|
|
278
|
+
* By default, grouping is disabled ([see example]({% slug grouping_grid %})).
|
|
279
279
|
*/
|
|
280
280
|
this.groupable = false;
|
|
281
281
|
/**
|
|
@@ -301,7 +301,7 @@ export class GridComponent {
|
|
|
301
301
|
*/
|
|
302
302
|
this.reorderable = false;
|
|
303
303
|
/**
|
|
304
|
-
* Specifies if the loading indicator of the Grid will be displayed ([see example]({% slug
|
|
304
|
+
* Specifies if the loading indicator of the Grid will be displayed ([see example]({% slug binding_grid %})).
|
|
305
305
|
*
|
|
306
306
|
* @default false
|
|
307
307
|
*/
|
|
@@ -330,7 +330,7 @@ export class GridComponent {
|
|
|
330
330
|
this.pageChange = new EventEmitter();
|
|
331
331
|
/**
|
|
332
332
|
* Fires when the grouping of the Grid is changed.
|
|
333
|
-
* You have to handle the event yourself and group the data ([see example]({% slug
|
|
333
|
+
* You have to handle the event yourself and group the data ([see example]({% slug grouping_grid %})).
|
|
334
334
|
*/
|
|
335
335
|
this.groupChange = new ZoneAwareEventEmitter(this.ngZone);
|
|
336
336
|
/**
|
|
@@ -365,27 +365,27 @@ export class GridComponent {
|
|
|
365
365
|
this.detailCollapse = new EventEmitter();
|
|
366
366
|
/**
|
|
367
367
|
* Fires when the user clicks the **Edit** command button to edit a row
|
|
368
|
-
* ([see example]({% slug
|
|
368
|
+
* ([see example]({% slug inline_editing_grid %}#toc-editing-records-1).
|
|
369
369
|
*/
|
|
370
370
|
this.edit = new EventEmitter();
|
|
371
371
|
/**
|
|
372
372
|
* Fires when the user clicks the **Cancel** command button to close a row
|
|
373
|
-
* ([see example]({% slug
|
|
373
|
+
* ([see example]({% slug inline_editing_grid %}#toc-canceling-editing-1)).
|
|
374
374
|
*/
|
|
375
375
|
this.cancel = new EventEmitter();
|
|
376
376
|
/**
|
|
377
377
|
* Fires when the user clicks the **Save** command button to save changes in a row
|
|
378
|
-
* ([see example]({% slug
|
|
378
|
+
* ([see example]({% slug inline_editing_grid %}#toc-saving-records-1)).
|
|
379
379
|
*/
|
|
380
380
|
this.save = new EventEmitter();
|
|
381
381
|
/**
|
|
382
382
|
* Fires when the user clicks the **Remove** command button to remove a row
|
|
383
|
-
* ([see example]({% slug
|
|
383
|
+
* ([see example]({% slug inline_editing_grid %}#toc-removing-records-1)).
|
|
384
384
|
*/
|
|
385
385
|
this.remove = new EventEmitter();
|
|
386
386
|
/**
|
|
387
387
|
* Fires when the user clicks the **Add** command button to add a new row
|
|
388
|
-
* ([see example]({% slug
|
|
388
|
+
* ([see example]({% slug inline_editing_grid %}#toc-adding-records-1)).
|
|
389
389
|
*/
|
|
390
390
|
this.add = new EventEmitter();
|
|
391
391
|
/**
|
|
@@ -517,7 +517,7 @@ export class GridComponent {
|
|
|
517
517
|
return this._sort;
|
|
518
518
|
}
|
|
519
519
|
/**
|
|
520
|
-
* The descriptors by which the data will be grouped ([see example]({% slug
|
|
520
|
+
* The descriptors by which the data will be grouped ([see example]({% slug grouping_grid %})).
|
|
521
521
|
*/
|
|
522
522
|
set group(value) {
|
|
523
523
|
if (isArray(value)) {
|
|
@@ -1152,7 +1152,7 @@ export class GridComponent {
|
|
|
1152
1152
|
return this.localization.get('gridLabel');
|
|
1153
1153
|
}
|
|
1154
1154
|
/**
|
|
1155
|
-
* Switches the specified table row in the edit mode ([see example]({% slug
|
|
1155
|
+
* Switches the specified table row in the edit mode ([see example]({% slug inline_editing_grid %}#toc-editing-records-1)).
|
|
1156
1156
|
*
|
|
1157
1157
|
* @param rowIndex - The data row index that will be switched in the edit mode.
|
|
1158
1158
|
* @param group - The [FormGroup]({{ site.data.urls.angular['formgroupapi'] }})
|
|
@@ -1170,7 +1170,7 @@ export class GridComponent {
|
|
|
1170
1170
|
this.focusEditElement(target);
|
|
1171
1171
|
}
|
|
1172
1172
|
/**
|
|
1173
|
-
* Closes the editor for a given row ([see example]({% slug
|
|
1173
|
+
* Closes the editor for a given row ([see example]({% slug inline_editing_grid %}#toc-canceling-editing-1)).
|
|
1174
1174
|
*
|
|
1175
1175
|
* @param {number} index - The row index that will be switched out of the edit mode. If no index is provided, it is assumed
|
|
1176
1176
|
* that the new item editor will be closed.
|
|
@@ -1179,7 +1179,7 @@ export class GridComponent {
|
|
|
1179
1179
|
this.editService.close(index);
|
|
1180
1180
|
}
|
|
1181
1181
|
/**
|
|
1182
|
-
* Creates a new row editor ([see example]({% slug
|
|
1182
|
+
* Creates a new row editor ([see example]({% slug inline_editing_grid %}#toc-adding-records-1)).
|
|
1183
1183
|
*
|
|
1184
1184
|
* @param {FormGroup} group - The [FormGroup]({{ site.data.urls.angular['formgroupapi'] }}) that describes
|
|
1185
1185
|
* the edit form. If called with a data item, it will build the `FormGroup` from the data item fields.
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-grid',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
12
|
+
publishDate: 1655880458,
|
|
13
13
|
version: '',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
15
15
|
};
|
|
@@ -7,7 +7,7 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
/**
|
|
8
8
|
* Creates a loading template that overrides the default loading indicator of the Grid Component.
|
|
9
9
|
* To define a loading template, nest an `<ng-template>` tag with the `kendoGridLoadingTemplate` directive inside the `<kendo-grid>` tag
|
|
10
|
-
* [see example]({% slug
|
|
10
|
+
* [see example]({% slug binding_grid %}#toc-loading-template).
|
|
11
11
|
*/
|
|
12
12
|
export class LoadingTemplateDirective {
|
|
13
13
|
constructor(templateRef) {
|