@syncfusion/ej2-grids 18.3.44 → 18.3.50-85492

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 (183) hide show
  1. package/CHANGELOG.md +1800 -1751
  2. package/README.md +81 -81
  3. package/dist/ej2-grids.umd.min.js +1 -10
  4. package/dist/ej2-grids.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-grids.es2015.js +171 -105
  6. package/dist/es6/ej2-grids.es2015.js.map +1 -1
  7. package/dist/es6/ej2-grids.es5.js +726 -658
  8. package/dist/es6/ej2-grids.es5.js.map +1 -1
  9. package/helpers/e2e/index.js +3 -3
  10. package/license +10 -10
  11. package/package.json +81 -81
  12. package/src/grid/actions/batch-edit.js +2 -2
  13. package/src/grid/actions/dialog-edit.js +13 -13
  14. package/src/grid/actions/edit.js +4 -4
  15. package/src/grid/actions/excel-export.js +11 -2
  16. package/src/grid/actions/excel-filter.js +13 -13
  17. package/src/grid/actions/foreign-key.js +13 -13
  18. package/src/grid/actions/group.js +1 -1
  19. package/src/grid/actions/infinite-scroll.d.ts +1 -0
  20. package/src/grid/actions/infinite-scroll.js +1 -0
  21. package/src/grid/actions/inline-edit.js +13 -13
  22. package/src/grid/actions/normal-edit.js +3 -3
  23. package/src/grid/actions/page.js +6 -2
  24. package/src/grid/actions/pdf-export.js +12 -3
  25. package/src/grid/actions/print.js +4 -4
  26. package/src/grid/actions/resize.js +4 -1
  27. package/src/grid/actions/row-reorder.js +2 -2
  28. package/src/grid/actions/selection.js +23 -21
  29. package/src/grid/actions/toolbar.js +8 -8
  30. package/src/grid/base/constant.d.ts +2 -0
  31. package/src/grid/base/constant.js +2 -0
  32. package/src/grid/base/grid-model.d.ts +1283 -1284
  33. package/src/grid/base/grid.d.ts +49 -50
  34. package/src/grid/base/grid.js +34 -25
  35. package/src/grid/base/interface.d.ts +13 -0
  36. package/src/grid/base/util.js +3 -3
  37. package/src/grid/common/excel-filter-base.js +13 -13
  38. package/src/grid/models/aggregate-model.d.ts +74 -74
  39. package/src/grid/models/aggregate.js +19 -19
  40. package/src/grid/models/column-chooser-settings-model.d.ts +8 -8
  41. package/src/grid/models/column-chooser-settings.js +19 -19
  42. package/src/grid/models/column-model.d.ts +11 -11
  43. package/src/grid/models/column.d.ts +5 -5
  44. package/src/grid/models/column.js +6 -6
  45. package/src/grid/models/page-settings-model.d.ts +36 -36
  46. package/src/grid/models/page-settings.js +19 -19
  47. package/src/grid/renderer/caption-cell-renderer.js +16 -13
  48. package/src/grid/renderer/command-column-renderer.js +13 -13
  49. package/src/grid/renderer/content-renderer.js +16 -1
  50. package/src/grid/renderer/detail-expand-cell-renderer.js +13 -13
  51. package/src/grid/renderer/detail-header-indent-renderer.js +13 -13
  52. package/src/grid/renderer/dialog-edit-renderer.js +2 -1
  53. package/src/grid/renderer/dropdown-edit-cell.js +2 -2
  54. package/src/grid/renderer/edit-renderer.js +2 -2
  55. package/src/grid/renderer/expand-cell-renderer.js +13 -13
  56. package/src/grid/renderer/filter-cell-renderer.js +13 -13
  57. package/src/grid/renderer/footer-renderer.js +13 -13
  58. package/src/grid/renderer/freeze-renderer.js +13 -13
  59. package/src/grid/renderer/group-lazy-load-renderer.js +13 -13
  60. package/src/grid/renderer/header-cell-renderer.js +13 -13
  61. package/src/grid/renderer/header-indent-renderer.js +13 -13
  62. package/src/grid/renderer/indent-cell-renderer.js +13 -13
  63. package/src/grid/renderer/render.js +1 -1
  64. package/src/grid/renderer/row-drag-drop-renderer.js +13 -13
  65. package/src/grid/renderer/row-drag-header-indent-render.js +13 -13
  66. package/src/grid/renderer/stacked-cell-renderer.js +13 -13
  67. package/src/grid/renderer/summary-cell-renderer.js +13 -13
  68. package/src/grid/renderer/virtual-content-renderer.js +13 -13
  69. package/src/grid/renderer/virtual-freeze-renderer.js +13 -13
  70. package/src/grid/services/focus-strategy.d.ts +2 -1
  71. package/src/grid/services/focus-strategy.js +26 -16
  72. package/src/grid/services/group-model-generator.js +13 -13
  73. package/src/grid/services/row-model-generator.js +1 -1
  74. package/src/grid/services/summary-model-generator.js +13 -13
  75. package/src/pager/pager-dropdown.js +1 -1
  76. package/src/pager/pager-message.js +1 -1
  77. package/src/pager/pager-model.d.ts +59 -59
  78. package/src/pager/pager.js +19 -19
  79. package/styles/bootstrap-dark.css +0 -4
  80. package/styles/bootstrap.css +0 -4
  81. package/styles/bootstrap4.css +5 -4
  82. package/styles/bootstrap5-dark.css +0 -0
  83. package/styles/bootstrap5-dark.scss +0 -0
  84. package/styles/bootstrap5.css +0 -0
  85. package/styles/bootstrap5.scss +0 -0
  86. package/styles/excel-filter/_all.scss +2 -2
  87. package/styles/excel-filter/_bootstrap-dark-definition.scss +54 -54
  88. package/styles/excel-filter/_bootstrap-definition.scss +61 -61
  89. package/styles/excel-filter/_bootstrap4-definition.scss +70 -70
  90. package/styles/excel-filter/_fabric-dark-definition.scss +54 -54
  91. package/styles/excel-filter/_fabric-definition.scss +59 -59
  92. package/styles/excel-filter/_highcontrast-definition.scss +54 -54
  93. package/styles/excel-filter/_highcontrast-light-definition.scss +50 -50
  94. package/styles/excel-filter/_layout.scss +387 -387
  95. package/styles/excel-filter/_material-dark-definition.scss +56 -56
  96. package/styles/excel-filter/_material-definition.scss +57 -57
  97. package/styles/excel-filter/_office-365-definition.scss +1 -1
  98. package/styles/excel-filter/_theme.scss +18 -18
  99. package/styles/excel-filter/bootstrap-dark.css +0 -1
  100. package/styles/excel-filter/bootstrap.css +0 -1
  101. package/styles/excel-filter/bootstrap.scss +1 -0
  102. package/styles/excel-filter/bootstrap4.css +5 -1
  103. package/styles/excel-filter/fabric.scss +1 -0
  104. package/styles/excel-filter/highcontrast.scss +1 -0
  105. package/styles/excel-filter/icons/_bootstrap-dark.scss +29 -29
  106. package/styles/excel-filter/icons/_bootstrap.scss +29 -29
  107. package/styles/excel-filter/icons/_bootstrap4.scss +29 -29
  108. package/styles/excel-filter/icons/_fabric-dark.scss +29 -29
  109. package/styles/excel-filter/icons/_fabric.scss +29 -29
  110. package/styles/excel-filter/icons/_highcontrast-light.scss +29 -29
  111. package/styles/excel-filter/icons/_highcontrast.scss +29 -29
  112. package/styles/excel-filter/icons/_material-dark.scss +29 -29
  113. package/styles/excel-filter/icons/_material.scss +29 -29
  114. package/styles/excel-filter/material.scss +1 -0
  115. package/styles/fabric-dark.css +0 -3
  116. package/styles/fabric.css +0 -3
  117. package/styles/grid/_all.scss +2 -2
  118. package/styles/grid/_bootstrap-dark-definition.scss +497 -497
  119. package/styles/grid/_bootstrap-definition.scss +500 -500
  120. package/styles/grid/_bootstrap4-definition.scss +501 -502
  121. package/styles/grid/_fabric-dark-definition.scss +499 -499
  122. package/styles/grid/_fabric-definition.scss +499 -499
  123. package/styles/grid/_highcontrast-definition.scss +498 -498
  124. package/styles/grid/_highcontrast-light-definition.scss +495 -495
  125. package/styles/grid/_layout.scss +2908 -2908
  126. package/styles/grid/_material-dark-definition.scss +495 -495
  127. package/styles/grid/_material-definition.scss +495 -495
  128. package/styles/grid/_office-365-definition.scss +1 -1
  129. package/styles/grid/_theme.scss +529 -529
  130. package/styles/grid/bootstrap-dark.css +0 -4
  131. package/styles/grid/bootstrap.css +0 -4
  132. package/styles/grid/bootstrap.scss +1 -0
  133. package/styles/grid/bootstrap4.css +5 -4
  134. package/styles/grid/fabric-dark.css +0 -3
  135. package/styles/grid/fabric.css +0 -3
  136. package/styles/grid/fabric.scss +1 -0
  137. package/styles/grid/highcontrast-light.css +0 -3
  138. package/styles/grid/highcontrast.css +0 -3
  139. package/styles/grid/highcontrast.scss +1 -0
  140. package/styles/grid/icons/_bootstrap-dark.scss +180 -180
  141. package/styles/grid/icons/_bootstrap.scss +180 -180
  142. package/styles/grid/icons/_bootstrap4.scss +180 -180
  143. package/styles/grid/icons/_fabric-dark.scss +180 -180
  144. package/styles/grid/icons/_fabric.scss +180 -180
  145. package/styles/grid/icons/_highcontrast-light.scss +180 -180
  146. package/styles/grid/icons/_highcontrast.scss +181 -181
  147. package/styles/grid/icons/_material-dark.scss +180 -180
  148. package/styles/grid/icons/_material.scss +180 -180
  149. package/styles/grid/material-dark.css +0 -3
  150. package/styles/grid/material.css +0 -3
  151. package/styles/grid/material.scss +1 -0
  152. package/styles/highcontrast-light.css +0 -3
  153. package/styles/highcontrast.css +0 -3
  154. package/styles/material-dark.css +0 -3
  155. package/styles/material.css +0 -3
  156. package/styles/pager/_all.scss +2 -2
  157. package/styles/pager/_bootstrap-dark-definition.scss +112 -112
  158. package/styles/pager/_bootstrap-definition.scss +112 -112
  159. package/styles/pager/_bootstrap4-definition.scss +111 -112
  160. package/styles/pager/_fabric-dark-definition.scss +113 -113
  161. package/styles/pager/_fabric-definition.scss +112 -112
  162. package/styles/pager/_highcontrast-definition.scss +112 -112
  163. package/styles/pager/_highcontrast-light-definition.scss +112 -112
  164. package/styles/pager/_layout.scss +575 -575
  165. package/styles/pager/_material-dark-definition.scss +112 -112
  166. package/styles/pager/_material-definition.scss +111 -111
  167. package/styles/pager/_theme.scss +129 -129
  168. package/styles/pager/icons/_bootstrap-dark.scss +49 -49
  169. package/styles/pager/icons/_bootstrap.scss +49 -49
  170. package/styles/pager/icons/_bootstrap4.scss +49 -49
  171. package/styles/pager/icons/_fabric-dark.scss +49 -49
  172. package/styles/pager/icons/_fabric.scss +49 -49
  173. package/styles/pager/icons/_highcontrast-light.scss +49 -49
  174. package/styles/pager/icons/_highcontrast.scss +41 -41
  175. package/styles/pager/icons/_material-dark.scss +49 -49
  176. package/styles/pager/icons/_material.scss +41 -41
  177. package/styles/tailwind-dark.css +0 -0
  178. package/styles/tailwind-dark.scss +0 -0
  179. package/styles/tailwind.css +0 -0
  180. package/styles/tailwind.scss +0 -0
  181. package/dist/global/ej2-grids.min.js +0 -11
  182. package/dist/global/ej2-grids.min.js.map +0 -1
  183. package/dist/global/index.d.ts +0 -14
