@progress/kendo-angular-grid 12.0.0-develop.10 → 12.0.0-develop.11

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.
Files changed (35) hide show
  1. package/column-menu/column-menu.service.d.ts +9 -21
  2. package/columns/column-base.d.ts +14 -369
  3. package/columns/sort-settings.d.ts +20 -4
  4. package/common/fetch-data-callback.d.ts +1 -1
  5. package/common/preventable-event.d.ts +1 -1
  6. package/common/single-popup.service.d.ts +1 -1
  7. package/common/size-options.d.ts +1 -2
  8. package/data/grid-item.interface.d.ts +6 -3
  9. package/esm2020/column-menu/column-menu.service.mjs +9 -21
  10. package/esm2020/columns/column-base.mjs +6 -40
  11. package/esm2020/common/preventable-event.mjs +1 -1
  12. package/esm2020/common/single-popup.service.mjs +1 -1
  13. package/esm2020/excel/excel.module.mjs +5 -15
  14. package/esm2020/grid.component.mjs +1 -1
  15. package/esm2020/grid.module.mjs +6 -16
  16. package/esm2020/layout/sizing-options.service.mjs +3 -0
  17. package/esm2020/package-metadata.mjs +2 -2
  18. package/esm2020/pdf/pdf.module.mjs +7 -16
  19. package/esm2020/rendering/toolbar/toolbar-position.mjs +17 -0
  20. package/excel/excel.module.d.ts +5 -15
  21. package/fesm2015/progress-kendo-angular-grid.mjs +41 -113
  22. package/fesm2020/progress-kendo-angular-grid.mjs +41 -113
  23. package/filtering/filterable.d.ts +10 -0
  24. package/grid.component.d.ts +1 -1
  25. package/grid.module.d.ts +6 -16
  26. package/layout/sizing-options.service.d.ts +3 -0
  27. package/navigation/navigable-settings.d.ts +15 -1
  28. package/package.json +15 -15
  29. package/pager/pager-settings.d.ts +8 -12
  30. package/pdf/pdf.module.d.ts +7 -16
  31. package/rendering/common/row-class.d.ts +4 -4
  32. package/rendering/toolbar/toolbar-position.d.ts +18 -1
  33. package/schematics/ngAdd/index.js +2 -2
  34. package/scrolling/scrollmode.d.ts +4 -4
  35. package/selection/types.d.ts +24 -2
