@progress/kendo-angular-grid 12.0.0-develop.9 → 12.0.1-develop.1

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 (172) hide show
  1. package/column-menu/column-chooser.component.d.ts +14 -19
  2. package/column-menu/column-menu-autosize-all.component.d.ts +12 -27
  3. package/column-menu/column-menu-autosize.component.d.ts +12 -26
  4. package/column-menu/column-menu-chooser.component.d.ts +11 -24
  5. package/column-menu/column-menu-expandable-item.interface.d.ts +0 -1
  6. package/column-menu/column-menu-filter.component.d.ts +12 -24
  7. package/column-menu/column-menu-item.component.d.ts +6 -21
  8. package/column-menu/column-menu-lock.component.d.ts +11 -25
  9. package/column-menu/column-menu-position.component.d.ts +12 -24
  10. package/column-menu/column-menu-settings.interface.d.ts +3 -24
  11. package/column-menu/column-menu-sort.component.d.ts +12 -25
  12. package/column-menu/column-menu-stick.component.d.ts +12 -24
  13. package/column-menu/column-menu.component.d.ts +9 -1
  14. package/column-menu/column-menu.service.d.ts +9 -21
  15. package/column-resizing/column-resize.interface.d.ts +1 -1
  16. package/columns/checkbox-column.component.d.ts +6 -57
  17. package/columns/column-base.d.ts +16 -369
  18. package/columns/column-group.component.d.ts +9 -48
  19. package/columns/column.component.d.ts +23 -109
  20. package/columns/command-column.component.d.ts +12 -60
  21. package/columns/reorder-column.component.d.ts +1 -1
  22. package/columns/sort-settings.d.ts +24 -12
  23. package/columns/span-column.component.d.ts +12 -123
  24. package/common/cell-click-event-args.interface.d.ts +1 -1
  25. package/common/fetch-data-callback.d.ts +1 -1
  26. package/common/preventable-event.d.ts +1 -1
  27. package/common/single-popup.service.d.ts +1 -1
  28. package/common/size-options.d.ts +1 -2
  29. package/data/change-event-args.interface.d.ts +2 -2
  30. package/data/data.collection.d.ts +1 -1
  31. package/data/grid-item.interface.d.ts +6 -3
  32. package/dragdrop/column-reorder-config.d.ts +1 -1
  33. package/editing/add-event-args.interface.d.ts +1 -1
  34. package/editing/cancel-event-args.interface.d.ts +1 -1
  35. package/editing/edit-event-args.interface.d.ts +1 -1
  36. package/editing/remove-event-args.interface.d.ts +1 -1
  37. package/editing/save-event-args.interface.d.ts +1 -1
  38. package/editing-directives/edit-service.interface.d.ts +1 -1
  39. package/esm2020/column-menu/column-chooser.component.mjs +14 -19
  40. package/esm2020/column-menu/column-menu-autosize-all.component.mjs +12 -27
  41. package/esm2020/column-menu/column-menu-autosize.component.mjs +12 -26
  42. package/esm2020/column-menu/column-menu-chooser.component.mjs +11 -24
  43. package/esm2020/column-menu/column-menu-filter.component.mjs +12 -24
  44. package/esm2020/column-menu/column-menu-item.component.mjs +6 -21
  45. package/esm2020/column-menu/column-menu-lock.component.mjs +11 -25
  46. package/esm2020/column-menu/column-menu-position.component.mjs +12 -24
  47. package/esm2020/column-menu/column-menu-sort.component.mjs +12 -25
  48. package/esm2020/column-menu/column-menu-stick.component.mjs +12 -24
  49. package/esm2020/column-menu/column-menu.component.mjs +9 -1
  50. package/esm2020/column-menu/column-menu.service.mjs +9 -21
  51. package/esm2020/columns/checkbox-column.component.mjs +6 -57
  52. package/esm2020/columns/column-base.mjs +7 -40
  53. package/esm2020/columns/column-group.component.mjs +9 -48
  54. package/esm2020/columns/column.component.mjs +22 -79
  55. package/esm2020/columns/command-column.component.mjs +12 -60
  56. package/esm2020/columns/reorder-column.component.mjs +1 -1
  57. package/esm2020/columns/span-column.component.mjs +12 -123
  58. package/esm2020/common/preventable-event.mjs +1 -1
  59. package/esm2020/common/single-popup.service.mjs +1 -1
  60. package/esm2020/excel/excel.module.mjs +5 -15
  61. package/esm2020/filtering/cell/boolean-filter-cell.component.mjs +11 -10
  62. package/esm2020/filtering/cell/date-filter-cell.component.mjs +26 -13
  63. package/esm2020/filtering/cell/filter-cell-operators.component.mjs +15 -0
  64. package/esm2020/filtering/cell/numeric-filter-cell.component.mjs +14 -11
  65. package/esm2020/filtering/cell/string-filter-cell.component.mjs +14 -15
  66. package/esm2020/filtering/date-filter.component.mjs +6 -2
  67. package/esm2020/filtering/menu/boolean-filter-menu.component.mjs +13 -13
  68. package/esm2020/filtering/menu/date-filter-menu.component.mjs +13 -13
  69. package/esm2020/filtering/menu/numeric-filter-menu.component.mjs +13 -13
  70. package/esm2020/filtering/menu/string-filter-menu.component.mjs +15 -2
  71. package/esm2020/filtering/numeric-filter.component.mjs +4 -1
  72. package/esm2020/filtering/operators/after-eq-filter-operator.component.mjs +3 -6
  73. package/esm2020/filtering/operators/after-filter-operator.component.mjs +3 -6
  74. package/esm2020/filtering/operators/before-eq-filter-operator.component.mjs +3 -6
  75. package/esm2020/filtering/operators/before-filter-operator.component.mjs +3 -6
  76. package/esm2020/filtering/operators/contains-filter-operator.component.mjs +2 -5
  77. package/esm2020/filtering/operators/ends-with-filter-operator.component.mjs +2 -4
  78. package/esm2020/filtering/operators/eq-filter-operator.component.mjs +2 -4
  79. package/esm2020/filtering/operators/gt-filter-operator.component.mjs +3 -6
  80. package/esm2020/filtering/operators/gte-filter-operator.component.mjs +2 -5
  81. package/esm2020/filtering/operators/is-empty-filter-operator.component.mjs +2 -4
  82. package/esm2020/filtering/operators/is-not-empty-filter-operator.component.mjs +2 -4
  83. package/esm2020/filtering/operators/is-not-null-filter-operator.component.mjs +2 -4
  84. package/esm2020/filtering/operators/isnull-filter-operator.component.mjs +2 -4
  85. package/esm2020/filtering/operators/lt-filter-operator.component.mjs +3 -5
  86. package/esm2020/filtering/operators/lte-filter-operator.component.mjs +3 -5
  87. package/esm2020/filtering/operators/neq-filter-operator.component.mjs +2 -4
  88. package/esm2020/filtering/operators/not-contains-filter-operator.component.mjs +2 -4
  89. package/esm2020/filtering/operators/starts-with-filter-operator.component.mjs +2 -4
  90. package/esm2020/filtering/string-filter.component.mjs +2 -1
  91. package/esm2020/grid.component.mjs +39 -325
  92. package/esm2020/grid.module.mjs +6 -16
  93. package/esm2020/layout/sizing-options.service.mjs +3 -0
  94. package/esm2020/localization/custom-messages.component.mjs +1 -1
  95. package/esm2020/package-metadata.mjs +2 -2
  96. package/esm2020/pager/pager-info.component.mjs +1 -1
  97. package/esm2020/pager/pager-input.component.mjs +1 -48
  98. package/esm2020/pager/pager-next-buttons.component.mjs +1 -1
  99. package/esm2020/pager/pager-numeric-buttons.component.mjs +1 -1
  100. package/esm2020/pager/pager-page-sizes.component.mjs +3 -92
  101. package/esm2020/pager/pager-prev-buttons.component.mjs +1 -1
  102. package/esm2020/pdf/pdf-margin.component.mjs +9 -0
  103. package/esm2020/pdf/pdf.module.mjs +7 -16
  104. package/esm2020/rendering/common/spacer.component.mjs +2 -1
  105. package/esm2020/rendering/toolbar/toolbar-position.mjs +17 -0
  106. package/esm2020/row-reordering/row-reorder.service.mjs +2 -1
  107. package/excel/excel.component.d.ts +2 -7
  108. package/excel/excel.module.d.ts +5 -15
  109. package/fesm2015/progress-kendo-angular-grid.mjs +476 -1372
  110. package/fesm2020/progress-kendo-angular-grid.mjs +476 -1372
  111. package/filtering/cell/boolean-filter-cell.component.d.ts +11 -10
  112. package/filtering/cell/date-filter-cell.component.d.ts +26 -13
  113. package/filtering/cell/filter-cell-operators.component.d.ts +15 -0
  114. package/filtering/cell/numeric-filter-cell.component.d.ts +14 -11
  115. package/filtering/cell/string-filter-cell.component.d.ts +14 -15
  116. package/filtering/date-filter.component.d.ts +8 -12
  117. package/filtering/filterable.d.ts +10 -0
  118. package/filtering/menu/boolean-filter-menu.component.d.ts +13 -13
  119. package/filtering/menu/date-filter-menu.component.d.ts +13 -13
  120. package/filtering/menu/numeric-filter-menu.component.d.ts +13 -13
  121. package/filtering/menu/string-filter-menu.component.d.ts +15 -2
  122. package/filtering/numeric-filter.component.d.ts +4 -1
  123. package/filtering/operators/after-eq-filter-operator.component.d.ts +4 -0
  124. package/filtering/operators/after-filter-operator.component.d.ts +4 -0
  125. package/filtering/operators/before-eq-filter-operator.component.d.ts +4 -0
  126. package/filtering/operators/before-filter-operator.component.d.ts +4 -0
  127. package/filtering/operators/contains-filter-operator.component.d.ts +2 -5
  128. package/filtering/operators/ends-with-filter-operator.component.d.ts +2 -4
  129. package/filtering/operators/eq-filter-operator.component.d.ts +2 -4
  130. package/filtering/operators/gt-filter-operator.component.d.ts +4 -0
  131. package/filtering/operators/gte-filter-operator.component.d.ts +2 -5
  132. package/filtering/operators/is-empty-filter-operator.component.d.ts +2 -4
  133. package/filtering/operators/is-not-empty-filter-operator.component.d.ts +2 -4
  134. package/filtering/operators/is-not-null-filter-operator.component.d.ts +2 -4
  135. package/filtering/operators/isnull-filter-operator.component.d.ts +2 -4
  136. package/filtering/operators/lt-filter-operator.component.d.ts +5 -0
  137. package/filtering/operators/lte-filter-operator.component.d.ts +5 -0
  138. package/filtering/operators/neq-filter-operator.component.d.ts +2 -4
  139. package/filtering/operators/not-contains-filter-operator.component.d.ts +2 -4
  140. package/filtering/operators/starts-with-filter-operator.component.d.ts +2 -4
  141. package/filtering/string-filter.component.d.ts +2 -1
  142. package/grid.component.d.ts +43 -327
  143. package/grid.module.d.ts +6 -16
  144. package/grouping/group-key.interface.d.ts +1 -13
  145. package/grouping/group-rows-args.interface.d.ts +1 -1
  146. package/layout/sizing-options.service.d.ts +3 -0
  147. package/localization/custom-messages.component.d.ts +1 -1
  148. package/localization/messages.d.ts +35 -98
  149. package/navigation/navigable-settings.d.ts +15 -1
  150. package/navigation/navigation-cell.interface.d.ts +2 -5
  151. package/navigation/navigation-row.interface.d.ts +2 -5
  152. package/package.json +19 -19
  153. package/pager/pager-info.component.d.ts +1 -1
  154. package/pager/pager-input.component.d.ts +1 -48
  155. package/pager/pager-next-buttons.component.d.ts +1 -1
  156. package/pager/pager-numeric-buttons.component.d.ts +1 -1
  157. package/pager/pager-page-sizes.component.d.ts +3 -92
  158. package/pager/pager-prev-buttons.component.d.ts +1 -1
  159. package/pager/pager-settings.d.ts +9 -38
  160. package/pdf/pdf-margin.component.d.ts +9 -0
  161. package/pdf/pdf-margin.interface.d.ts +0 -5
  162. package/pdf/pdf.module.d.ts +7 -16
  163. package/rendering/common/row-class.d.ts +4 -4
  164. package/rendering/common/spacer.component.d.ts +2 -1
  165. package/rendering/toolbar/toolbar-position.d.ts +18 -1
  166. package/row-reordering/row-reorder.service.d.ts +1 -0
  167. package/row-reordering/types.d.ts +1 -1
  168. package/schematics/ngAdd/index.js +2 -2
  169. package/scrolling/content-scroll-event.d.ts +1 -1
  170. package/scrolling/scroll-request.service.d.ts +2 -1
  171. package/scrolling/scrollmode.d.ts +4 -4
  172. package/selection/types.d.ts +31 -48