@@ -506,7 +506,7 @@ export declare class GroupSettings extends ChildProperty<GroupSettings> {
506
506
  /**
507
507
  * The Caption Template allows user to display the string or HTML element in group caption.
508
508
  * > It accepts either the
509
- * [template string](http://ej2.syncfusion.com/documentation/common/template-engine/) or the HTML element ID.
509
+ * [template string](https://ej2.syncfusion.com/documentation/common/template-engine/) or the HTML element ID.
510
510
  * @default ''
511
511
  */
512
512
  captionTemplate: string;
@@ -669,7 +669,7 @@ export declare class Grid extends Component<HTMLElement> implements INotifyPrope
669
669
  /** @hidden */
670
670
  /**
671
671
  * Gets the parent Grid details.
672
-
672
+ * @deprecated
673
673
  */
674
674
  parentDetails: ParentDetails;
675
675
  /** @hidden */
@@ -871,7 +871,6 @@ export declare class Grid extends Component<HTMLElement> implements INotifyPrope
871
871
  enableAutoFill: boolean;
872
872
  /**
873
873
  * Enables or disables the key board interaction of Grid.
874
- * @hidden
875
874
  * @default true
876
875
  */
877
876
  allowKeyboard: boolean;
@@ -926,7 +925,7 @@ export declare class Grid extends Component<HTMLElement> implements INotifyPrope
926
925
  * This helps to load large dataset in Grid.
927
926
  * {% codeBlock src='grid/enableInfiniteScrolling/index.md' %}{% endcodeBlock %}
928
927
  * @default false
929
-
928
+ * @deprecated
930
929
  */
931
930
  enableInfiniteScrolling: boolean;
932
931
  /**
@@ -986,7 +985,7 @@ export declare class Grid extends Component<HTMLElement> implements INotifyPrope
986
985
  * Configures the infinite scroll settings.
987
986
  * {% codeBlock src='grid/infiniteScrollSettings/index.md' %}{% endcodeBlock %}
988
987
  * @default { enableCache: false, maxBlocks: 5, initialBlocks: 5 }
989
-
988
+ * @deprecated
990
989
  */
991
990
  infiniteScrollSettings: InfiniteScrollSettingsModel;
992
991
  /**
@@ -1139,7 +1138,7 @@ export declare class Grid extends Component<HTMLElement> implements INotifyPrope
1139
1138
  * > * It accepts either [template string](../../common/template-engine/) or HTML element ID.
1140
1139
  * > * The row template must be a table row.
1141
1140
  *
1142
- * > Check the [`Row Template`](grid/row/) customization.
1141
+ * > Check the [`Row Template`](../../grid/row/) customization.
1143
1142
  */
1144
1143
  rowTemplate: string;
1145
1144
  /**
@@ -1152,7 +1151,7 @@ export declare class Grid extends Component<HTMLElement> implements INotifyPrope
1152
1151
  detailTemplate: string;
1153
1152
  /**
1154
1153
  * Defines Grid options to render child Grid.
1155
- * It requires the [`queryString`](grid/#querystring-string) for parent
1154
+ * It requires the [`queryString`](/#querystring) for parent
1156
1155
  * and child relationship.
1157
1156
  *
1158
1157
  * > Check the [`Child Grid`](../../grid/hierarchy-grid/) for its configuration.
@@ -1182,9 +1181,9 @@ export declare class Grid extends Component<HTMLElement> implements INotifyPrope
1182
1181
  /**
1183
1182
  * It is used to render grid table rows.
1184
1183
  * If the `dataSource` is an array of JavaScript objects,
1185
- * then Grid will create instance of [`DataManager`](https://ej2.syncfusion.com/documentation/data/api-dataManager.html)
1184
+ * then Grid will create instance of [`DataManager`](https://ej2.syncfusion.com/documentation/api/data/dataManager/)
1186
1185
  * from this `dataSource`.
1187
- * If the `dataSource` is an existing [`DataManager`](https://ej2.syncfusion.com/documentation/data/api-dataManager.html),
1186
+ * If the `dataSource` is an existing [`DataManager`](https://ej2.syncfusion.com/documentation/api/data/dataManager/),
1188
1187
  * the Grid will not initialize a new one.
1189
1188
  *
1190
1189
  * > Check the available [`Adaptors`](../../data/adaptors/) to customize the data operation.
@@ -1426,99 +1425,99 @@ export declare class Grid extends Component<HTMLElement> implements INotifyPrope
1426
1425
  /**
1427
1426
  * Triggers before the selected cell is deselecting.
1428
1427
  * @event
1429
-
1428
+ * @deprecated
1430
1429
  */
1431
1430
  cellDeselecting: EmitType<CellDeselectEventArgs>;
1432
1431
  /**
1433
1432
  * Triggers when a particular selected cell is deselected.
1434
1433
  * @event
1435
-
1434
+ * @deprecated
1436
1435
  */
1437
1436
  cellDeselected: EmitType<CellDeselectEventArgs>;
1438
1437
  /**
1439
1438
  * Triggers when column header element drag (move) starts.
1440
1439
  * @event
1441
-
1440
+ * @deprecated
1442
1441
  */
1443
1442
  columnDragStart: EmitType<ColumnDragEventArgs>;
1444
1443
  /**
1445
1444
  * Triggers when column header element is dragged (moved) continuously.
1446
1445
  * @event
1447
-
1446
+ * @deprecated
1448
1447
  */
1449
1448
  columnDrag: EmitType<ColumnDragEventArgs>;
1450
1449
  /**
1451
1450
  * Triggers when a column header element is dropped on the target column.
1452
1451
  * @event
1453
-
1452
+ * @deprecated
1454
1453
  */
1455
1454
  columnDrop: EmitType<ColumnDragEventArgs>;
1456
1455
  /**
1457
1456
  * Triggers after print action is completed.
1458
1457
  * @event
1459
-
1458
+ * @deprecated
1460
1459
  */
1461
1460
  printComplete: EmitType<PrintEventArgs>;
1462
1461
  /**
1463
1462
  * Triggers before the print action starts.
1464
1463
  * @event
1465
-
1464
+ * @deprecated
1466
1465
  */
1467
1466
  beforePrint: EmitType<PrintEventArgs>;
1468
1467
  /**
1469
1468
  * Triggers before exporting each cell to PDF document. You can also customize the PDF cells.
1470
1469
  * @event
1471
-
1470
+ * @deprecated
1472
1471
  */
1473
1472
  pdfQueryCellInfo: EmitType<PdfQueryCellInfoEventArgs>;
1474
1473
  /**
1475
1474
  * Triggers before exporting each header cell to PDF document. You can also customize the PDF cells.
1476
1475
  * @event
1477
-
1476
+ * @deprecated
1478
1477
  */
1479
1478
  pdfHeaderQueryCellInfo: EmitType<PdfHeaderQueryCellInfoEventArgs>;
1480
1479
  /**
1481
1480
  * Triggers before exporting aggregate cell to PDF document. You can also customize the PDF cells.
1482
1481
  * @event
1483
-
1482
+ * @deprecated
1484
1483
  */
1485
1484
  pdfAggregateQueryCellInfo: EmitType<AggregateQueryCellInfoEventArgs>;
1486
1485
  /**
1487
1486
  * Triggers before exporting aggregate cell to Excel document. You can also customize the PDF cells.
1488
1487
  * @event
1489
-
1488
+ * @deprecated
1490
1489
  */
1491
1490
  excelAggregateQueryCellInfo: EmitType<AggregateQueryCellInfoEventArgs>;
1492
1491
  /**
1493
1492
  * Triggers before exporting each detail Grid to PDF document.
1494
1493
  * @event
1495
-
1494
+ * @deprecated
1496
1495
  */
1497
1496
  exportDetailDataBound: EmitType<ExportDetailDataBoundEventArgs>;
1498
1497
  /**
1499
1498
  * Triggers before exporting each cell to Excel file.
1500
1499
  * You can also customize the Excel cells.
1501
1500
  * @event
1502
-
1501
+ * @deprecated
1503
1502
  */
1504
1503
  excelQueryCellInfo: EmitType<ExcelQueryCellInfoEventArgs>;
1505
1504
  /**
1506
1505
  * Triggers before exporting each header cell to Excel file.
1507
1506
  * You can also customize the Excel cells.
1508
1507
  * @event
1509
-
1508
+ * @deprecated
1510
1509
  */
1511
1510
  excelHeaderQueryCellInfo: EmitType<ExcelHeaderQueryCellInfoEventArgs>;
1512
1511
  /**
1513
1512
  * Triggers before Grid data is exported to Excel file.
1514
1513
  * @event
1515
-
1514
+ * @deprecated
1516
1515
  */
1517
1516
  beforeExcelExport: EmitType<Object>;
1518
1517
  /**
1519
1518
  * Triggers after Grid data is exported to Excel file.
1520
1519
  * @event
1521
-
1520
+ * @deprecated
1522
1521
  */
1523
1522
  excelExportComplete: EmitType<ExcelExportCompleteArgs>;
1524
1523
  /**
@@ -1530,13 +1529,13 @@ export declare class Grid extends Component<HTMLElement> implements INotifyPrope
1530
1529
  /**
1531
1530
  * Triggers after Grid data is exported to PDF document.
1532
1531
  * @event
1533
-
1532
+ * @deprecated
1534
1533
  */
1535
1534
  pdfExportComplete: EmitType<PdfExportCompleteArgs>;
1536
1535
  /**
1537
1536
  * Triggers when row element's before drag(move).
1538
1537
  * @event
1539
-
1538
+ * @deprecated
1540
1539
  */
1541
1540
  rowDragStartHelper: EmitType<RowDragEventArgs>;
1542
1541
  /**
@@ -1555,7 +1554,7 @@ export declare class Grid extends Component<HTMLElement> implements INotifyPrope
1555
1554
  /**
1556
1555
  * Triggers when row elements are dragged (moved) continuously.
1557
1556
  * @event
1558
-
1557
+ * @deprecated
1559
1558
  */
1560
1559
  rowDrag: EmitType<RowDragEventArgs>;
1561
1560
  /**
@@ -1574,25 +1573,25 @@ export declare class Grid extends Component<HTMLElement> implements INotifyPrope
1574
1573
  /**
1575
1574
  * Triggers before the columnChooser open.
1576
1575
  * @event
1577
-
1576
+ * @deprecated
1578
1577
  */
1579
1578
  beforeOpenColumnChooser: EmitType<ColumnChooserEventArgs>;
1580
1579
  /**
1581
1580
  * Triggers when records are added in batch mode.
1582
1581
  * @event
1583
-
1582
+ * @deprecated
1584
1583
  */
1585
1584
  batchAdd: EmitType<BatchAddArgs>;
1586
1585
  /**
1587
1586
  * Triggers when records are deleted in batch mode.
1588
1587
  * @event
1589
-
1588
+ * @deprecated
1590
1589
  */
1591
1590
  batchDelete: EmitType<BatchDeleteArgs>;
1592
1591
  /**
1593
1592
  * Triggers when cancel the batch edit changes batch mode.
1594
1593
  * @event
1595
-
1594
+ * @deprecated
1596
1595
  */
1597
1596
  batchCancel: EmitType<BatchCancelArgs>;
1598
1597
  /**
@@ -1652,7 +1651,7 @@ export declare class Grid extends Component<HTMLElement> implements INotifyPrope
1652
1651
  /**
1653
1652
  * Triggers on column resizing.
1654
1653
  * @event
1655
-
1654
+ * @deprecated
1656
1655
  */
1657
1656
  resizing: EmitType<ResizeArgs>;
1658
1657
  /**
@@ -1664,7 +1663,7 @@ export declare class Grid extends Component<HTMLElement> implements INotifyPrope
1664
1663
  /**
1665
1664
  * Triggers when any keyboard keys are pressed inside the grid.
1666
1665
  * @event
1667
-
1666
+ * @deprecated
1668
1667
  */
1669
1668
  keyPressed: EmitType<KeyboardEventArgs>;
1670
1669
  /**
@@ -1676,7 +1675,7 @@ export declare class Grid extends Component<HTMLElement> implements INotifyPrope
1676
1675
  /**
1677
1676
  * Triggers before context menu opens.
1678
1677
  * @event
1679
-
1678
+ * @deprecated
1680
1679
  */
1681
1680
  contextMenuOpen: EmitType<BeforeOpenCloseMenuEventArgs>;
1682
1681
  /**
@@ -1689,7 +1688,7 @@ export declare class Grid extends Component<HTMLElement> implements INotifyPrope
1689
1688
  /**
1690
1689
  * Triggers before column menu opens.
1691
1690
  * @event
1692
-
1691
+ * @deprecated
1693
1692
  */
1694
1693
  columnMenuOpen: EmitType<ColumnMenuOpenEventArgs>;
1695
1694
  /**
@@ -1702,25 +1701,25 @@ export declare class Grid extends Component<HTMLElement> implements INotifyPrope
1702
1701
  /**
1703
1702
  * Triggers when the check box state change in checkbox column.
1704
1703
  * @event
1705
-
1704
+ * @deprecated
1706
1705
  */
1707
1706
  checkBoxChange: EmitType<CheckBoxChangeEventArgs>;
1708
1707
  /**
1709
1708
  * Triggers before Grid copy action.
1710
1709
  * @event
1711
-
1710
+ * @deprecated
1712
1711
  */
1713
1712
  beforeCopy: EmitType<BeforeCopyEventArgs>;
1714
1713
  /**
1715
1714
  * Triggers before Grid paste action.
1716
1715
  * @event
1717
-
1716
+ * @deprecated
1718
1717
  */
1719
1718
  beforePaste: EmitType<BeforePasteEventArgs>;
1720
1719
  /**
1721
1720
  * Triggers before Grid autoFill action.
1722
1721
  * @event
1723
-
1722
+ * @deprecated
1724
1723
  */
1725
1724
  beforeAutoFill: EmitType<BeforeAutoFillEventArgs>;
1726
1725
  /**
@@ -1728,39 +1727,39 @@ export declare class Grid extends Component<HTMLElement> implements INotifyPrope
1728
1727
  * In this event,the current view column data and total record count should be assigned to the column `dataSource` based
1729
1728
  * on the action performed.
1730
1729
  * @event
1731
-
1730
+ * @deprecated
1732
1731
  */
1733
1732
  columnDataStateChange: EmitType<ColumnDataStateChangeEventArgs>;
1734
1733
  /**
1735
1734
  * Triggers when the grid actions such as Sorting, Paging, Grouping etc., are done.
1736
1735
  * In this event,the current view data and total record count should be assigned to the `dataSource` based on the action performed.
1737
1736
  * @event
1738
-
1737
+ * @deprecated
1739
1738
  */
1740
1739
  dataStateChange: EmitType<DataStateChangeEventArgs>;
1741
1740
  /**
1742
1741
  * Triggers when the grid data is added, deleted and updated.
1743
1742
  * Invoke the done method from the argument to start render after edit operation.
1744
1743
  * @event
1745
-
1744
+ * @deprecated
1746
1745
  */
1747
1746
  dataSourceChanged: EmitType<DataSourceChangedEventArgs>;
1748
1747
  /**
1749
1748
  * Triggers before exporting each caption row to PDF/Excel/CSV document. You can also customize the export caption row values.
1750
1749
  * @event
1751
-
1750
+ * @deprecated
1752
1751
  */
1753
1752
  exportGroupCaption: EmitType<ExportGroupCaptionEventArgs>;
1754
1753
  /**
1755
1754
  * Triggers when expand the caption row in lazy load grouping.
1756
1755
  * @event
1757
-
1756
+ * @deprecated
1758
1757
  */
1759
1758
  lazyLoadGroupExpand: EmitType<LazyLoadArgs>;
1760
1759
  /**
1761
1760
  * Triggers when collapse the caption row in lazy load grouping.
1762
1761
  * @event
1763
-
1762
+ * @deprecated
1764
1763
  */
1765
1764
  lazyLoadGroupCollapse: EmitType<LazyLoadArgs>;
1766
1765
  /**
@@ -2745,7 +2744,7 @@ export declare class Grid extends Component<HTMLElement> implements INotifyPrope
2745
2744
  /**
2746
2745
  * Get all filtered records from the Grid and it returns array of objects for the local dataSource, returns a promise object if the Grid has remote data.
2747
2746
  * @return {Object[] | Promise<Object>}
2748
-
2747
+ * @deprecated
2749
2748
  */
2750
2749
  getFilteredRecords(): Object[] | Promise<Object>;
2751
2750
  private getUserAgent;
@@ -2785,7 +2784,7 @@ export declare class Grid extends Component<HTMLElement> implements INotifyPrope
2785
2784
  getHiddenColumns(): Column[];
2786
2785
  /**
2787
2786
  * calculatePageSizeByParentHeight
2788
-
2787
+ * @deprecated
2789
2788
  */
2790
2789
  calculatePageSizeByParentHeight(containerHeight: number | string): number;
2791
2790
  private getNoncontentHeight;
@@ -2793,7 +2792,7 @@ export declare class Grid extends Component<HTMLElement> implements INotifyPrope
2793
2792
  *To perform aggregate operation on a column.
2794
2793
  *@param {AggregateColumnModel} summaryCol - Pass Aggregate Column details.
2795
2794
  *@param {Object} summaryData - Pass JSON Array for which its field values to be calculated.
2796
-
2795
+ * @deprecated
2797
2796
  */
2798
2797
  getSummaryValues(summaryCol: AggregateColumnModel, summaryData: Object): number;
2799
2798
  /**
@@ -2803,7 +2802,7 @@ export declare class Grid extends Component<HTMLElement> implements INotifyPrope
2803
2802
  /**
2804
2803
  * @param {number} key - Defines the primary key value.
2805
2804
  * @param {Object} value - Defines the row data.
2806
-
2805
+ * @deprecated
2807
2806
  */
2808
2807
  updateRowValue(key: number, rowData: Object): void;
2809
2808
  /**
@@ -1,22 +1,22 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- }
8
- return function (d, b) {
9
- extendStatics(d, b);
10
- function __() { this.constructor = d; }
11
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
- };
13
- })();
14
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
- return c > 3 && r && Object.defineProperty(target, key, r), r;
19
- };
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
19
+ };
20
20
  import { Component, ChildProperty, Browser, closest, extend } from '@syncfusion/ej2-base';
21
21
  import { isNullOrUndefined, setValue, getValue, isBlazor, blazorTemplates } from '@syncfusion/ej2-base';
22
22
  import { addClass, removeClass, append, remove, updateBlazorTemplate, classList, setStyleAttribute } from '@syncfusion/ej2-base';
@@ -1011,6 +1011,9 @@ var Grid = /** @class */ (function (_super) {
1011
1011
  return;
1012
1012
  }
1013
1013
  this.log('module_missing');
1014
+ if (this.isEllipsisTooltip()) {
1015
+ this.toolTipObj.close();
1016
+ }
1014
1017
  var properties = Object.keys(newProp);
1015
1018
  if (properties.indexOf('columns') > -1) {
1016
1019
  this.updateColumnObject();
@@ -1260,6 +1263,9 @@ var Grid = /** @class */ (function (_super) {
1260
1263
  this.notify(events.dataSourceModified, {});
1261
1264
  if (!requireGridRefresh) {
1262
1265
  this.renderModule.refresh();
1266
+ if (this.isCheckBoxSelection) {
1267
+ this.notify(events.beforeRefreshOnDataChange, {});
1268
+ }
1263
1269
  }
1264
1270
  }
1265
1271
  this.scrollRefresh();
@@ -3139,7 +3145,8 @@ var Grid = /** @class */ (function (_super) {
3139
3145
  parentsUntil(e.target, 'e-gridheader'))) && e.touches) {
3140
3146
  return;
3141
3147
  }
3142
- if (parentsUntil(e.target, 'e-gridheader') && this.allowRowDragAndDrop) {
3148
+ if (parentsUntil(e.target, 'e-gridheader') && this.allowRowDragAndDrop &&
3149
+ !(parentsUntil(e.target, 'e-filterbarcell'))) {
3143
3150
  e.preventDefault();
3144
3151
  }
3145
3152
  var args = this.getRowInfo(e.target);
@@ -3334,12 +3341,14 @@ var Grid = /** @class */ (function (_super) {
3334
3341
  }
3335
3342
  };
3336
3343
  Grid.prototype.keyActionHandler = function (e) {
3337
- this.keyPress = e.action !== 'space';
3338
3344
  if (this.isChildGrid(e) ||
3339
3345
  (this.isEdit && e.action !== 'escape' && e.action !== 'enter' && e.action !== 'shiftEnter'
3340
3346
  && e.action !== 'tab' && e.action !== 'shiftTab')) {
3341
3347
  return;
3342
3348
  }
3349
+ else {
3350
+ this.keyPress = true;
3351
+ }
3343
3352
  if (this.allowKeyboard) {
3344
3353
  if (e.action === 'ctrlPlusP') {
3345
3354
  e.preventDefault();
@@ -3728,7 +3737,7 @@ var Grid = /** @class */ (function (_super) {
3728
3737
  /**
3729
3738
  * Get all filtered records from the Grid and it returns array of objects for the local dataSource, returns a promise object if the Grid has remote data.
3730
3739
  * @return {Object[] | Promise<Object>}
3731
-
3740
+ * @deprecated
3732
3741
  */
3733
3742
  Grid.prototype.getFilteredRecords = function () {
3734
3743
  if (this.allowFiltering && this.filterSettings.columns.length) {
@@ -3854,7 +3863,7 @@ var Grid = /** @class */ (function (_super) {
3854
3863
  };
3855
3864
  /**
3856
3865
  * calculatePageSizeByParentHeight
3857
-
3866
+ * @deprecated
3858
3867
  */
3859
3868
  Grid.prototype.calculatePageSizeByParentHeight = function (containerHeight) {
3860
3869
  if (this.allowPaging) {
@@ -3904,7 +3913,7 @@ var Grid = /** @class */ (function (_super) {
3904
3913
  *To perform aggregate operation on a column.
3905
3914
  *@param {AggregateColumnModel} summaryCol - Pass Aggregate Column details.
3906
3915
  *@param {Object} summaryData - Pass JSON Array for which its field values to be calculated.
3907
-
3916
+ * @deprecated
3908
3917
  */
3909
3918
  Grid.prototype.getSummaryValues = function (summaryCol, summaryData) {
3910
3919
  return DataUtil.aggregates[summaryCol.type.toLowerCase()](summaryData, summaryCol.field);
@@ -3919,7 +3928,7 @@ var Grid = /** @class */ (function (_super) {
3919
3928
  /**
3920
3929
  * @param {number} key - Defines the primary key value.
3921
3930
  * @param {Object} value - Defines the row data.
3922
-
3931
+ * @deprecated
3923
3932
  */
3924
3933
  Grid.prototype.updateRowValue = function (key, rowData) {
3925
3934
  var args = {
@@ -404,6 +404,7 @@ export interface IGrid extends Component<HTMLElement> {
404
404
  enableHeaderFocus?: boolean;
405
405
  renderTemplates?: Function;
406
406
  isReact?: boolean;
407
+ isVue?: boolean;
407
408
  /**
408
409
  * @hidden
409
410
  * It used to render pager template
@@ -740,9 +741,13 @@ export interface NotifyArgs {
740
741
  promise?: Promise<Object>;
741
742
  }
742
743
  export interface LazyLoadArgs {
744
+ /** Defines expand/collapse caption row details. */
743
745
  groupInfo?: Row<Column>;
746
+ /** Defines whether get rows from group cache or make a request. */
744
747
  enableCaching?: boolean;
748
+ /** Cancel the expand/collapse action. */
745
749
  cancel?: boolean;
750
+ /** Defines the caption row element. */
746
751
  captionRowElement?: HTMLTableRowElement;
747
752
  }
748
753
  export interface LazyLoadGroupArgs extends LazyLoadArgs {
@@ -1091,9 +1096,13 @@ export interface ExportDetailDataBoundEventArgs {
1091
1096
  exportProperties?: PdfExportProperties | ExcelExportProperties;
1092
1097
  }
1093
1098
  export interface AggregateQueryCellInfoEventArgs {
1099
+ /** Defines the row data associated with this cell. */
1094
1100
  row?: Object;
1101
+ /** Defines the type of the cell */
1095
1102
  type?: AggregateTemplateType;
1103
+ /** Defines the data of the current cell */
1096
1104
  data?: object;
1105
+ /** Defines the style of the current cell. */
1097
1106
  style?: object;
1098
1107
  }
1099
1108
  export interface PdfHeaderQueryCellInfoEventArgs {
@@ -1835,6 +1844,7 @@ export interface IFocus {
1835
1844
  onKeyPress?: Function;
1836
1845
  onClick?: Function;
1837
1846
  onFocus?: Function;
1847
+ target?: HTMLElement;
1838
1848
  jump?: (action: string, current: number[]) => SwapInfo;
1839
1849
  getFocusInfo?: () => FocusInfo;
1840
1850
  getFocusable?: (element: HTMLElement) => HTMLElement;
@@ -2229,6 +2239,9 @@ export interface CaptionTemplateContext {
2229
2239
  /** Gets header text of the grouped column */
2230
2240
  headerText?: string;
2231
2241
  }
2242
+ /**
2243
+ * @hidden
2244
+ */
2232
2245
  export interface ActionArgs {
2233
2246
  /**
2234
2247
  * @blazorType string
@@ -1,7 +1,7 @@
1
1
  import { ChildProperty, compile as baseTemplateComplier, setValue, Internationalization, isUndefined, closest } from '@syncfusion/ej2-base';
2
2
  import { extend as baseExtend, isNullOrUndefined, getValue, classList } from '@syncfusion/ej2-base';
3
3
  import { setStyleAttribute, addClass, attributes, remove, createElement, removeClass } from '@syncfusion/ej2-base';
4
- import { isObject, isBlazor, Browser } from '@syncfusion/ej2-base';
4
+ import { isObject, isBlazor, Browser, select, selectAll } from '@syncfusion/ej2-base';
5
5
  import { DataUtil, Query, DataManager, Predicate, UrlAdaptor, Deferred } from '@syncfusion/ej2-data';
6
6
  import { Column } from '../models/column';
7
7
  import { calculateRelativeBasedPosition, calculatePosition } from '@syncfusion/ej2-popups';
@@ -490,9 +490,9 @@ export function isEditable(col, type, elem) {
490
490
  }
491
491
  /** @hidden */
492
492
  export function isActionPrevent(inst) {
493
- var dlg = inst.element.querySelector('#' + inst.element.id + 'EditConfirm');
493
+ var dlg = select('#' + inst.element.id + 'EditConfirm', inst.element);
494
494
  return inst.editSettings.mode === 'Batch' &&
495
- (inst.element.querySelectorAll('.e-updatedtd').length) && inst.editSettings.showConfirmDialog &&
495
+ (selectAll('.e-updatedtd', inst.element).length) && inst.editSettings.showConfirmDialog &&
496
496
  (dlg ? dlg.classList.contains('e-popup-close') : true);
497
497
  }
498
498
  /** @hidden */
@@ -1,16 +1,16 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- }
8
- return function (d, b) {
9
- extendStatics(d, b);
10
- function __() { this.constructor = d; }
11
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
- };
13
- })();
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
14
  import { EventHandler, remove, Browser, isBlazor, updateBlazorTemplate } from '@syncfusion/ej2-base';
15
15
  import { isNullOrUndefined } from '@syncfusion/ej2-base';
16
16
  import { Query, DataManager, Predicate } from '@syncfusion/ej2-data';