@@ -36,9 +36,9 @@ export class ColumnBase {
36
36
  */
37
37
  this.matchesMedia = true;
38
38
  /**
39
- * The column index after reordering.
39
+ * The column index after reordering. The `orderIndex` is a read-only property. Setting this field does not affect column order.
40
40
  *
41
- * > `orderIndex` is a read-only property. Setting this field does not affect column order.
41
+ * @default 0
42
42
  */
43
43
  this.orderIndex = 0;
44
44
  /**
@@ -73,18 +73,22 @@ export class ColumnBase {
73
73
  this.sticky = false;
74
74
  /**
75
75
  * Specifies if the column can be locked or unlocked from the column menu or by reordering the columns.
76
+ * @default true
76
77
  */
77
78
  this.lockable = true;
78
79
  /**
79
80
  * Specifies if the column can be stuck or unstuck from the column menu.
81
+ * @default true
80
82
  */
81
83
  this.stickable = true;
82
84
  /**
83
85
  * Specifies if the column menu will be shown for the column.
86
+ * @default true
84
87
  */
85
88
  this.columnMenu = true;
86
89
  /**
87
90
  * Specifies if the column will be included in the column-chooser list.
91
+ * @default true
88
92
  */
89
93
  this.includeInChooser = true;
90
94
  /**
@@ -132,44 +136,6 @@ export class ColumnBase {
132
136
  *
133
137
  * @default false
134
138
  *
135
- * @example
136
- * ```ts
137
- * _@Component({
138
- * selector: 'my-app',
139
- * template: `
140
- * <kendo-grid [data]="gridData" [scrollable]="scrollable" style="height: 200px">
141
- * <kendo-grid-column field="ProductID" title="Product ID" [width]="120" [locked]="true">
142
- * </kendo-grid-column>
143
- * <kendo-grid-column field="ProductName" title="Product Name" [width]="200">
144
- * </kendo-grid-column>
145
- * <kendo-grid-column field="UnitPrice" title="Unit Price" [width]="230">
146
- * </kendo-grid-column>
147
- * </kendo-grid>
148
- * `
149
- * })
150
- *
151
- * class AppComponent {
152
- * public gridData: any[];
153
- *
154
- * constructor() {
155
- * this.gridData = products;
156
- * }
157
- * }
158
- *
159
- * const products = [{
160
- * "ProductID": 1,
161
- * "ProductName": "Chai",
162
- * "UnitPrice": 18.0000,
163
- * "Discontinued": true
164
- * }, {
165
- * "ProductID": 2,
166
- * "ProductName": "Chang",
167
- * "UnitPrice": 19.0000,
168
- * "Discontinued": false
169
- * }
170
- * ];
171
- *
172
- * ```
173
139
  */
174
140
  set locked(value) {
175
141
  this._locked = value;
@@ -18,7 +18,7 @@ export class PreventableEvent {
18
18
  this.prevented = true;
19
19
  }
20
20
  /**
21
- * Returns `true` if the event was prevented
21
+ * Returns a respective boolean if the event was prevented
22
22
  * by any of its subscribers.
23
23
  *
24
24
  * @returns `true` if the default action was prevented.
@@ -35,7 +35,7 @@ export class PopupCloseEvent extends PreventableEvent {
35
35
  const DEFAULT_POPUP_CLASS = 'k-grid-filter-popup';
36
36
  /**
37
37
  * The service that is used for the popups of the filter and column menus
38
- * ([see example]({% slug filter_menu %}#toc-custom-filter-row-components)#toc-filter-menu-with-popup).
38
+ * ([see example]({% slug filter_menu %}#toc-filter-menu-with-popup)).
39
39
  */
40
40
  export class SinglePopupService {
41
41
  constructor(popupService, renderer, ngZone, scrollSyncService, localization) {
@@ -15,29 +15,19 @@ const declarations = [ExcelComponent, ExcelCommandDirective];
15
15
  *
16
16
  * @example
17
17
  *
18
- * ```ts-no-run
19
- * // Import the Grid and Excel modules
20
- * import { GridModule, ExcelModule } from '@progress/kendo-angular-grid';
21
- *
22
- * // The browser platform with a compiler
23
- * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
24
- *
18
+ * ```ts
25
19
  * import { NgModule } from '@angular/core';
26
- *
27
- * // Import the app component
20
+ * import { BrowserModule } from "@angular/platform-browser";
21
+ * import { GridModule, ExcelModule } from '@progress/kendo-angular-grid';
28
22
  * import { AppComponent } from './app.component';
29
23
  *
30
- * // Define the app module
31
24
  * _@NgModule({
32
- * declarations: [AppComponent], // declare app component
33
- * imports: [BrowserModule, GridModule, ExcelModule], // import Grid and Excel modules
25
+ * declarations: [AppComponent],
26
+ * imports: [BrowserModule, GridModule, ExcelModule],
34
27
  * bootstrap: [AppComponent]
35
28
  * })
36
29
  * export class AppModule {}
37
30
  *
38
- * // Compile and launch the module
39
- * platformBrowserDynamic().bootstrapModule(AppModule);
40
- *
41
31
  * ```
42
32
  */
43
33
  export class ExcelModule {
@@ -631,7 +631,7 @@ export class GridComponent {
631
631
  return this.selectionService.enableMarquee || this.cellSelectionService.enableMarquee;
632
632
  }
633
633
  /**
634
- * Enables the [row reordering]({% slug ToDo %}) of the Grid.
634
+ * Enables the [row reordering]({% slug reordering_rows_grid %}) of the Grid.
635
635
  * @default false
636
636
  */
637
637
  set rowReorderable(value) {
@@ -168,29 +168,19 @@ const declarations = [
168
168
  *
169
169
  * @example
170
170
  *
171
- * ```ts-no-run
172
- * // Import the Grid module
173
- * import { GridModule } from '@progress/kendo-angular-grid';
174
- *
175
- * // The browser platform with a compiler
176
- * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
177
- *
171
+ * ```ts
178
172
  * import { NgModule } from '@angular/core';
179
- *
180
- * // Import the app component
173
+ * import { GridModule } from '@progress/kendo-angular-grid';
174
+ * import { BrowserModule } from "@angular/platform-browser";
181
175
  * import { AppComponent } from './app.component';
182
176
  *
183
- * // Define the app module
184
- * _@NgModule({
185
- * declarations: [AppComponent], // declare app component
186
- * imports: [BrowserModule, GridModule], // import Grid module
177
+ * @NgModule({
178
+ * declarations: [AppComponent],
179
+ * imports: [BrowserModule, GridModule],
187
180
  * bootstrap: [AppComponent]
188
181
  * })
189
182
  * export class AppModule {}
190
183
  *
191
- * // Compile and launch the module
192
- * platformBrowserDynamic().bootstrapModule(AppModule);
193
- *
194
184
  * ```
195
185
  */
196
186
  export class GridModule {
@@ -5,6 +5,9 @@
5
5
  import { Injectable } from '@angular/core';
6
6
  import { Subject } from 'rxjs';
7
7
  import * as i0 from "@angular/core";
8
+ /**
9
+ * @hidden
10
+ */
8
11
  export class SizingOptionsService {
9
12
  constructor() {
10
13
  this.changes = new Subject();
@@ -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: 1681902962,
13
- version: '12.0.0-develop.10',
12
+ publishDate: 1681998466,
13
+ version: '12.0.0-develop.11',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
15
15
  };
@@ -27,28 +27,19 @@ const declarations = [
27
27
  *
28
28
  * @example
29
29
  *
30
- * ```ts-no-run
31
- * // Import the Grid and PDF modules
32
- * import { GridModule, PDFModule } from '@progress/kendo-angular-grid';
33
- *
34
- * // The browser platform with a compiler
35
- * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
36
- *
30
+ * ```ts
37
31
  * import { NgModule } from '@angular/core';
38
- *
39
- * // Import the app component
32
+ * import { BrowserModule } from "@angular/platform-browser";
33
+ * import { GridModule, PDFModule } from '@progress/kendo-angular-grid';
40
34
  * import { AppComponent } from './app.component';
41
35
  *
42
- * // Define the app module
43
- * _@NgModule({
44
- * declarations: [AppComponent], // declare app component
45
- * imports: [BrowserModule, GridModule, PDFModule], // import Grid and PDF modules
36
+ * @NgModule({
37
+ * declarations: [AppComponent],
38
+ * imports: [BrowserModule, GridModule, PDFModule],
46
39
  * bootstrap: [AppComponent]
47
40
  * })
48
- * export class AppModule {}
49
41
  *
50
- * // Compile and launch the module
51
- * platformBrowserDynamic().bootstrapModule(AppModule);
42
+ * export class AppModule {}
52
43
  *
53
44
  * ```
54
45
  */
@@ -2,4 +2,21 @@
2
2
  * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
+ /**
6
+ * Defines the settings for `position` property of the the Grid Toolbar Template. [See example](slug:toolbartemplate_grid#toc-setting-the-toolbar-position)
7
+ *
8
+ * The possible values are:
9
+ * * `top`&mdash;Displays the Toolbar a the top of the Grid.
10
+ * * `bottom`&mdash;Displays the Toolbar at the bottom of the Grid.
11
+ * * `both`&mdash;Displays the Toolbar at the top and bottom of the Grid.
12
+ *
13
+ * @example
14
+ * ```html
15
+ * <kendo-grid >
16
+ * <ng-template kendoGridToolbarTemplate position="bottom" let-position="position">
17
+ * <button (click)="onClick()">Custom action</button>
18
+ * </ng-template>
19
+ * </kendo-grid>
20
+ * ```
21
+ */
5
22
  export {};
@@ -13,29 +13,19 @@ import * as i4 from "@progress/kendo-angular-excel-export";
13
13
  *
14
14
  * @example
15
15
  *
16
- * ```ts-no-run
17
- * // Import the Grid and Excel modules
18
- * import { GridModule, ExcelModule } from '@progress/kendo-angular-grid';
19
- *
20
- * // The browser platform with a compiler
21
- * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
22
- *
16
+ * ```ts
23
17
  * import { NgModule } from '@angular/core';
24
- *
25
- * // Import the app component
18
+ * import { BrowserModule } from "@angular/platform-browser";
19
+ * import { GridModule, ExcelModule } from '@progress/kendo-angular-grid';
26
20
  * import { AppComponent } from './app.component';
27
21
  *
28
- * // Define the app module
29
22
  * _@NgModule({
30
- * declarations: [AppComponent], // declare app component
31
- * imports: [BrowserModule, GridModule, ExcelModule], // import Grid and Excel modules
23
+ * declarations: [AppComponent],
24
+ * imports: [BrowserModule, GridModule, ExcelModule],
32
25
  * bootstrap: [AppComponent]
33
26
  * })
34
27
  * export class AppModule {}
35
28
  *
36
- * // Compile and launch the module
37
- * platformBrowserDynamic().bootstrapModule(AppModule);
38
- *
39
29
  * ```
40
30
  */
41
31
  export declare class ExcelModule {
@@ -934,7 +934,7 @@ class PreventableEvent {
934
934
  this.prevented = true;
935
935
  }
936
936
  /**
937
- * Returns `true` if the event was prevented
937
+ * Returns a respective boolean if the event was prevented
938
938
  * by any of its subscribers.
939
939
  *
940
940
  * @returns `true` if the default action was prevented.
@@ -2832,8 +2832,8 @@ const packageMetadata = {
2832
2832
  name: '@progress/kendo-angular-grid',
2833
2833
  productName: 'Kendo UI for Angular',
2834
2834
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
2835
- publishDate: 1681902962,
2836
- version: '12.0.0-develop.10',
2835
+ publishDate: 1681998466,
2836
+ version: '12.0.0-develop.11',
2837
2837
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
2838
2838
  };
2839
2839
 
@@ -3212,9 +3212,9 @@ class ColumnBase {
3212
3212
  */
3213
3213
  this.matchesMedia = true;
3214
3214
  /**
3215
- * The column index after reordering.
3215
+ * The column index after reordering. The `orderIndex` is a read-only property. Setting this field does not affect column order.
3216
3216
  *
3217
- * > `orderIndex` is a read-only property. Setting this field does not affect column order.
3217
+ * @default 0
3218
3218
  */
3219
3219
  this.orderIndex = 0;
3220
3220
  /**
@@ -3249,18 +3249,22 @@ class ColumnBase {
3249
3249
  this.sticky = false;
3250
3250
  /**
3251
3251
  * Specifies if the column can be locked or unlocked from the column menu or by reordering the columns.
3252
+ * @default true
3252
3253
  */
3253
3254
  this.lockable = true;
3254
3255
  /**
3255
3256
  * Specifies if the column can be stuck or unstuck from the column menu.
3257
+ * @default true
3256
3258
  */
3257
3259
  this.stickable = true;
3258
3260
  /**
3259
3261
  * Specifies if the column menu will be shown for the column.
3262
+ * @default true
3260
3263
  */
3261
3264
  this.columnMenu = true;
3262
3265
  /**
3263
3266
  * Specifies if the column will be included in the column-chooser list.
3267
+ * @default true
3264
3268
  */
3265
3269
  this.includeInChooser = true;
3266
3270
  /**
@@ -3308,44 +3312,6 @@ class ColumnBase {
3308
3312
  *
3309
3313
  * @default false
3310
3314
  *
3311
- * @example
3312
- * ```ts
3313
- * _@Component({
3314
- * selector: 'my-app',
3315
- * template: `
3316
- * <kendo-grid [data]="gridData" [scrollable]="scrollable" style="height: 200px">
3317
- * <kendo-grid-column field="ProductID" title="Product ID" [width]="120" [locked]="true">
3318
- * </kendo-grid-column>
3319
- * <kendo-grid-column field="ProductName" title="Product Name" [width]="200">
3320
- * </kendo-grid-column>
3321
- * <kendo-grid-column field="UnitPrice" title="Unit Price" [width]="230">
3322
- * </kendo-grid-column>
3323
- * </kendo-grid>
3324
- * `
3325
- * })
3326
- *
3327
- * class AppComponent {
3328
- * public gridData: any[];
3329
- *
3330
- * constructor() {
3331
- * this.gridData = products;
3332
- * }
3333
- * }
3334
- *
3335
- * const products = [{
3336
- * "ProductID": 1,
3337
- * "ProductName": "Chai",
3338
- * "UnitPrice": 18.0000,
3339
- * "Discontinued": true
3340
- * }, {
3341
- * "ProductID": 2,
3342
- * "ProductName": "Chang",
3343
- * "UnitPrice": 19.0000,
3344
- * "Discontinued": false
3345
- * }
3346
- * ];
3347
- *
3348
- * ```
3349
3315
  */
3350
3316
  set locked(value) {
3351
3317
  this._locked = value;
@@ -5773,7 +5739,7 @@ class PopupCloseEvent extends PreventableEvent {
5773
5739
  const DEFAULT_POPUP_CLASS = 'k-grid-filter-popup';
5774
5740
  /**
5775
5741
  * The service that is used for the popups of the filter and column menus
5776
- * ([see example]({% slug filter_menu %}#toc-custom-filter-row-components)#toc-filter-menu-with-popup).
5742
+ * ([see example]({% slug filter_menu %}#toc-filter-menu-with-popup)).
5777
5743
  */
5778
5744
  class SinglePopupService {
5779
5745
  constructor(popupService, renderer, ngZone, scrollSyncService, localization) {
@@ -6369,6 +6335,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
6369
6335
  }]
6370
6336
  }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
6371
6337
 
6338
+ /**
6339
+ * @hidden
6340
+ */
6372
6341
  class SizingOptionsService {
6373
6342
  constructor() {
6374
6343
  this.changes = new Subject();
@@ -11352,27 +11321,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
11352
11321
  * [ColumnMenuTemplate]({% slug api_grid_columnmenutemplatedirective %}) directive.
11353
11322
  *
11354
11323
  * @example
11355
- * ```ts-preview
11356
- *
11357
- * _@Component({
11358
- * selector: 'my-app',
11359
- * template: `
11360
- * <kendo-grid [data]="data" [columnMenu]="true">
11361
- * <ng-template kendoGridColumnMenuTemplate let-service="service">
11362
- * <span class="k-icon k-i-x" (click)="service.close()"
11363
- * style="position: absolute; right: 5px; top: 5px;cursor: pointer;"></span>
11364
- * <kendo-grid-columnmenu-sort [service]="service">
11365
- * </kendo-grid-columnmenu-sort>
11366
- * </ng-template>
11367
- * <kendo-grid-column field="Field1"></kendo-grid-column>
11368
- * <kendo-grid-column field="Field2"></kendo-grid-column>
11369
- * </kendo-grid>
11370
- * `
11371
- * })
11372
- *
11373
- * class AppComponent {
11374
- * public data: any[] = [{ Field1: 'Foo', Field2: 'Bar' }];
11375
- * }
11324
+ * ```html
11325
+ * <kendo-grid [data]="data" [columnMenu]="true">
11326
+ * <ng-template kendoGridColumnMenuTemplate let-service="service">
11327
+ * <span class="k-icon k-i-x" (click)="service.close()" </span>
11328
+ * <kendo-grid-columnmenu-sort [service]="service">
11329
+ * </kendo-grid-columnmenu-sort>
11330
+ * </ng-template>
11331
+ * <kendo-grid-column field="Field1"></kendo-grid-column>
11332
+ * </kendo-grid>
11376
11333
  *
11377
11334
  * ```
11378
11335
  */
@@ -19504,7 +19461,7 @@ class GridComponent {
19504
19461
  return this.selectionService.enableMarquee || this.cellSelectionService.enableMarquee;
19505
19462
  }
19506
19463
  /**
19507
- * Enables the [row reordering]({% slug ToDo %}) of the Grid.
19464
+ * Enables the [row reordering]({% slug reordering_rows_grid %}) of the Grid.
19508
19465
  * @default false
19509
19466
  */
19510
19467
  set rowReorderable(value) {
@@ -25931,29 +25888,19 @@ const declarations$2 = [
25931
25888
  *
25932
25889
  * @example
25933
25890
  *
25934
- * ```ts-no-run
25935
- * // Import the Grid module
25936
- * import { GridModule } from '@progress/kendo-angular-grid';
25937
- *
25938
- * // The browser platform with a compiler
25939
- * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
25940
- *
25891
+ * ```ts
25941
25892
  * import { NgModule } from '@angular/core';
25942
- *
25943
- * // Import the app component
25893
+ * import { GridModule } from '@progress/kendo-angular-grid';
25894
+ * import { BrowserModule } from "@angular/platform-browser";
25944
25895
  * import { AppComponent } from './app.component';
25945
25896
  *
25946
- * // Define the app module
25947
- * _@NgModule({
25948
- * declarations: [AppComponent], // declare app component
25949
- * imports: [BrowserModule, GridModule], // import Grid module
25897
+ * @NgModule({
25898
+ * declarations: [AppComponent],
25899
+ * imports: [BrowserModule, GridModule],
25950
25900
  * bootstrap: [AppComponent]
25951
25901
  * })
25952
25902
  * export class AppModule {}
25953
25903
  *
25954
- * // Compile and launch the module
25955
- * platformBrowserDynamic().bootstrapModule(AppModule);
25956
- *
25957
25904
  * ```
25958
25905
  */
25959
25906
  class GridModule {
@@ -26573,28 +26520,19 @@ const declarations$1 = [
26573
26520
  *
26574
26521
  * @example
26575
26522
  *
26576
- * ```ts-no-run
26577
- * // Import the Grid and PDF modules
26578
- * import { GridModule, PDFModule } from '@progress/kendo-angular-grid';
26579
- *
26580
- * // The browser platform with a compiler
26581
- * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
26582
- *
26523
+ * ```ts
26583
26524
  * import { NgModule } from '@angular/core';
26584
- *
26585
- * // Import the app component
26525
+ * import { BrowserModule } from "@angular/platform-browser";
26526
+ * import { GridModule, PDFModule } from '@progress/kendo-angular-grid';
26586
26527
  * import { AppComponent } from './app.component';
26587
26528
  *
26588
- * // Define the app module
26589
- * _@NgModule({
26590
- * declarations: [AppComponent], // declare app component
26591
- * imports: [BrowserModule, GridModule, PDFModule], // import Grid and PDF modules
26529
+ * @NgModule({
26530
+ * declarations: [AppComponent],
26531
+ * imports: [BrowserModule, GridModule, PDFModule],
26592
26532
  * bootstrap: [AppComponent]
26593
26533
  * })
26594
- * export class AppModule {}
26595
26534
  *
26596
- * // Compile and launch the module
26597
- * platformBrowserDynamic().bootstrapModule(AppModule);
26535
+ * export class AppModule {}
26598
26536
  *
26599
26537
  * ```
26600
26538
  */
@@ -26854,29 +26792,19 @@ const declarations = [ExcelComponent, ExcelCommandDirective];
26854
26792
  *
26855
26793
  * @example
26856
26794
  *
26857
- * ```ts-no-run
26858
- * // Import the Grid and Excel modules
26859
- * import { GridModule, ExcelModule } from '@progress/kendo-angular-grid';
26860
- *
26861
- * // The browser platform with a compiler
26862
- * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
26863
- *
26795
+ * ```ts
26864
26796
  * import { NgModule } from '@angular/core';
26865
- *
26866
- * // Import the app component
26797
+ * import { BrowserModule } from "@angular/platform-browser";
26798
+ * import { GridModule, ExcelModule } from '@progress/kendo-angular-grid';
26867
26799
  * import { AppComponent } from './app.component';
26868
26800
  *
26869
- * // Define the app module
26870
26801
  * _@NgModule({
26871
- * declarations: [AppComponent], // declare app component
26872
- * imports: [BrowserModule, GridModule, ExcelModule], // import Grid and Excel modules
26802
+ * declarations: [AppComponent],
26803
+ * imports: [BrowserModule, GridModule, ExcelModule],
26873
26804
  * bootstrap: [AppComponent]
26874
26805
  * })
26875
26806
  * export class AppModule {}
26876
26807
  *
26877
- * // Compile and launch the module
26878
- * platformBrowserDynamic().bootstrapModule(AppModule);
26879
- *
26880
26808
  * ```
26881
26809
  */
26882
26810
  class ExcelModule {