@@ -4,6 +4,15 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { PDFExportMarginComponent } from '@progress/kendo-angular-pdf-export';
6
6
  import * as i0 from "@angular/core";
7
+ /**
8
+ * Represents the Kendo UI PDFMargin component for Angular.
9
+ * The supported units are:
10
+ * `"mm"`
11
+ * `"cm"`
12
+ * `"in"`
13
+ * `"pt"` (default).
14
+ * Numbers are considered to be points (`"pt"`).
15
+ */
7
16
  export declare class PDFMarginComponent extends PDFExportMarginComponent {
8
17
  static ɵfac: i0.ɵɵFactoryDeclaration<PDFMarginComponent, never>;
9
18
  static ɵcmp: i0.ɵɵComponentDeclaration<PDFMarginComponent, "kendo-grid-pdf-margin", never, {}, {}, never, never>;
@@ -6,11 +6,6 @@ import { pdf } from '@progress/kendo-drawing';
6
6
  /**
7
7
  * Specifies the margins of the page (numbers or strings with units).
8
8
  *
9
- * The supported units are:
10
- * * `"mm"`
11
- * * `"cm"`
12
- * * `"in"`
13
- * * `"pt"` (default)
14
9
  */
15
10
  export interface PDFMargin extends pdf.PageMargin {
16
11
  }
@@ -14,28 +14,19 @@ import * as i5 from "@progress/kendo-angular-icons";
14
14
  *
15
15
  * @example
16
16
  *
17
- * ```ts-no-run
18
- * // Import the Grid and PDF modules
19
- * import { GridModule, PDFModule } from '@progress/kendo-angular-grid';
20
- *
21
- * // The browser platform with a compiler
22
- * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
23
- *
17
+ * ```ts
24
18
  * import { NgModule } from '@angular/core';
25
- *
26
- * // Import the app component
19
+ * import { BrowserModule } from "@angular/platform-browser";
20
+ * import { GridModule, PDFModule } from '@progress/kendo-angular-grid';
27
21
  * import { AppComponent } from './app.component';
28
22
  *
29
- * // Define the app module
30
- * _@NgModule({
31
- * declarations: [AppComponent], // declare app component
32
- * imports: [BrowserModule, GridModule, PDFModule], // import Grid and PDF modules
23
+ * @NgModule({
24
+ * declarations: [AppComponent],
25
+ * imports: [BrowserModule, GridModule, PDFModule],
33
26
  * bootstrap: [AppComponent]
34
27
  * })
35
- * export class AppModule {}
36
28
  *
37
- * // Compile and launch the module
38
- * platformBrowserDynamic().bootstrapModule(AppModule);
29
+ * export class AppModule {}
39
30
  *
40
31
  * ```
41
32
  */
@@ -11,9 +11,9 @@ export interface RowClassArgs extends RowArgs {
11
11
  }
12
12
  /**
13
13
  * Represents the callback that is used by the
14
- * [rowClass]({% slug api_grid_gridcomponent %}#toc-rowClass) property.
14
+ * [rowClass]({% slug api_grid_gridcomponent %}#toc-rowclass) property.
15
15
  *
16
- * ```ts-no-run
16
+ * ```ts
17
17
  * rowCallback({ dataItem, index }) {
18
18
  * const isEven = index % 2 === 0;
19
19
  * return {
@@ -31,7 +31,7 @@ export declare type RowClassFn = (context: RowClassArgs) => string | string[] |
31
31
  * Represents the callback that is used by the
32
32
  * [rowSelected]({% slug api_grid_gridcomponent %}#toc-rowselected) property.
33
33
  *
34
- * ```ts-no-run
34
+ * ```ts
35
35
  * rowCallback({ dataItem, index }) {
36
36
  * return index % 2 === 0;
37
37
  * }
@@ -41,7 +41,7 @@ export declare type RowSelectedFn = (context: RowArgs) => boolean;
41
41
  /**
42
42
  * Represents the callback that is used to determine whether a given data row will be sticky.
43
43
  *
44
- * ```ts-no-run
44
+ * ```ts
45
45
  * rowStickyCallback({ dataItem, index }) {
46
46
  * return index % 2 === 0;
47
47
  * }
@@ -7,7 +7,8 @@ import * as i0 from "@angular/core";
7
7
  * Represents the Kendo UI GridSpacer component for Angular.
8
8
  * Used to give additional white space between the Pager inner elements,
9
9
  * and provides a way for customizing the spacer width.
10
- * It can also be used in any flex container within the Grid.
10
+ * It can also be used in any flex container within the Grid
11
+ * ([see example](slug:toolbartemplate_grid#toc-defining-the-spacing-between-toolbar-elements)).
11
12
  */
12
13
  export declare class GridSpacerComponent {
13
14
  hostClass: boolean;
@@ -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
- export declare type ToolbarPosition = 'top' | 'bottom';
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
+ */
22
+ export declare type ToolbarPosition = 'top' | 'bottom' | 'both';
@@ -25,6 +25,7 @@ export declare class RowReorderService {
25
25
  private lastDropPosition;
26
26
  private dragTarget;
27
27
  private dropTarget;
28
+ private offsetY;
28
29
  rowReorder: EventEmitter<RowReorderEvent>;
29
30
  constructor(renderer: Renderer2);
30
31
  press(ev: DragTargetPressEvent): void;
@@ -4,7 +4,7 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /**
6
6
  * The returned type of the `rowReorder` event
7
- * ([see example](ToDo).
7
+ * ([see example](slug:reordering_rows_grid)).
8
8
  */
9
9
  export interface RowReorderEvent {
10
10
  /**
@@ -4,9 +4,9 @@ const schematics_1 = require("@angular-devkit/schematics");
4
4
  function default_1(options) {
5
5
  const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'GridModule', package: 'grid', peerDependencies: {
6
6
  // peer dep of the dropdowns
7
- '@progress/kendo-angular-treeview': '12.0.0-develop.9',
7
+ '@progress/kendo-angular-treeview': '12.0.1-develop.1',
8
8
  // peer dependency of kendo-angular-inputs
9
- '@progress/kendo-angular-dialog': '12.0.0-develop.9',
9
+ '@progress/kendo-angular-dialog': '12.0.1-develop.1',
10
10
  // peer dependency of kendo-angular-icons
11
11
  '@progress/kendo-svg-icons': '^1.0.0'
12
12
  } });
@@ -3,7 +3,7 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /**
6
- * Arguments for the `contentScroll` event.
6
+ * Arguments for the [`contentScroll`](slig:api_grid_gridcomponent#toc-contentscroll) event.
7
7
  */
8
8
  export interface ContentScrollEvent {
9
9
  /**
@@ -5,7 +5,8 @@
5
5
  import { Subject } from 'rxjs';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
- * Arguments for the scrollTo method. Specifies to which row / column should the grid scroll to.
8
+ * Arguments for the `scrollTo` method. Specifies to which row or column should the Grid scroll to.
9
+ * [See example](slug:scrollmmodes_grid#toc-scrolling-to-a-specific-row-and-column-index).
9
10
  */
10
11
  export interface ScrollRequest {
11
12
  row?: number;
@@ -6,12 +6,12 @@
6
6
  * The scroll mode of the Grid.
7
7
  *
8
8
  * The available values are:
9
- * - `none`
10
- * - `scrollable`
11
- * - `virtual`
9
+ * * `none`&mdash;Scrollbars are hidden. The Grid cannot be scrolled.
10
+ * * `scrollable`&mdash;Displays scrollbars in Grid.
11
+ * * `virtual`&mdash;Enables the [virtual scroll mode](slug:virtualscrolling_grid) of the Grid.
12
12
  *
13
13
  * @example
14
- * ```html-no-run
14
+ * ```html
15
15
  * <kendo-grid scrollable="scrollable"></kendo-grid>
16
16
  * ```
17
17
  */
@@ -6,15 +6,14 @@ import { ColumnComponent } from './../columns/column.component';
6
6
  import { RowArgs } from './../rendering/common/row-args';
7
7
  /**
8
8
  * Represents the callback that is used by the
9
- * [cellSelected]({% slug api_grid_gridcomponent %}#toc-cellselected) property.
9
+ * [cellSelected]({% slug api_grid_gridcomponent %}#toc-cellselected) property ([see example](slug:grid_selection_custom#toc-setting-the-selected-cells)).
10
10
  */
11
11
  export declare type CellSelectedFn = (row: RowArgs, column: ColumnComponent, colIndex: number) => {
12
12
  selected: boolean;
13
13
  item: CellSelectionItem;
14
14
  };
15
15
  /**
16
- * The returned type of the `selection` event
17
- * ([see example]({% slug selection_grid %}#toc-in-combination-with-the-select-all-feature)).
16
+ * Arguments for the Grid [`selectionChange`](slug:api_grid_gridcomponent#toc-selectionchange) event.
18
17
  */
19
18
  export interface SelectionEvent {
20
19
  /**
@@ -46,48 +45,17 @@ export interface SelectionEvent {
46
45
  * The settings for the selection functionality of the Grid ([more information and example]({% slug selection_grid %}#toc-setup)).
47
46
  *
48
47
  * @example
49
- * ```ts-preview
50
- *
51
- * _@Component({
52
- * selector: 'my-app',
53
- * template: `
54
- * <kendo-grid [data]="gridData" [selectable]="{ checkboxOnly: true, mode: 'multiple' }">
55
- * <kendo-grid-column field="ProductID" title="Product ID">
56
- * </kendo-grid-column>
57
- * <kendo-grid-column field="ProductName" title="Product Name">
58
- * </kendo-grid-column>
59
- * </kendo-grid>
60
- * `
61
- * })
62
- *
63
- * class AppComponent {
64
- * public gridData: any[];
65
- *
66
- * constructor() {
67
- * this.gridData = products;
68
- * }
69
- * }
70
- *
71
- * const products = [{
72
- * "ProductID": 1,
73
- * "ProductName": "Chai",
74
- * "UnitPrice": 18.0000,
75
- * "Discontinued": true
76
- * }, {
77
- * "ProductID": 2,
78
- * "ProductName": "Chang",
79
- * "UnitPrice": 19.0000,
80
- * "Discontinued": false
81
- * }
82
- * ];
83
- *
48
+ * ```html
49
+ * <kendo-grid [data]="gridData" [selectable]="{ checkboxOnly: true, mode: 'multiple' }">
50
+ * <kendo-grid-column field="ProductID"> </kendo-grid-column>
51
+ * <kendo-grid-column field="ProductName"> </kendo-grid-column>
52
+ * </kendo-grid>
84
53
  * ```
85
54
  */
86
55
  export interface SelectableSettings {
87
56
  /**
88
57
  * Determines if selection is allowed.
89
58
  *
90
- * @default true
91
59
  */
92
60
  enabled?: boolean;
93
61
  /**
@@ -95,36 +63,51 @@ export interface SelectableSettings {
95
63
  * If enabled, clicking the row itself will not select the row.
96
64
  * Applicable if at least one checkbox column is present.
97
65
  *
98
- * @default true
99
66
  */
100
67
  checkboxOnly?: boolean;
101
68
  /**
102
- * The available values are:
103
- * * `single`
104
- * * `multiple`
105
- *
106
- * @default "multiple"
69
+ * Determines the selectable mode.
107
70
  */
108
71
  mode?: SelectableMode;
109
72
  /**
110
73
  * Determines if cell selection is allowed.
111
74
  *
112
- * @default false
113
75
  */
114
76
  cell?: boolean;
115
77
  /**
116
78
  * Determines if drag selection is allowed.
117
79
  *
118
- * @default false
119
80
  */
120
81
  drag?: boolean;
121
82
  }
122
83
  /**
123
- * Represents the available selection modes.
84
+ * Represents the available selection modes. [See example](slug:grid_row_selection).
85
+ *
86
+ * The available values are:
87
+ * * `single`&mdash;Enables single selection. If you click the selected row, it will not be deselected. [See example](slug:grid_row_selection#toc-single-row-selection).
88
+ * * `multiple`&mdash;Enables multiple selection. [See example](slug:grid_row_selection#toc-multiple-rows-selection).
89
+ *
90
+ * @example
91
+ * ```html
92
+ * <kendo-grid [selectable]="{mode: 'multiple'}"></kendo-grid>
93
+ * ```
124
94
  */
125
95
  export declare type SelectableMode = "single" | "multiple";
126
96
  /**
127
97
  * Represents the possible states of the select-all checkbox.
98
+ *
99
+ * @example
100
+ * ```html
101
+ * <kendo-grid-column>
102
+ * <ng-template kendoGridHeaderTemplate>
103
+ * <input
104
+ * kendoGridSelectAllCheckbox
105
+ * state="indeterminate"
106
+ * ...
107
+ * />
108
+ * </ng-template>
109
+ * <kendo-grid-column>
110
+ * ```
128
111
  */
129
112
  export declare type SelectAllCheckboxState = "checked" | "unchecked" | "indeterminate";
130
113
  /**