igniteui-webcomponents-grids 4.3.2 → 4.3.3-beta.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.
- package/License +1 -1
- package/bundles/igniteui-webcomponents-grids.umd.js +2534 -2146
- package/bundles/igniteui-webcomponents-grids.umd.min.js +1 -1
- package/esm2015/lib/CanvasTextHeaderCellPresenter.js +1 -1
- package/esm2015/lib/CheckboxListView_combined.js +44 -44
- package/esm2015/lib/ColumnFilterCondition_combined.js +1195 -1194
- package/esm2015/lib/ColumnGroupingView_combined.js +34 -34
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +20 -20
- package/esm2015/lib/{Grid.js → DataGrid.js} +1 -1
- package/esm2015/lib/DataGridToolbarView_combined.js +17 -17
- package/esm2015/lib/DateEditorView.js +12 -12
- package/esm2015/lib/Dragger.js +5 -5
- package/esm2015/lib/EditorCell.js +5 -5
- package/esm2015/lib/GridCellType.js +22 -0
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +1 -1
- package/esm2015/lib/GridColumnGroupOptionsView_combined.js +3 -3
- package/esm2015/lib/GridColumnMoveOptionsView_combined.js +5 -5
- package/esm2015/lib/GridColumnOptionsViewBase_combined.js +4 -4
- package/esm2015/lib/GridColumnPinOptionsView_combined.js +1 -1
- package/esm2015/lib/GridColumnSortOptionsView_combined.js +3 -3
- package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +19 -19
- package/esm2015/lib/GridFilterDialogView_combined.js +4 -4
- package/esm2015/lib/MultiColumnComboBoxView_combined.js +49 -49
- package/esm2015/lib/PropertyEditorView_combined.js +30 -30
- package/esm2015/lib/TextEditorView.js +1 -1
- package/esm2015/lib/igc-apply-button-click-event-args.js +6 -0
- package/esm2015/lib/igc-cancel-button-click-event-args.js +6 -0
- package/esm2015/lib/igc-cell-range.js +6 -0
- package/esm2015/lib/igc-cell-style-requested-event-args.js +6 -0
- package/esm2015/lib/igc-checked-changed-event-args.js +6 -0
- package/esm2015/lib/igc-column-exchanger.js +6 -0
- package/esm2015/lib/igc-column-hidden-changed-event-args.js +6 -0
- package/esm2015/lib/igc-column-pinned-changed-event-args.js +6 -0
- package/esm2015/lib/igc-column-property-setter.js +6 -0
- package/esm2015/lib/igc-column-sort-description.js +6 -0
- package/esm2015/lib/igc-column-summary-description.js +6 -0
- package/esm2015/lib/igc-column-width.js +6 -0
- package/esm2015/lib/igc-data-grid-comparison-operator-selector-component.js +3 -0
- package/esm2015/lib/igc-data-grid-component.js +554 -554
- package/esm2015/lib/igc-data-grid-expansion-indicator-component.js +3 -0
- package/esm2015/lib/igc-data-grid-filter-dialog-component.js +3 -0
- package/esm2015/lib/igc-data-grid-sort-indicator-component.js +3 -0
- package/esm2015/lib/igc-filter-dialog-render-completed-event-args.js +6 -0
- package/esm2015/lib/igc-filter-operand.js +6 -0
- package/esm2015/lib/igc-format-group-text-event-args.js +6 -0
- package/esm2015/lib/igc-format-summary-text-event-args.js +6 -0
- package/esm2015/lib/igc-got-focus-event-args.js +6 -0
- package/esm2015/lib/igc-grid-active-cell-changed-event-args.js +6 -0
- package/esm2015/lib/igc-grid-animation-phase-settings.js +6 -0
- package/esm2015/lib/igc-grid-animation-settings.js +6 -0
- package/esm2015/lib/igc-grid-cell-edit-ended-event-args.js +6 -0
- package/esm2015/lib/igc-grid-cell-edit-started-event-args.js +6 -0
- package/esm2015/lib/igc-grid-cell-position.js +6 -0
- package/esm2015/lib/igc-grid-column-animation-settings.js +6 -0
- package/esm2015/lib/igc-grid-column-options-base-component.js +3 -0
- package/esm2015/lib/igc-grid-column-width-changed-event-args.js +6 -0
- package/esm2015/lib/igc-grid-columns-auto-generated-event-args.js +6 -0
- package/esm2015/lib/igc-grid-columns-changed-event-args.js +6 -0
- package/esm2015/lib/igc-grid-custom-filter-requested-event-args.js +6 -0
- package/esm2015/lib/igc-grid-data-committed-event-args.js +3 -0
- package/esm2015/lib/igc-grid-data-committing-event-args.js +3 -0
- package/esm2015/lib/igc-grid-filter-dialog-filter-change-event-args.js +6 -0
- package/esm2015/lib/igc-grid-filter-dialog-opening-event-args.js +6 -0
- package/esm2015/lib/igc-grid-filter-dialog-view-model-grouping.js +6 -0
- package/esm2015/lib/igc-grid-filter-dialog-view-model-row.js +6 -0
- package/esm2015/lib/igc-grid-filter-dialog-view-model.js +6 -0
- package/esm2015/lib/igc-grid-filter-expressions-event-args.js +6 -0
- package/esm2015/lib/igc-grid-group-descriptions-changed-event-args.js +6 -0
- package/esm2015/lib/igc-grid-row-edit-ended-event-args.js +6 -0
- package/esm2015/lib/igc-grid-row-edit-started-event-args.js +6 -0
- package/esm2015/lib/igc-grid-selected-cell-ranges-changed-event-args.js +6 -0
- package/esm2015/lib/igc-grid-selected-cells-changed-event-args.js +6 -0
- package/esm2015/lib/igc-grid-selected-items-changed-event-args.js +6 -0
- package/esm2015/lib/igc-grid-selected-keys-changed-event-args.js +6 -0
- package/esm2015/lib/igc-grid-selection-changed-event-args.js +6 -0
- package/esm2015/lib/igc-grid-size-changed-event-args.js +6 -0
- package/esm2015/lib/igc-grid-sort-descriptions-changed-event-args.js +6 -0
- package/esm2015/lib/igc-grid-summary-descriptions-changed-event-args.js +6 -0
- package/esm2015/lib/igc-group-data.js +6 -0
- package/esm2015/lib/igc-lost-focus-event-args.js +6 -0
- package/esm2015/lib/igc-multi-column-combo-box-text-changed-event-args.js +3 -0
- package/esm2015/lib/igc-multi-column-combo-box-value-changed-event-args.js +3 -0
- package/esm2015/lib/igc-operator-selector-closing-event-args.js +6 -0
- package/esm2015/lib/igc-operator-selector-opening-event-args.js +6 -0
- package/esm2015/lib/igc-operator-selector-value-changed-event-args.js +6 -0
- package/esm2015/lib/igc-page-changed-event-args.js +6 -0
- package/esm2015/lib/igc-responsive-phase.js +6 -0
- package/esm2015/lib/igc-responsive-state-entered-event-args.js +6 -0
- package/esm2015/lib/igc-responsive-state-entering-event-args.js +6 -0
- package/esm2015/lib/igc-responsive-state-exited-event-args.js +6 -0
- package/esm2015/lib/igc-responsive-state.js +6 -0
- package/esm2015/lib/igc-select-all-checkbox-changed-event-args.js +6 -0
- package/esm2015/lib/igc-sort-indicator-render-completed-event-args.js +6 -0
- package/esm2015/lib/igc-summary-changed-event-args.js +6 -0
- package/esm2015/lib/igc-summary-data.js +6 -0
- package/esm2015/public_api.js +2 -2
- package/esm5/lib/CanvasTextHeaderCellPresenter.js +1 -1
- package/esm5/lib/CheckboxListView_combined.js +44 -44
- package/esm5/lib/ColumnFilterCondition_combined.js +1324 -1323
- package/esm5/lib/ColumnGroupingView_combined.js +34 -34
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +20 -20
- package/esm5/lib/{Grid.js → DataGrid.js} +1 -1
- package/esm5/lib/DataGridToolbarView_combined.js +17 -17
- package/esm5/lib/DateEditorView.js +12 -12
- package/esm5/lib/Dragger.js +5 -5
- package/esm5/lib/EditorCell.js +5 -5
- package/esm5/lib/GridCellType.js +22 -0
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +1 -1
- package/esm5/lib/GridColumnGroupOptionsView_combined.js +3 -3
- package/esm5/lib/GridColumnMoveOptionsView_combined.js +5 -5
- package/esm5/lib/GridColumnOptionsViewBase_combined.js +4 -4
- package/esm5/lib/GridColumnPinOptionsView_combined.js +1 -1
- package/esm5/lib/GridColumnSortOptionsView_combined.js +3 -3
- package/esm5/lib/GridColumnSummaryOptionsView_combined.js +19 -19
- package/esm5/lib/GridFilterDialogView_combined.js +4 -4
- package/esm5/lib/MultiColumnComboBoxView_combined.js +49 -49
- package/esm5/lib/PropertyEditorView_combined.js +30 -30
- package/esm5/lib/TextEditorView.js +1 -1
- package/esm5/lib/igc-apply-button-click-event-args.js +6 -0
- package/esm5/lib/igc-cancel-button-click-event-args.js +6 -0
- package/esm5/lib/igc-cell-range.js +6 -0
- package/esm5/lib/igc-cell-style-requested-event-args.js +6 -0
- package/esm5/lib/igc-checked-changed-event-args.js +6 -0
- package/esm5/lib/igc-column-exchanger.js +6 -0
- package/esm5/lib/igc-column-hidden-changed-event-args.js +6 -0
- package/esm5/lib/igc-column-pinned-changed-event-args.js +6 -0
- package/esm5/lib/igc-column-property-setter.js +6 -0
- package/esm5/lib/igc-column-sort-description.js +6 -0
- package/esm5/lib/igc-column-summary-description.js +6 -0
- package/esm5/lib/igc-column-width.js +6 -0
- package/esm5/lib/igc-data-grid-comparison-operator-selector-component.js +3 -0
- package/esm5/lib/igc-data-grid-component.js +554 -554
- package/esm5/lib/igc-data-grid-expansion-indicator-component.js +3 -0
- package/esm5/lib/igc-data-grid-filter-dialog-component.js +3 -0
- package/esm5/lib/igc-data-grid-sort-indicator-component.js +3 -0
- package/esm5/lib/igc-filter-dialog-render-completed-event-args.js +6 -0
- package/esm5/lib/igc-filter-operand.js +6 -0
- package/esm5/lib/igc-format-group-text-event-args.js +6 -0
- package/esm5/lib/igc-format-summary-text-event-args.js +6 -0
- package/esm5/lib/igc-got-focus-event-args.js +6 -0
- package/esm5/lib/igc-grid-active-cell-changed-event-args.js +6 -0
- package/esm5/lib/igc-grid-animation-phase-settings.js +6 -0
- package/esm5/lib/igc-grid-animation-settings.js +6 -0
- package/esm5/lib/igc-grid-cell-edit-ended-event-args.js +6 -0
- package/esm5/lib/igc-grid-cell-edit-started-event-args.js +6 -0
- package/esm5/lib/igc-grid-cell-position.js +6 -0
- package/esm5/lib/igc-grid-column-animation-settings.js +6 -0
- package/esm5/lib/igc-grid-column-options-base-component.js +3 -0
- package/esm5/lib/igc-grid-column-width-changed-event-args.js +6 -0
- package/esm5/lib/igc-grid-columns-auto-generated-event-args.js +6 -0
- package/esm5/lib/igc-grid-columns-changed-event-args.js +6 -0
- package/esm5/lib/igc-grid-custom-filter-requested-event-args.js +6 -0
- package/esm5/lib/igc-grid-data-committed-event-args.js +3 -0
- package/esm5/lib/igc-grid-data-committing-event-args.js +3 -0
- package/esm5/lib/igc-grid-filter-dialog-filter-change-event-args.js +6 -0
- package/esm5/lib/igc-grid-filter-dialog-opening-event-args.js +6 -0
- package/esm5/lib/igc-grid-filter-dialog-view-model-grouping.js +6 -0
- package/esm5/lib/igc-grid-filter-dialog-view-model-row.js +6 -0
- package/esm5/lib/igc-grid-filter-dialog-view-model.js +6 -0
- package/esm5/lib/igc-grid-filter-expressions-event-args.js +6 -0
- package/esm5/lib/igc-grid-group-descriptions-changed-event-args.js +6 -0
- package/esm5/lib/igc-grid-row-edit-ended-event-args.js +6 -0
- package/esm5/lib/igc-grid-row-edit-started-event-args.js +6 -0
- package/esm5/lib/igc-grid-selected-cell-ranges-changed-event-args.js +6 -0
- package/esm5/lib/igc-grid-selected-cells-changed-event-args.js +6 -0
- package/esm5/lib/igc-grid-selected-items-changed-event-args.js +6 -0
- package/esm5/lib/igc-grid-selected-keys-changed-event-args.js +6 -0
- package/esm5/lib/igc-grid-selection-changed-event-args.js +6 -0
- package/esm5/lib/igc-grid-size-changed-event-args.js +6 -0
- package/esm5/lib/igc-grid-sort-descriptions-changed-event-args.js +6 -0
- package/esm5/lib/igc-grid-summary-descriptions-changed-event-args.js +6 -0
- package/esm5/lib/igc-group-data.js +6 -0
- package/esm5/lib/igc-lost-focus-event-args.js +6 -0
- package/esm5/lib/igc-multi-column-combo-box-text-changed-event-args.js +3 -0
- package/esm5/lib/igc-multi-column-combo-box-value-changed-event-args.js +3 -0
- package/esm5/lib/igc-operator-selector-closing-event-args.js +6 -0
- package/esm5/lib/igc-operator-selector-opening-event-args.js +6 -0
- package/esm5/lib/igc-operator-selector-value-changed-event-args.js +6 -0
- package/esm5/lib/igc-page-changed-event-args.js +6 -0
- package/esm5/lib/igc-responsive-phase.js +6 -0
- package/esm5/lib/igc-responsive-state-entered-event-args.js +6 -0
- package/esm5/lib/igc-responsive-state-entering-event-args.js +6 -0
- package/esm5/lib/igc-responsive-state-exited-event-args.js +6 -0
- package/esm5/lib/igc-responsive-state.js +6 -0
- package/esm5/lib/igc-select-all-checkbox-changed-event-args.js +6 -0
- package/esm5/lib/igc-sort-indicator-render-completed-event-args.js +6 -0
- package/esm5/lib/igc-summary-changed-event-args.js +6 -0
- package/esm5/lib/igc-summary-data.js +6 -0
- package/esm5/public_api.js +2 -2
- package/fesm2015/igniteui-webcomponents-grids.js +2404 -2016
- package/fesm5/igniteui-webcomponents-grids.js +2532 -2144
- package/grids/combined.js +25174 -25107
- package/grids/index.d.ts +12 -0
- package/grids/lib/igc-action-strip-component.d.ts +1 -0
- package/grids/lib/igc-active-node-change-event-args.d.ts +0 -1
- package/grids/lib/igc-base-date-time-filtering-operand.d.ts +1 -0
- package/grids/lib/igc-base-event-args.d.ts +0 -1
- package/grids/lib/igc-boolean-filtering-operand.d.ts +1 -1
- package/grids/lib/igc-cancelable-browser-event-args.d.ts +0 -1
- package/grids/lib/igc-cancelable-event-args.d.ts +0 -1
- package/grids/lib/igc-cell-position.d.ts +24 -0
- package/grids/lib/igc-cell-template-context.d.ts +0 -1
- package/grids/lib/igc-cell-type.d.ts +4 -4
- package/grids/lib/igc-column-component.d.ts +8 -9
- package/grids/lib/igc-column-exporting-event-args.d.ts +0 -1
- package/grids/lib/igc-column-group-component.d.ts +14 -3
- package/grids/lib/igc-column-moving-end-event-args.d.ts +0 -1
- package/grids/lib/igc-column-moving-event-args.d.ts +0 -1
- package/grids/lib/igc-column-moving-start-event-args.d.ts +0 -1
- package/grids/lib/igc-column-resize-event-args.d.ts +0 -1
- package/grids/lib/igc-column-selection-event-args.d.ts +14 -3
- package/grids/lib/igc-column-state.d.ts +103 -0
- package/grids/lib/igc-column-template-context.d.ts +0 -1
- package/grids/lib/igc-column-toggled-event-args.d.ts +0 -1
- package/grids/lib/igc-column-visibility-changed-event-args.d.ts +0 -1
- package/grids/lib/igc-column-visibility-changing-event-args.d.ts +20 -3
- package/grids/lib/igc-columns-auto-generated-event-args.d.ts +0 -1
- package/grids/lib/igc-date-filtering-operand.d.ts +1 -1
- package/grids/lib/igc-date-summary-operand.d.ts +1 -1
- package/grids/lib/igc-date-time-filtering-operand.d.ts +1 -1
- package/grids/lib/igc-density-changed-event-args.d.ts +0 -1
- package/grids/lib/igc-exporter-event.d.ts +1 -2
- package/grids/lib/igc-expression-tree.d.ts +26 -0
- package/grids/lib/igc-filtering-event-args.d.ts +14 -3
- package/grids/lib/igc-filtering-expression.d.ts +1 -0
- package/grids/lib/igc-filtering-expressions-tree.d.ts +10 -89
- package/grids/lib/igc-filtering-operation.d.ts +7 -4
- package/grids/lib/igc-for-of-data-changing-event-args.d.ts +0 -1
- package/grids/lib/igc-grid-base-directive.d.ts +80 -5
- package/grids/lib/igc-grid-cell-event-args.d.ts +5 -1
- package/grids/lib/igc-grid-edit-done-event-args.d.ts +0 -1
- package/grids/lib/igc-grid-edit-event-args.d.ts +44 -3
- package/grids/lib/igc-grid-empty-template-context.d.ts +0 -1
- package/grids/lib/igc-grid-form-group-created-event-args.d.ts +0 -1
- package/grids/lib/igc-grid-grouping-strategy.d.ts +6 -0
- package/grids/lib/igc-grid-header-template-context.d.ts +0 -1
- package/grids/lib/igc-grid-keydown-event-args.d.ts +5 -1
- package/grids/lib/igc-grid-master-detail-context.d.ts +0 -1
- package/grids/lib/igc-grid-row-drag-ghost-context.d.ts +0 -1
- package/grids/lib/igc-grid-row-edit-actions-template-context.d.ts +7 -1
- package/grids/lib/igc-grid-row-edit-text-template-context.d.ts +0 -1
- package/grids/lib/igc-grid-row-template-context.d.ts +0 -1
- package/grids/lib/igc-grid-scroll-event-args.d.ts +6 -1
- package/grids/lib/igc-grid-selection-range.d.ts +1 -0
- package/grids/lib/igc-grid-sorting-strategy.d.ts +6 -0
- package/grids/lib/igc-grid-state-base-directive.d.ts +47 -0
- package/grids/lib/igc-grid-state-collection.d.ts +27 -0
- package/grids/lib/igc-grid-state-component.d.ts +65 -0
- package/grids/lib/igc-grid-state-info.d.ts +73 -0
- package/grids/lib/igc-grid-state-options.d.ts +59 -0
- package/grids/lib/igc-grid-template-context.d.ts +0 -1
- package/grids/lib/igc-grid-toolbar-export-event-args.d.ts +2 -1
- package/grids/lib/igc-grid-validation-status-event-args.d.ts +0 -1
- package/grids/lib/igc-group-by-record.d.ts +1 -1
- package/grids/lib/igc-group-by-result.d.ts +23 -0
- package/grids/lib/igc-group-by-row-selector-template-context.d.ts +0 -1
- package/grids/lib/igc-group-by-row-selector-template-details.d.ts +1 -1
- package/grids/lib/igc-group-by-row-template-context.d.ts +0 -1
- package/grids/lib/igc-grouping-done-event-args.d.ts +0 -1
- package/grids/lib/igc-grouping-expression.d.ts +6 -0
- package/grids/lib/igc-grouping-state.d.ts +28 -0
- package/grids/lib/igc-head-selector-template-context.d.ts +0 -1
- package/grids/lib/igc-head-selector-template-details.d.ts +3 -3
- package/grids/lib/igc-header-type.d.ts +1 -1
- package/grids/lib/igc-number-filtering-operand.d.ts +1 -1
- package/grids/lib/igc-number-summary-operand.d.ts +1 -1
- package/grids/lib/igc-page-cancellable-event-args.d.ts +0 -1
- package/grids/lib/igc-page-event-args.d.ts +0 -1
- package/grids/lib/igc-paging-state.d.ts +22 -0
- package/grids/lib/igc-pin-column-cancellable-event-args.d.ts +29 -3
- package/grids/lib/igc-pin-column-event-args.d.ts +0 -1
- package/grids/lib/igc-pin-row-event-args.d.ts +14 -3
- package/grids/lib/igc-pivot-aggregator.d.ts +1 -1
- package/grids/lib/igc-pivot-configuration-changed-event-args.d.ts +0 -1
- package/grids/lib/igc-pivot-dimension-strategy.d.ts +1 -1
- package/grids/lib/igc-pivot-dimension.d.ts +1 -1
- package/grids/lib/igc-pivot-grid-value-template-context.d.ts +0 -1
- package/grids/lib/igc-pivot-value.d.ts +2 -4
- package/grids/lib/igc-row-data-event-args.d.ts +0 -1
- package/grids/lib/igc-row-drag-end-event-args.d.ts +0 -1
- package/grids/lib/igc-row-drag-start-event-args.d.ts +14 -3
- package/grids/lib/igc-row-exporting-event-args.d.ts +0 -1
- package/grids/lib/igc-row-selection-event-args.d.ts +14 -3
- package/grids/lib/igc-row-selector-template-context.d.ts +0 -1
- package/grids/lib/igc-row-selector-template-details.d.ts +3 -3
- package/grids/lib/igc-row-toggle-event-args.d.ts +0 -1
- package/grids/lib/igc-row-type.d.ts +5 -4
- package/grids/lib/igc-sorting-event-args.d.ts +14 -3
- package/grids/lib/igc-sorting-expression.d.ts +1 -0
- package/grids/lib/igc-string-filtering-operand.d.ts +1 -1
- package/grids/lib/igc-summary-expression.d.ts +24 -0
- package/grids/lib/igc-summary-operand.d.ts +1 -1
- package/grids/lib/igc-summary-result.d.ts +1 -0
- package/grids/lib/igc-summary-template-context.d.ts +0 -1
- package/grids/lib/igc-time-filtering-operand.d.ts +1 -1
- package/grids/lib/igc-time-summary-operand.d.ts +1 -1
- package/grids/lib/igc-toggle-view-cancelable-event-args.d.ts +6 -3
- package/grids/lib/igc-toggle-view-event-args.d.ts +0 -1
- package/grids/lib/igc-tree-grid-component.d.ts +20 -19
- package/lib/CanvasTemplateCellPresenter.d.ts +2 -2
- package/lib/CanvasTemplateHeaderCellPresenter.d.ts +2 -2
- package/lib/CellPath.d.ts +4 -4
- package/lib/CheckboxListView_combined.d.ts +3 -3
- package/lib/ColumnChooserView_combined.d.ts +3 -3
- package/lib/ColumnFilterCondition_combined.d.ts +506 -505
- package/lib/ColumnGroupingView_combined.d.ts +3 -3
- package/lib/ColumnPinningView_combined.d.ts +3 -3
- package/lib/ComparisonOperatorSelectorView_combined.d.ts +3 -3
- package/lib/DataGrid.d.ts +1 -0
- package/lib/DataGridPresenterManager.d.ts +2 -2
- package/lib/DataGridScrollerKeyboardListener.d.ts +2 -2
- package/lib/DataGridToolbarView_combined.d.ts +3 -3
- package/lib/{CellType.d.ts → GridCellType.d.ts} +2 -2
- package/lib/GridColumnGroupOptionsView_combined.d.ts +2 -2
- package/lib/GridColumnOptionsViewBase_combined.d.ts +3 -3
- package/lib/MultiColumnComboBoxView_combined.d.ts +2 -2
- package/lib/PropertyEditorView_combined.d.ts +3 -3
- package/lib/TemplateCellPresenter.d.ts +2 -2
- package/lib/TemplateHeader.d.ts +3 -3
- package/lib/TemplateHeaderCellPresenter.d.ts +2 -2
- package/lib/TemplateSectionHeader.d.ts +2 -2
- package/lib/igc-data-grid-component.d.ts +3 -3
- package/package.json +4 -4
- package/public_api.d.ts +2 -2
- package/esm2015/lib/CellType.js +0 -22
- package/esm5/lib/CellType.js +0 -22
- package/lib/Grid.d.ts +0 -1
|
@@ -25,7 +25,7 @@ import { IgcGridSelectedCellRangesChangedEventArgs } from './igc-grid-selected-c
|
|
|
25
25
|
import { IgcGridSortDescriptionsChangedEventArgs } from './igc-grid-sort-descriptions-changed-event-args';
|
|
26
26
|
import { IgcGridGroupDescriptionsChangedEventArgs } from './igc-grid-group-descriptions-changed-event-args';
|
|
27
27
|
import { IgcGridSummaryDescriptionsChangedEventArgs } from './igc-grid-summary-descriptions-changed-event-args';
|
|
28
|
-
import {
|
|
28
|
+
import { DataGrid } from "./DataGrid";
|
|
29
29
|
import { ensureEnum, ensureBool, CollectionAdapter, getAllPropertyNames, enumToString, fromSpinal, toSpinal, brushToString, stringToBrush, initializePropertiesFromCss, NamePatcher } from "igniteui-webcomponents-core";
|
|
30
30
|
import { Thickness } from "igniteui-webcomponents-core";
|
|
31
31
|
import { WebComponentRenderer, WebComponentWrapper, PortalManager } from "igniteui-webcomponents-core";
|
|
@@ -208,8 +208,8 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
210
|
createImplementation() {
|
|
211
|
-
let test = Grid;
|
|
212
|
-
return new
|
|
211
|
+
//let test = Grid;
|
|
212
|
+
return new DataGrid();
|
|
213
213
|
}
|
|
214
214
|
get i() {
|
|
215
215
|
return this._implementation;
|
|
@@ -362,7 +362,7 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
362
362
|
this._contentArea.setRawStyleProperty("flex", "1");
|
|
363
363
|
this._contentArea.append(this._renderer.rootWrapper);
|
|
364
364
|
this._wrapper = this._renderer;
|
|
365
|
-
this._implementation = new
|
|
365
|
+
this._implementation = new DataGrid();
|
|
366
366
|
var grid = this.i;
|
|
367
367
|
this._grid = grid;
|
|
368
368
|
this._grid.externalObject = this;
|
|
@@ -907,109 +907,109 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
907
907
|
* Gets or sets the type of column resizing to use.
|
|
908
908
|
*/
|
|
909
909
|
get columnResizingMode() {
|
|
910
|
-
return this.i.
|
|
910
|
+
return this.i.columnResizingMode;
|
|
911
911
|
}
|
|
912
912
|
set columnResizingMode(v) {
|
|
913
|
-
this.i.
|
|
914
|
-
this._a("columnResizingMode", enumToString(ColumnResizingMode_$type, this.i.
|
|
913
|
+
this.i.columnResizingMode = ensureEnum(ColumnResizingMode_$type, v);
|
|
914
|
+
this._a("columnResizingMode", enumToString(ColumnResizingMode_$type, this.i.columnResizingMode));
|
|
915
915
|
}
|
|
916
916
|
/**
|
|
917
917
|
* Gets or sets the type column moving to use.
|
|
918
918
|
*/
|
|
919
919
|
get columnMovingMode() {
|
|
920
|
-
return this.i.
|
|
920
|
+
return this.i.columnMovingMode;
|
|
921
921
|
}
|
|
922
922
|
set columnMovingMode(v) {
|
|
923
|
-
this.i.
|
|
924
|
-
this._a("columnMovingMode", enumToString(ColumnMovingMode_$type, this.i.
|
|
923
|
+
this.i.columnMovingMode = ensureEnum(ColumnMovingMode_$type, v);
|
|
924
|
+
this._a("columnMovingMode", enumToString(ColumnMovingMode_$type, this.i.columnMovingMode));
|
|
925
925
|
}
|
|
926
926
|
/**
|
|
927
927
|
* Gets or sets whether the row will highlight when hovered.
|
|
928
928
|
*/
|
|
929
929
|
get isRowHoverEnabled() {
|
|
930
|
-
return this.i.
|
|
930
|
+
return this.i.isRowHoverEnabled;
|
|
931
931
|
}
|
|
932
932
|
set isRowHoverEnabled(v) {
|
|
933
|
-
this.i.
|
|
934
|
-
this._a("isRowHoverEnabled", this.i.
|
|
933
|
+
this.i.isRowHoverEnabled = ensureBool(v);
|
|
934
|
+
this._a("isRowHoverEnabled", this.i.isRowHoverEnabled);
|
|
935
935
|
}
|
|
936
936
|
/**
|
|
937
937
|
* Gets or sets the background color for rows when hovered.
|
|
938
938
|
*/
|
|
939
939
|
get rowHoverBackground() {
|
|
940
|
-
return brushToString(this.i.
|
|
940
|
+
return brushToString(this.i.rowHoverBackground);
|
|
941
941
|
}
|
|
942
942
|
set rowHoverBackground(v) {
|
|
943
|
-
this.i.
|
|
944
|
-
this._a("rowHoverBackground", brushToString(this.i.
|
|
943
|
+
this.i.rowHoverBackground = stringToBrush(v);
|
|
944
|
+
this._a("rowHoverBackground", brushToString(this.i.rowHoverBackground));
|
|
945
945
|
}
|
|
946
946
|
/**
|
|
947
947
|
* Gets or sets the text color for rows when hovered.
|
|
948
948
|
*/
|
|
949
949
|
get rowHoverTextColor() {
|
|
950
|
-
return brushToString(this.i.
|
|
950
|
+
return brushToString(this.i.rowHoverTextColor);
|
|
951
951
|
}
|
|
952
952
|
set rowHoverTextColor(v) {
|
|
953
|
-
this.i.
|
|
954
|
-
this._a("rowHoverTextColor", brushToString(this.i.
|
|
953
|
+
this.i.rowHoverTextColor = stringToBrush(v);
|
|
954
|
+
this._a("rowHoverTextColor", brushToString(this.i.rowHoverTextColor));
|
|
955
955
|
}
|
|
956
956
|
/**
|
|
957
957
|
* Gets or sets the border color for rows being edited.
|
|
958
958
|
*/
|
|
959
959
|
get editRowBorder() {
|
|
960
|
-
return brushToString(this.i.
|
|
960
|
+
return brushToString(this.i.editRowBorder);
|
|
961
961
|
}
|
|
962
962
|
set editRowBorder(v) {
|
|
963
|
-
this.i.
|
|
964
|
-
this._a("editRowBorder", brushToString(this.i.
|
|
963
|
+
this.i.editRowBorder = stringToBrush(v);
|
|
964
|
+
this._a("editRowBorder", brushToString(this.i.editRowBorder));
|
|
965
965
|
}
|
|
966
966
|
get editRowBorderWidthBottom() {
|
|
967
|
-
return this.i.
|
|
967
|
+
return this.i.editRowBorderWidth ? this.i.editRowBorderWidth.bottom : NaN;
|
|
968
968
|
}
|
|
969
969
|
set editRowBorderWidthBottom(v) {
|
|
970
970
|
this.ensureEditRowBorderWidth();
|
|
971
|
-
this.i.
|
|
972
|
-
this._a("editRowBorderWidthBottom", this.i.
|
|
973
|
-
this.i.
|
|
971
|
+
this.i.editRowBorderWidth.bottom = +v;
|
|
972
|
+
this._a("editRowBorderWidthBottom", this.i.editRowBorderWidth.bottom);
|
|
973
|
+
this.i.editRowBorderWidth = this.i.editRowBorderWidth;
|
|
974
974
|
}
|
|
975
975
|
get editRowBorderWidthLeft() {
|
|
976
|
-
return this.i.
|
|
976
|
+
return this.i.editRowBorderWidth ? this.i.editRowBorderWidth.left : NaN;
|
|
977
977
|
}
|
|
978
978
|
set editRowBorderWidthLeft(v) {
|
|
979
979
|
this.ensureEditRowBorderWidth();
|
|
980
|
-
this.i.
|
|
981
|
-
this._a("editRowBorderWidthLeft", this.i.
|
|
982
|
-
this.i.
|
|
980
|
+
this.i.editRowBorderWidth.left = +v;
|
|
981
|
+
this._a("editRowBorderWidthLeft", this.i.editRowBorderWidth.left);
|
|
982
|
+
this.i.editRowBorderWidth = this.i.editRowBorderWidth;
|
|
983
983
|
}
|
|
984
984
|
get editRowBorderWidthRight() {
|
|
985
|
-
return this.i.
|
|
985
|
+
return this.i.editRowBorderWidth ? this.i.editRowBorderWidth.right : NaN;
|
|
986
986
|
}
|
|
987
987
|
set editRowBorderWidthRight(v) {
|
|
988
988
|
this.ensureEditRowBorderWidth();
|
|
989
|
-
this.i.
|
|
990
|
-
this._a("editRowBorderWidthRight", this.i.
|
|
991
|
-
this.i.
|
|
989
|
+
this.i.editRowBorderWidth.right = +v;
|
|
990
|
+
this._a("editRowBorderWidthRight", this.i.editRowBorderWidth.right);
|
|
991
|
+
this.i.editRowBorderWidth = this.i.editRowBorderWidth;
|
|
992
992
|
}
|
|
993
993
|
get editRowBorderWidthTop() {
|
|
994
|
-
return this.i.
|
|
994
|
+
return this.i.editRowBorderWidth ? this.i.editRowBorderWidth.top : NaN;
|
|
995
995
|
}
|
|
996
996
|
set editRowBorderWidthTop(v) {
|
|
997
997
|
this.ensureEditRowBorderWidth();
|
|
998
|
-
this.i.
|
|
999
|
-
this._a("editRowBorderWidthTop", this.i.
|
|
1000
|
-
this.i.
|
|
998
|
+
this.i.editRowBorderWidth.top = +v;
|
|
999
|
+
this._a("editRowBorderWidthTop", this.i.editRowBorderWidth.top);
|
|
1000
|
+
this.i.editRowBorderWidth = this.i.editRowBorderWidth;
|
|
1001
1001
|
}
|
|
1002
1002
|
ensureEditRowBorderWidth() {
|
|
1003
|
-
if (this.i.
|
|
1003
|
+
if (this.i.editRowBorderWidth) {
|
|
1004
1004
|
return;
|
|
1005
1005
|
}
|
|
1006
|
-
this.i.
|
|
1006
|
+
this.i.editRowBorderWidth = new Thickness(2);
|
|
1007
1007
|
}
|
|
1008
1008
|
/**
|
|
1009
1009
|
* Gets or sets the header type used for sectioning off groups of rows.
|
|
1010
1010
|
*/
|
|
1011
1011
|
get sectionHeader() {
|
|
1012
|
-
const r = this.i.
|
|
1012
|
+
const r = this.i.sectionHeader;
|
|
1013
1013
|
if (r == null) {
|
|
1014
1014
|
return null;
|
|
1015
1015
|
}
|
|
@@ -1025,13 +1025,13 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
1025
1025
|
set sectionHeader(v) {
|
|
1026
1026
|
if (v != null && this._stylingContainer && v._styling)
|
|
1027
1027
|
v._styling(this._stylingContainer, this, this);
|
|
1028
|
-
v == null ? this.i.
|
|
1028
|
+
v == null ? this.i.sectionHeader = null : this.i.sectionHeader = v.i;
|
|
1029
1029
|
}
|
|
1030
1030
|
/**
|
|
1031
1031
|
* Gets or sets the cell definition used for summary rows at the root level.
|
|
1032
1032
|
*/
|
|
1033
1033
|
get summaryRowRoot() {
|
|
1034
|
-
const r = this.i.
|
|
1034
|
+
const r = this.i.summaryRowRoot;
|
|
1035
1035
|
if (r == null) {
|
|
1036
1036
|
return null;
|
|
1037
1037
|
}
|
|
@@ -1047,13 +1047,13 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
1047
1047
|
set summaryRowRoot(v) {
|
|
1048
1048
|
if (v != null && this._stylingContainer && v._styling)
|
|
1049
1049
|
v._styling(this._stylingContainer, this, this);
|
|
1050
|
-
v == null ? this.i.
|
|
1050
|
+
v == null ? this.i.summaryRowRoot = null : this.i.summaryRowRoot = v.i;
|
|
1051
1051
|
}
|
|
1052
1052
|
/**
|
|
1053
1053
|
* Gets or sets the cell definition used for summary rows at the section level.
|
|
1054
1054
|
*/
|
|
1055
1055
|
get summaryRowSection() {
|
|
1056
|
-
const r = this.i.
|
|
1056
|
+
const r = this.i.summaryRowSection;
|
|
1057
1057
|
if (r == null) {
|
|
1058
1058
|
return null;
|
|
1059
1059
|
}
|
|
@@ -1069,13 +1069,13 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
1069
1069
|
set summaryRowSection(v) {
|
|
1070
1070
|
if (v != null && this._stylingContainer && v._styling)
|
|
1071
1071
|
v._styling(this._stylingContainer, this, this);
|
|
1072
|
-
v == null ? this.i.
|
|
1072
|
+
v == null ? this.i.summaryRowSection = null : this.i.summaryRowSection = v.i;
|
|
1073
1073
|
}
|
|
1074
1074
|
/**
|
|
1075
1075
|
* Gets or sets the row seperator settings.
|
|
1076
1076
|
*/
|
|
1077
1077
|
get rowSeparator() {
|
|
1078
|
-
const r = this.i.
|
|
1078
|
+
const r = this.i.rowSeparator;
|
|
1079
1079
|
if (r == null) {
|
|
1080
1080
|
return null;
|
|
1081
1081
|
}
|
|
@@ -1091,13 +1091,13 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
1091
1091
|
set rowSeparator(v) {
|
|
1092
1092
|
if (v != null && this._stylingContainer && v._styling)
|
|
1093
1093
|
v._styling(this._stylingContainer, this, this);
|
|
1094
|
-
v == null ? this.i.
|
|
1094
|
+
v == null ? this.i.rowSeparator = null : this.i.rowSeparator = v.i;
|
|
1095
1095
|
}
|
|
1096
1096
|
/**
|
|
1097
1097
|
* Gets or sets the header row seperator settings.
|
|
1098
1098
|
*/
|
|
1099
1099
|
get headerRowSeparator() {
|
|
1100
|
-
const r = this.i.
|
|
1100
|
+
const r = this.i.headerRowSeparator;
|
|
1101
1101
|
if (r == null) {
|
|
1102
1102
|
return null;
|
|
1103
1103
|
}
|
|
@@ -1113,13 +1113,13 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
1113
1113
|
set headerRowSeparator(v) {
|
|
1114
1114
|
if (v != null && this._stylingContainer && v._styling)
|
|
1115
1115
|
v._styling(this._stylingContainer, this, this);
|
|
1116
|
-
v == null ? this.i.
|
|
1116
|
+
v == null ? this.i.headerRowSeparator = null : this.i.headerRowSeparator = v.i;
|
|
1117
1117
|
}
|
|
1118
1118
|
/**
|
|
1119
1119
|
* Gets or sets the header seperator settings.
|
|
1120
1120
|
*/
|
|
1121
1121
|
get headerSeparator() {
|
|
1122
|
-
const r = this.i.
|
|
1122
|
+
const r = this.i.headerSeparator;
|
|
1123
1123
|
if (r == null) {
|
|
1124
1124
|
return null;
|
|
1125
1125
|
}
|
|
@@ -1135,13 +1135,13 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
1135
1135
|
set headerSeparator(v) {
|
|
1136
1136
|
if (v != null && this._stylingContainer && v._styling)
|
|
1137
1137
|
v._styling(this._stylingContainer, this, this);
|
|
1138
|
-
v == null ? this.i.
|
|
1138
|
+
v == null ? this.i.headerSeparator = null : this.i.headerSeparator = v.i;
|
|
1139
1139
|
}
|
|
1140
1140
|
/**
|
|
1141
1141
|
* Gets or sets the column resizing seperator settings.
|
|
1142
1142
|
*/
|
|
1143
1143
|
get columnResizingSeparator() {
|
|
1144
|
-
const r = this.i.
|
|
1144
|
+
const r = this.i.columnResizingSeparator;
|
|
1145
1145
|
if (r == null) {
|
|
1146
1146
|
return null;
|
|
1147
1147
|
}
|
|
@@ -1157,13 +1157,13 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
1157
1157
|
set columnResizingSeparator(v) {
|
|
1158
1158
|
if (v != null && this._stylingContainer && v._styling)
|
|
1159
1159
|
v._styling(this._stylingContainer, this, this);
|
|
1160
|
-
v == null ? this.i.
|
|
1160
|
+
v == null ? this.i.columnResizingSeparator = null : this.i.columnResizingSeparator = v.i;
|
|
1161
1161
|
}
|
|
1162
1162
|
/**
|
|
1163
1163
|
* Gets or sets the column resizing seperator settings.
|
|
1164
1164
|
*/
|
|
1165
1165
|
get columnMovingSeparator() {
|
|
1166
|
-
const r = this.i.
|
|
1166
|
+
const r = this.i.columnMovingSeparator;
|
|
1167
1167
|
if (r == null) {
|
|
1168
1168
|
return null;
|
|
1169
1169
|
}
|
|
@@ -1179,13 +1179,13 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
1179
1179
|
set columnMovingSeparator(v) {
|
|
1180
1180
|
if (v != null && this._stylingContainer && v._styling)
|
|
1181
1181
|
v._styling(this._stylingContainer, this, this);
|
|
1182
|
-
v == null ? this.i.
|
|
1182
|
+
v == null ? this.i.columnMovingSeparator = null : this.i.columnMovingSeparator = v.i;
|
|
1183
1183
|
}
|
|
1184
1184
|
/**
|
|
1185
1185
|
* Gets or sets the pinned area separator settings.
|
|
1186
1186
|
*/
|
|
1187
1187
|
get pinnedAreaSeparator() {
|
|
1188
|
-
const r = this.i.
|
|
1188
|
+
const r = this.i.pinnedAreaSeparator;
|
|
1189
1189
|
if (r == null) {
|
|
1190
1190
|
return null;
|
|
1191
1191
|
}
|
|
@@ -1201,174 +1201,174 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
1201
1201
|
set pinnedAreaSeparator(v) {
|
|
1202
1202
|
if (v != null && this._stylingContainer && v._styling)
|
|
1203
1203
|
v._styling(this._stylingContainer, this, this);
|
|
1204
|
-
v == null ? this.i.
|
|
1204
|
+
v == null ? this.i.pinnedAreaSeparator = null : this.i.pinnedAreaSeparator = v.i;
|
|
1205
1205
|
}
|
|
1206
1206
|
/**
|
|
1207
1207
|
* Gets or sets the desired properties the grid will automatically generate columns for.
|
|
1208
1208
|
*/
|
|
1209
1209
|
get autoGenerateDesiredProperties() {
|
|
1210
|
-
return this.i.
|
|
1210
|
+
return this.i.autoGenerateDesiredProperties;
|
|
1211
1211
|
}
|
|
1212
1212
|
set autoGenerateDesiredProperties(v) {
|
|
1213
1213
|
if (v && !Array.isArray(v) && typeof (v) == "string") {
|
|
1214
1214
|
const re = /\s*(?:,|\s|$)\s*/gm;
|
|
1215
1215
|
v = v.split(re);
|
|
1216
1216
|
}
|
|
1217
|
-
this.i.
|
|
1217
|
+
this.i.autoGenerateDesiredProperties = v;
|
|
1218
1218
|
}
|
|
1219
1219
|
/**
|
|
1220
1220
|
* Gets or sets the desired properties for the data source to load. If specified the data source may decide to constrain the properties it fetches to these properties and must make sure that at least those properties are loaded, rather than the default behavior for that data source.
|
|
1221
1221
|
*/
|
|
1222
1222
|
get dataSourceDesiredProperties() {
|
|
1223
|
-
return this.i.
|
|
1223
|
+
return this.i.dataSourceDesiredProperties;
|
|
1224
1224
|
}
|
|
1225
1225
|
set dataSourceDesiredProperties(v) {
|
|
1226
1226
|
if (v && !Array.isArray(v) && typeof (v) == "string") {
|
|
1227
1227
|
const re = /\s*(?:,|\s|$)\s*/gm;
|
|
1228
1228
|
v = v.split(re);
|
|
1229
1229
|
}
|
|
1230
|
-
this.i.
|
|
1230
|
+
this.i.dataSourceDesiredProperties = v;
|
|
1231
1231
|
}
|
|
1232
1232
|
/**
|
|
1233
1233
|
* Gets or sets the display density to use for the grid.
|
|
1234
1234
|
*/
|
|
1235
1235
|
get density() {
|
|
1236
|
-
return this.i.
|
|
1236
|
+
return this.i.density;
|
|
1237
1237
|
}
|
|
1238
1238
|
set density(v) {
|
|
1239
|
-
this.i.
|
|
1240
|
-
this._a("density", enumToString(ControlDisplayDensity_$type, this.i.
|
|
1239
|
+
this.i.density = ensureEnum(ControlDisplayDensity_$type, v);
|
|
1240
|
+
this._a("density", enumToString(ControlDisplayDensity_$type, this.i.density));
|
|
1241
1241
|
}
|
|
1242
1242
|
/**
|
|
1243
1243
|
* Gets the actual height for the rows in the grid.
|
|
1244
1244
|
*/
|
|
1245
1245
|
get actualRowHeight() {
|
|
1246
|
-
return this.i.
|
|
1246
|
+
return this.i.actualRowHeight;
|
|
1247
1247
|
}
|
|
1248
1248
|
set actualRowHeight(v) {
|
|
1249
|
-
this.i.
|
|
1250
|
-
this._a("actualRowHeight", this.i.
|
|
1249
|
+
this.i.actualRowHeight = +v;
|
|
1250
|
+
this._a("actualRowHeight", this.i.actualRowHeight);
|
|
1251
1251
|
}
|
|
1252
1252
|
/**
|
|
1253
1253
|
* Gets or sets the height to use for the rows in the grid. If not set the grid will
|
|
1254
1254
|
* use the default value for the set display density.
|
|
1255
1255
|
*/
|
|
1256
1256
|
get rowHeight() {
|
|
1257
|
-
return this.i.
|
|
1257
|
+
return this.i.rowHeight;
|
|
1258
1258
|
}
|
|
1259
1259
|
set rowHeight(v) {
|
|
1260
|
-
this.i.
|
|
1261
|
-
this._a("rowHeight", this.i.
|
|
1260
|
+
this.i.rowHeight = +v;
|
|
1261
|
+
this._a("rowHeight", this.i.rowHeight);
|
|
1262
1262
|
}
|
|
1263
1263
|
/**
|
|
1264
1264
|
* Gets or sets the default minimum width to use on all columns. Ignored if NaN.
|
|
1265
1265
|
*/
|
|
1266
1266
|
get defaultColumnMinWidth() {
|
|
1267
|
-
return this.i.
|
|
1267
|
+
return this.i.defaultColumnMinWidth;
|
|
1268
1268
|
}
|
|
1269
1269
|
set defaultColumnMinWidth(v) {
|
|
1270
|
-
this.i.
|
|
1271
|
-
this._a("defaultColumnMinWidth", this.i.
|
|
1270
|
+
this.i.defaultColumnMinWidth = +v;
|
|
1271
|
+
this._a("defaultColumnMinWidth", this.i.defaultColumnMinWidth);
|
|
1272
1272
|
}
|
|
1273
1273
|
/**
|
|
1274
1274
|
* Gets the height used for the header row.
|
|
1275
1275
|
*/
|
|
1276
1276
|
get actualHeaderHeight() {
|
|
1277
|
-
return this.i.
|
|
1277
|
+
return this.i.actualHeaderHeight;
|
|
1278
1278
|
}
|
|
1279
1279
|
set actualHeaderHeight(v) {
|
|
1280
|
-
this.i.
|
|
1281
|
-
this._a("actualHeaderHeight", this.i.
|
|
1280
|
+
this.i.actualHeaderHeight = +v;
|
|
1281
|
+
this._a("actualHeaderHeight", this.i.actualHeaderHeight);
|
|
1282
1282
|
}
|
|
1283
1283
|
/**
|
|
1284
1284
|
* Gets or sets the height to use for the header row.
|
|
1285
1285
|
*/
|
|
1286
1286
|
get headerHeight() {
|
|
1287
|
-
return this.i.
|
|
1287
|
+
return this.i.headerHeight;
|
|
1288
1288
|
}
|
|
1289
1289
|
set headerHeight(v) {
|
|
1290
|
-
this.i.
|
|
1291
|
-
this._a("headerHeight", this.i.
|
|
1290
|
+
this.i.headerHeight = +v;
|
|
1291
|
+
this._a("headerHeight", this.i.headerHeight);
|
|
1292
1292
|
}
|
|
1293
1293
|
/**
|
|
1294
1294
|
* Returns/sets the action to take when a column header is clicked.
|
|
1295
1295
|
*/
|
|
1296
1296
|
get headerClickAction() {
|
|
1297
|
-
return this.i.
|
|
1297
|
+
return this.i.headerClickAction;
|
|
1298
1298
|
}
|
|
1299
1299
|
set headerClickAction(v) {
|
|
1300
|
-
this.i.
|
|
1301
|
-
this._a("headerClickAction", enumToString(HeaderClickAction_$type, this.i.
|
|
1300
|
+
this.i.headerClickAction = ensureEnum(HeaderClickAction_$type, v);
|
|
1301
|
+
this._a("headerClickAction", enumToString(HeaderClickAction_$type, this.i.headerClickAction));
|
|
1302
1302
|
}
|
|
1303
1303
|
/**
|
|
1304
1304
|
* Gets or sets the type of edit mode
|
|
1305
1305
|
*/
|
|
1306
1306
|
get editMode() {
|
|
1307
|
-
return this.i.
|
|
1307
|
+
return this.i.editMode;
|
|
1308
1308
|
}
|
|
1309
1309
|
set editMode(v) {
|
|
1310
|
-
this.i.
|
|
1311
|
-
this._a("editMode", enumToString(EditModeType_$type, this.i.
|
|
1310
|
+
this.i.editMode = ensureEnum(EditModeType_$type, v);
|
|
1311
|
+
this._a("editMode", enumToString(EditModeType_$type, this.i.editMode));
|
|
1312
1312
|
}
|
|
1313
1313
|
/**
|
|
1314
1314
|
* Gets or sets the type of click action required to enter edit mode.
|
|
1315
1315
|
*/
|
|
1316
1316
|
get editModeClickAction() {
|
|
1317
|
-
return this.i.
|
|
1317
|
+
return this.i.editModeClickAction;
|
|
1318
1318
|
}
|
|
1319
1319
|
set editModeClickAction(v) {
|
|
1320
|
-
this.i.
|
|
1321
|
-
this._a("editModeClickAction", enumToString(EditModeClickAction_$type, this.i.
|
|
1320
|
+
this.i.editModeClickAction = ensureEnum(EditModeClickAction_$type, v);
|
|
1321
|
+
this._a("editModeClickAction", enumToString(EditModeClickAction_$type, this.i.editModeClickAction));
|
|
1322
1322
|
}
|
|
1323
1323
|
/**
|
|
1324
1324
|
* Gets or sets whether edit mode will begin as soon as you start typing while a cell is active.
|
|
1325
1325
|
*/
|
|
1326
1326
|
get editOnKeyPress() {
|
|
1327
|
-
return this.i.
|
|
1327
|
+
return this.i.editOnKeyPress;
|
|
1328
1328
|
}
|
|
1329
1329
|
set editOnKeyPress(v) {
|
|
1330
|
-
this.i.
|
|
1331
|
-
this._a("editOnKeyPress", this.i.
|
|
1330
|
+
this.i.editOnKeyPress = ensureBool(v);
|
|
1331
|
+
this._a("editOnKeyPress", this.i.editOnKeyPress);
|
|
1332
1332
|
}
|
|
1333
1333
|
/**
|
|
1334
1334
|
* Configures whether or not the grid will autogenerate columns when the data source is set.
|
|
1335
1335
|
*/
|
|
1336
1336
|
get autoGenerateColumns() {
|
|
1337
|
-
return this.i.
|
|
1337
|
+
return this.i.autoGenerateColumns;
|
|
1338
1338
|
}
|
|
1339
1339
|
set autoGenerateColumns(v) {
|
|
1340
|
-
this.i.
|
|
1341
|
-
this._a("autoGenerateColumns", this.i.
|
|
1340
|
+
this.i.autoGenerateColumns = ensureBool(v);
|
|
1341
|
+
this._a("autoGenerateColumns", this.i.autoGenerateColumns);
|
|
1342
1342
|
}
|
|
1343
1343
|
/**
|
|
1344
1344
|
* Sets or gets the height to use for the row separators.
|
|
1345
1345
|
*/
|
|
1346
1346
|
get rowSeparatorHeight() {
|
|
1347
|
-
return this.i.
|
|
1347
|
+
return this.i.rowSeparatorHeight;
|
|
1348
1348
|
}
|
|
1349
1349
|
set rowSeparatorHeight(v) {
|
|
1350
|
-
this.i.
|
|
1351
|
-
this._a("rowSeparatorHeight", this.i.
|
|
1350
|
+
this.i.rowSeparatorHeight = +v;
|
|
1351
|
+
this._a("rowSeparatorHeight", this.i.rowSeparatorHeight);
|
|
1352
1352
|
}
|
|
1353
1353
|
/**
|
|
1354
1354
|
* Configures whether or not place holders are used for cells who do not have their data yet.
|
|
1355
1355
|
*/
|
|
1356
1356
|
get isPlaceholderRenderingEnabled() {
|
|
1357
|
-
return this.i.
|
|
1357
|
+
return this.i.isPlaceholderRenderingEnabled;
|
|
1358
1358
|
}
|
|
1359
1359
|
set isPlaceholderRenderingEnabled(v) {
|
|
1360
|
-
this.i.
|
|
1361
|
-
this._a("isPlaceholderRenderingEnabled", this.i.
|
|
1360
|
+
this.i.isPlaceholderRenderingEnabled = ensureBool(v);
|
|
1361
|
+
this._a("isPlaceholderRenderingEnabled", this.i.isPlaceholderRenderingEnabled);
|
|
1362
1362
|
}
|
|
1363
1363
|
/**
|
|
1364
1364
|
* Sets or gets the Column Adding Animation mode to use.
|
|
1365
1365
|
*/
|
|
1366
1366
|
get columnAddingAnimationMode() {
|
|
1367
|
-
return this.i.
|
|
1367
|
+
return this.i.columnAddingAnimationMode;
|
|
1368
1368
|
}
|
|
1369
1369
|
set columnAddingAnimationMode(v) {
|
|
1370
|
-
this.i.
|
|
1371
|
-
this._a("columnAddingAnimationMode", enumToString(ColumnShowingAnimationMode_$type, this.i.
|
|
1370
|
+
this.i.columnAddingAnimationMode = ensureEnum(ColumnShowingAnimationMode_$type, v);
|
|
1371
|
+
this._a("columnAddingAnimationMode", enumToString(ColumnShowingAnimationMode_$type, this.i.columnAddingAnimationMode));
|
|
1372
1372
|
}
|
|
1373
1373
|
/**
|
|
1374
1374
|
* Sets or gets the Column Property Updating Animation mode to use.
|
|
@@ -1384,47 +1384,47 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
1384
1384
|
* Sets or gets the cell data loaded animation mode to use.
|
|
1385
1385
|
*/
|
|
1386
1386
|
get cellDataLoadedAnimationMode() {
|
|
1387
|
-
return this.i.
|
|
1387
|
+
return this.i.cellDataLoadedAnimationMode;
|
|
1388
1388
|
}
|
|
1389
1389
|
set cellDataLoadedAnimationMode(v) {
|
|
1390
|
-
this.i.
|
|
1391
|
-
this._a("cellDataLoadedAnimationMode", enumToString(CellDataLoadedAnimationMode_$type, this.i.
|
|
1390
|
+
this.i.cellDataLoadedAnimationMode = ensureEnum(CellDataLoadedAnimationMode_$type, v);
|
|
1391
|
+
this._a("cellDataLoadedAnimationMode", enumToString(CellDataLoadedAnimationMode_$type, this.i.cellDataLoadedAnimationMode));
|
|
1392
1392
|
}
|
|
1393
1393
|
/**
|
|
1394
1394
|
* Sets or gets the row selection animation mode to use.
|
|
1395
1395
|
*/
|
|
1396
1396
|
get rowSelectionAnimationMode() {
|
|
1397
|
-
return this.i.
|
|
1397
|
+
return this.i.rowSelectionAnimationMode;
|
|
1398
1398
|
}
|
|
1399
1399
|
set rowSelectionAnimationMode(v) {
|
|
1400
|
-
this.i.
|
|
1401
|
-
this._a("rowSelectionAnimationMode", enumToString(RowSelectionAnimationMode_$type, this.i.
|
|
1400
|
+
this.i.rowSelectionAnimationMode = ensureEnum(RowSelectionAnimationMode_$type, v);
|
|
1401
|
+
this._a("rowSelectionAnimationMode", enumToString(RowSelectionAnimationMode_$type, this.i.rowSelectionAnimationMode));
|
|
1402
1402
|
}
|
|
1403
1403
|
/**
|
|
1404
1404
|
* Sets or gets the row hover animation mode to use.
|
|
1405
1405
|
*/
|
|
1406
1406
|
get rowHoverAnimationMode() {
|
|
1407
|
-
return this.i.
|
|
1407
|
+
return this.i.rowHoverAnimationMode;
|
|
1408
1408
|
}
|
|
1409
1409
|
set rowHoverAnimationMode(v) {
|
|
1410
|
-
this.i.
|
|
1411
|
-
this._a("rowHoverAnimationMode", enumToString(RowHoverAnimationMode_$type, this.i.
|
|
1410
|
+
this.i.rowHoverAnimationMode = ensureEnum(RowHoverAnimationMode_$type, v);
|
|
1411
|
+
this._a("rowHoverAnimationMode", enumToString(RowHoverAnimationMode_$type, this.i.rowHoverAnimationMode));
|
|
1412
1412
|
}
|
|
1413
1413
|
/**
|
|
1414
1414
|
* Sets or gets the cell selection animation mode to use.
|
|
1415
1415
|
*/
|
|
1416
1416
|
get cellSelectionAnimationMode() {
|
|
1417
|
-
return this.i.
|
|
1417
|
+
return this.i.cellSelectionAnimationMode;
|
|
1418
1418
|
}
|
|
1419
1419
|
set cellSelectionAnimationMode(v) {
|
|
1420
|
-
this.i.
|
|
1421
|
-
this._a("cellSelectionAnimationMode", enumToString(CellSelectionAnimationMode_$type, this.i.
|
|
1420
|
+
this.i.cellSelectionAnimationMode = ensureEnum(CellSelectionAnimationMode_$type, v);
|
|
1421
|
+
this._a("cellSelectionAnimationMode", enumToString(CellSelectionAnimationMode_$type, this.i.cellSelectionAnimationMode));
|
|
1422
1422
|
}
|
|
1423
1423
|
/**
|
|
1424
1424
|
* Sets or gets the default animation settings for the grid.
|
|
1425
1425
|
*/
|
|
1426
1426
|
get animationSettings() {
|
|
1427
|
-
const r = this.i.
|
|
1427
|
+
const r = this.i.animationSettings;
|
|
1428
1428
|
if (r == null) {
|
|
1429
1429
|
return null;
|
|
1430
1430
|
}
|
|
@@ -1443,97 +1443,97 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
1443
1443
|
return r.externalObject;
|
|
1444
1444
|
}
|
|
1445
1445
|
set animationSettings(v) {
|
|
1446
|
-
v == null ? this.i.
|
|
1446
|
+
v == null ? this.i.animationSettings = null : this.i.animationSettings = v.i;
|
|
1447
1447
|
}
|
|
1448
1448
|
/**
|
|
1449
1449
|
* Sets or gets the column resizing animation mode to use. Only applies when resizing in Deferred mode.
|
|
1450
1450
|
*/
|
|
1451
1451
|
get columnResizingAnimationMode() {
|
|
1452
|
-
return this.i.
|
|
1452
|
+
return this.i.columnResizingAnimationMode;
|
|
1453
1453
|
}
|
|
1454
1454
|
set columnResizingAnimationMode(v) {
|
|
1455
|
-
this.i.
|
|
1456
|
-
this._a("columnResizingAnimationMode", enumToString(ColumnResizingAnimationMode_$type, this.i.
|
|
1455
|
+
this.i.columnResizingAnimationMode = ensureEnum(ColumnResizingAnimationMode_$type, v);
|
|
1456
|
+
this._a("columnResizingAnimationMode", enumToString(ColumnResizingAnimationMode_$type, this.i.columnResizingAnimationMode));
|
|
1457
1457
|
}
|
|
1458
1458
|
/**
|
|
1459
1459
|
* Sets or gets the column showing animation mode to use.
|
|
1460
1460
|
*/
|
|
1461
1461
|
get columnShowingAnimationMode() {
|
|
1462
|
-
return this.i.
|
|
1462
|
+
return this.i.columnShowingAnimationMode;
|
|
1463
1463
|
}
|
|
1464
1464
|
set columnShowingAnimationMode(v) {
|
|
1465
|
-
this.i.
|
|
1466
|
-
this._a("columnShowingAnimationMode", enumToString(ColumnShowingAnimationMode_$type, this.i.
|
|
1465
|
+
this.i.columnShowingAnimationMode = ensureEnum(ColumnShowingAnimationMode_$type, v);
|
|
1466
|
+
this._a("columnShowingAnimationMode", enumToString(ColumnShowingAnimationMode_$type, this.i.columnShowingAnimationMode));
|
|
1467
1467
|
}
|
|
1468
1468
|
/**
|
|
1469
1469
|
* Sets or gets the column moving animation mode to use.
|
|
1470
1470
|
*/
|
|
1471
1471
|
get columnMovingAnimationMode() {
|
|
1472
|
-
return this.i.
|
|
1472
|
+
return this.i.columnMovingAnimationMode;
|
|
1473
1473
|
}
|
|
1474
1474
|
set columnMovingAnimationMode(v) {
|
|
1475
|
-
this.i.
|
|
1476
|
-
this._a("columnMovingAnimationMode", enumToString(ColumnMovingAnimationMode_$type, this.i.
|
|
1475
|
+
this.i.columnMovingAnimationMode = ensureEnum(ColumnMovingAnimationMode_$type, v);
|
|
1476
|
+
this._a("columnMovingAnimationMode", enumToString(ColumnMovingAnimationMode_$type, this.i.columnMovingAnimationMode));
|
|
1477
1477
|
}
|
|
1478
1478
|
/**
|
|
1479
1479
|
* Sets or gets the column hiding animation mode to use.
|
|
1480
1480
|
*/
|
|
1481
1481
|
get columnHidingAnimationMode() {
|
|
1482
|
-
return this.i.
|
|
1482
|
+
return this.i.columnHidingAnimationMode;
|
|
1483
1483
|
}
|
|
1484
1484
|
set columnHidingAnimationMode(v) {
|
|
1485
|
-
this.i.
|
|
1486
|
-
this._a("columnHidingAnimationMode", enumToString(ColumnHidingAnimationMode_$type, this.i.
|
|
1485
|
+
this.i.columnHidingAnimationMode = ensureEnum(ColumnHidingAnimationMode_$type, v);
|
|
1486
|
+
this._a("columnHidingAnimationMode", enumToString(ColumnHidingAnimationMode_$type, this.i.columnHidingAnimationMode));
|
|
1487
1487
|
}
|
|
1488
1488
|
/**
|
|
1489
1489
|
* Sets or gets the column exchanging animation mode to use.
|
|
1490
1490
|
*/
|
|
1491
1491
|
get columnExchangingAnimationMode() {
|
|
1492
|
-
return this.i.
|
|
1492
|
+
return this.i.columnExchangingAnimationMode;
|
|
1493
1493
|
}
|
|
1494
1494
|
set columnExchangingAnimationMode(v) {
|
|
1495
|
-
this.i.
|
|
1496
|
-
this._a("columnExchangingAnimationMode", enumToString(ColumnExchangingAnimationMode_$type, this.i.
|
|
1495
|
+
this.i.columnExchangingAnimationMode = ensureEnum(ColumnExchangingAnimationMode_$type, v);
|
|
1496
|
+
this._a("columnExchangingAnimationMode", enumToString(ColumnExchangingAnimationMode_$type, this.i.columnExchangingAnimationMode));
|
|
1497
1497
|
}
|
|
1498
1498
|
/**
|
|
1499
1499
|
* Sets or gets the grid selection mode.
|
|
1500
1500
|
*/
|
|
1501
1501
|
get selectionMode() {
|
|
1502
|
-
return this.i.
|
|
1502
|
+
return this.i.selectionMode;
|
|
1503
1503
|
}
|
|
1504
1504
|
set selectionMode(v) {
|
|
1505
|
-
this.i.
|
|
1506
|
-
this._a("selectionMode", enumToString(DataGridSelectionMode_$type, this.i.
|
|
1505
|
+
this.i.selectionMode = ensureEnum(DataGridSelectionMode_$type, v);
|
|
1506
|
+
this._a("selectionMode", enumToString(DataGridSelectionMode_$type, this.i.selectionMode));
|
|
1507
1507
|
}
|
|
1508
1508
|
/**
|
|
1509
1509
|
* Sets or gets the grid selection mode.
|
|
1510
1510
|
*/
|
|
1511
1511
|
get activationMode() {
|
|
1512
|
-
return this.i.
|
|
1512
|
+
return this.i.activationMode;
|
|
1513
1513
|
}
|
|
1514
1514
|
set activationMode(v) {
|
|
1515
|
-
this.i.
|
|
1516
|
-
this._a("activationMode", enumToString(GridActivationMode_$type, this.i.
|
|
1515
|
+
this.i.activationMode = ensureEnum(GridActivationMode_$type, v);
|
|
1516
|
+
this._a("activationMode", enumToString(GridActivationMode_$type, this.i.activationMode));
|
|
1517
1517
|
}
|
|
1518
1518
|
/**
|
|
1519
1519
|
* Sets or gets how selection behaves in the grid.
|
|
1520
1520
|
*/
|
|
1521
1521
|
get selectionBehavior() {
|
|
1522
|
-
return this.i.
|
|
1522
|
+
return this.i.selectionBehavior;
|
|
1523
1523
|
}
|
|
1524
1524
|
set selectionBehavior(v) {
|
|
1525
|
-
this.i.
|
|
1526
|
-
this._a("selectionBehavior", enumToString(GridSelectionBehavior_$type, this.i.
|
|
1525
|
+
this.i.selectionBehavior = ensureEnum(GridSelectionBehavior_$type, v);
|
|
1526
|
+
this._a("selectionBehavior", enumToString(GridSelectionBehavior_$type, this.i.selectionBehavior));
|
|
1527
1527
|
}
|
|
1528
1528
|
/**
|
|
1529
1529
|
* Gets or sets the ability to select rows or cells via mouse dragging. Currently only applies when SelectionMode is MultipleRow or RangeCell.
|
|
1530
1530
|
*/
|
|
1531
1531
|
get mouseDragSelectionEnabled() {
|
|
1532
|
-
return this.i.
|
|
1532
|
+
return this.i.mouseDragSelectionEnabled;
|
|
1533
1533
|
}
|
|
1534
1534
|
set mouseDragSelectionEnabled(v) {
|
|
1535
|
-
this.i.
|
|
1536
|
-
this._a("mouseDragSelectionEnabled", this.i.
|
|
1535
|
+
this.i.mouseDragSelectionEnabled = ensureBool(v);
|
|
1536
|
+
this._a("mouseDragSelectionEnabled", this.i.mouseDragSelectionEnabled);
|
|
1537
1537
|
}
|
|
1538
1538
|
/**
|
|
1539
1539
|
* Gets which items are currently selected in the grid. Collection can be updated to programatically select items.
|
|
@@ -1541,7 +1541,7 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
1541
1541
|
get selectedItems() {
|
|
1542
1542
|
if (this._selectedItems === null) {
|
|
1543
1543
|
let coll = new IgcGridSelectedItemsCollection();
|
|
1544
|
-
let innerColl = this.i.
|
|
1544
|
+
let innerColl = this.i.selectedItems;
|
|
1545
1545
|
if (!innerColl) {
|
|
1546
1546
|
innerColl = new GridSelectedItemsCollection_internal();
|
|
1547
1547
|
}
|
|
@@ -1557,7 +1557,7 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
1557
1557
|
let coll = new IgcGridSelectedItemsCollection();
|
|
1558
1558
|
this._selectedItems = coll._fromOuter(v);
|
|
1559
1559
|
let syncColl = new SyncableObservableCollection$1(Base.$type);
|
|
1560
|
-
let innerColl = this.i.
|
|
1560
|
+
let innerColl = this.i.selectedItems;
|
|
1561
1561
|
if (!innerColl) {
|
|
1562
1562
|
innerColl = new GridSelectedItemsCollection_internal();
|
|
1563
1563
|
}
|
|
@@ -1571,7 +1571,7 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
1571
1571
|
get selectedKeys() {
|
|
1572
1572
|
if (this._selectedKeys === null) {
|
|
1573
1573
|
let coll = new IgcGridSelectedKeysCollection();
|
|
1574
|
-
let innerColl = this.i.
|
|
1574
|
+
let innerColl = this.i.selectedKeys;
|
|
1575
1575
|
if (!innerColl) {
|
|
1576
1576
|
innerColl = new GridSelectedKeysCollection_internal();
|
|
1577
1577
|
}
|
|
@@ -1587,7 +1587,7 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
1587
1587
|
let coll = new IgcGridSelectedKeysCollection();
|
|
1588
1588
|
this._selectedKeys = coll._fromOuter(v);
|
|
1589
1589
|
let syncColl = new SyncableObservableCollection$1(PrimaryKeyValue.$type);
|
|
1590
|
-
let innerColl = this.i.
|
|
1590
|
+
let innerColl = this.i.selectedKeys;
|
|
1591
1591
|
if (!innerColl) {
|
|
1592
1592
|
innerColl = new GridSelectedKeysCollection_internal();
|
|
1593
1593
|
}
|
|
@@ -1601,7 +1601,7 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
1601
1601
|
get selectedCells() {
|
|
1602
1602
|
if (this._selectedCells === null) {
|
|
1603
1603
|
let coll = new IgcGridSelectedCellsCollection();
|
|
1604
|
-
let innerColl = this.i.
|
|
1604
|
+
let innerColl = this.i.selectedCells;
|
|
1605
1605
|
if (!innerColl) {
|
|
1606
1606
|
innerColl = new GridSelectedCellsCollection_internal();
|
|
1607
1607
|
}
|
|
@@ -1617,7 +1617,7 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
1617
1617
|
let coll = new IgcGridSelectedCellsCollection();
|
|
1618
1618
|
this._selectedCells = coll._fromOuter(v);
|
|
1619
1619
|
let syncColl = new SyncableObservableCollection$1(CellKey.$type);
|
|
1620
|
-
let innerColl = this.i.
|
|
1620
|
+
let innerColl = this.i.selectedCells;
|
|
1621
1621
|
if (!innerColl) {
|
|
1622
1622
|
innerColl = new GridSelectedCellsCollection_internal();
|
|
1623
1623
|
}
|
|
@@ -1631,7 +1631,7 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
1631
1631
|
get selectedCellRanges() {
|
|
1632
1632
|
if (this._selectedCellRanges === null) {
|
|
1633
1633
|
let coll = new IgcGridSelectedCellRangesCollection();
|
|
1634
|
-
let innerColl = this.i.
|
|
1634
|
+
let innerColl = this.i.selectedCellRanges;
|
|
1635
1635
|
if (!innerColl) {
|
|
1636
1636
|
innerColl = new GridSelectedCellRangesCollection_internal();
|
|
1637
1637
|
}
|
|
@@ -1647,7 +1647,7 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
1647
1647
|
let coll = new IgcGridSelectedCellRangesCollection();
|
|
1648
1648
|
this._selectedCellRanges = coll._fromOuter(v);
|
|
1649
1649
|
let syncColl = new SyncableObservableCollection$1(CellRange.$type);
|
|
1650
|
-
let innerColl = this.i.
|
|
1650
|
+
let innerColl = this.i.selectedCellRanges;
|
|
1651
1651
|
if (!innerColl) {
|
|
1652
1652
|
innerColl = new GridSelectedCellRangesCollection_internal();
|
|
1653
1653
|
}
|
|
@@ -1661,7 +1661,7 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
1661
1661
|
get pinnedItems() {
|
|
1662
1662
|
if (this._pinnedItems === null) {
|
|
1663
1663
|
let coll = new IgcGridSelectedItemsCollection();
|
|
1664
|
-
let innerColl = this.i.
|
|
1664
|
+
let innerColl = this.i.pinnedItems;
|
|
1665
1665
|
if (!innerColl) {
|
|
1666
1666
|
innerColl = new GridSelectedItemsCollection_internal();
|
|
1667
1667
|
}
|
|
@@ -1677,7 +1677,7 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
1677
1677
|
let coll = new IgcGridSelectedItemsCollection();
|
|
1678
1678
|
this._pinnedItems = coll._fromOuter(v);
|
|
1679
1679
|
let syncColl = new SyncableObservableCollection$1(Base.$type);
|
|
1680
|
-
let innerColl = this.i.
|
|
1680
|
+
let innerColl = this.i.pinnedItems;
|
|
1681
1681
|
if (!innerColl) {
|
|
1682
1682
|
innerColl = new GridSelectedItemsCollection_internal();
|
|
1683
1683
|
}
|
|
@@ -1691,7 +1691,7 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
1691
1691
|
get pinnedKeys() {
|
|
1692
1692
|
if (this._pinnedKeys === null) {
|
|
1693
1693
|
let coll = new IgcGridSelectedKeysCollection();
|
|
1694
|
-
let innerColl = this.i.
|
|
1694
|
+
let innerColl = this.i.pinnedKeys;
|
|
1695
1695
|
if (!innerColl) {
|
|
1696
1696
|
innerColl = new GridSelectedKeysCollection_internal();
|
|
1697
1697
|
}
|
|
@@ -1707,7 +1707,7 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
1707
1707
|
let coll = new IgcGridSelectedKeysCollection();
|
|
1708
1708
|
this._pinnedKeys = coll._fromOuter(v);
|
|
1709
1709
|
let syncColl = new SyncableObservableCollection$1(PrimaryKeyValue.$type);
|
|
1710
|
-
let innerColl = this.i.
|
|
1710
|
+
let innerColl = this.i.pinnedKeys;
|
|
1711
1711
|
if (!innerColl) {
|
|
1712
1712
|
innerColl = new GridSelectedKeysCollection_internal();
|
|
1713
1713
|
}
|
|
@@ -1719,152 +1719,152 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
1719
1719
|
* Gets or sets whether to show the column options UI in the headers for columns.
|
|
1720
1720
|
*/
|
|
1721
1721
|
get isColumnOptionsEnabled() {
|
|
1722
|
-
return this.i.
|
|
1722
|
+
return this.i.isColumnOptionsEnabled;
|
|
1723
1723
|
}
|
|
1724
1724
|
set isColumnOptionsEnabled(v) {
|
|
1725
|
-
this.i.
|
|
1726
|
-
this._a("isColumnOptionsEnabled", this.i.
|
|
1725
|
+
this.i.isColumnOptionsEnabled = ensureBool(v);
|
|
1726
|
+
this._a("isColumnOptionsEnabled", this.i.isColumnOptionsEnabled);
|
|
1727
1727
|
}
|
|
1728
1728
|
/**
|
|
1729
1729
|
* Gets or sets if group rows will stick to the top of the grid.
|
|
1730
1730
|
*/
|
|
1731
1731
|
get isGroupRowSticky() {
|
|
1732
|
-
return this.i.
|
|
1732
|
+
return this.i.isGroupRowSticky;
|
|
1733
1733
|
}
|
|
1734
1734
|
set isGroupRowSticky(v) {
|
|
1735
|
-
this.i.
|
|
1736
|
-
this._a("isGroupRowSticky", this.i.
|
|
1735
|
+
this.i.isGroupRowSticky = ensureBool(v);
|
|
1736
|
+
this._a("isGroupRowSticky", this.i.isGroupRowSticky);
|
|
1737
1737
|
}
|
|
1738
1738
|
/**
|
|
1739
1739
|
* Gets or sets if header separators are rendered.
|
|
1740
1740
|
*/
|
|
1741
1741
|
get isHeaderSeparatorVisible() {
|
|
1742
|
-
return this.i.
|
|
1742
|
+
return this.i.isHeaderSeparatorVisible;
|
|
1743
1743
|
}
|
|
1744
1744
|
set isHeaderSeparatorVisible(v) {
|
|
1745
|
-
this.i.
|
|
1746
|
-
this._a("isHeaderSeparatorVisible", this.i.
|
|
1745
|
+
this.i.isHeaderSeparatorVisible = ensureBool(v);
|
|
1746
|
+
this._a("isHeaderSeparatorVisible", this.i.isHeaderSeparatorVisible);
|
|
1747
1747
|
}
|
|
1748
1748
|
/**
|
|
1749
1749
|
* Gets or sets the default background color to use for content cells when a row is in a selected state
|
|
1750
1750
|
*/
|
|
1751
1751
|
get cellSelectedBackground() {
|
|
1752
|
-
return brushToString(this.i.
|
|
1752
|
+
return brushToString(this.i.cellSelectedBackground);
|
|
1753
1753
|
}
|
|
1754
1754
|
set cellSelectedBackground(v) {
|
|
1755
|
-
this.i.
|
|
1756
|
-
this._a("cellSelectedBackground", brushToString(this.i.
|
|
1755
|
+
this.i.cellSelectedBackground = stringToBrush(v);
|
|
1756
|
+
this._a("cellSelectedBackground", brushToString(this.i.cellSelectedBackground));
|
|
1757
1757
|
}
|
|
1758
1758
|
/**
|
|
1759
1759
|
* Gets or sets the default background color to use for section header cells when a row is in a selected state
|
|
1760
1760
|
*/
|
|
1761
1761
|
get sectionHeaderSelectedBackground() {
|
|
1762
|
-
return brushToString(this.i.
|
|
1762
|
+
return brushToString(this.i.sectionHeaderSelectedBackground);
|
|
1763
1763
|
}
|
|
1764
1764
|
set sectionHeaderSelectedBackground(v) {
|
|
1765
|
-
this.i.
|
|
1766
|
-
this._a("sectionHeaderSelectedBackground", brushToString(this.i.
|
|
1765
|
+
this.i.sectionHeaderSelectedBackground = stringToBrush(v);
|
|
1766
|
+
this._a("sectionHeaderSelectedBackground", brushToString(this.i.sectionHeaderSelectedBackground));
|
|
1767
1767
|
}
|
|
1768
1768
|
/**
|
|
1769
1769
|
* Gets or sets the default background color to use for summary cells at the root level.
|
|
1770
1770
|
*/
|
|
1771
1771
|
get summaryRootBackground() {
|
|
1772
|
-
return brushToString(this.i.
|
|
1772
|
+
return brushToString(this.i.summaryRootBackground);
|
|
1773
1773
|
}
|
|
1774
1774
|
set summaryRootBackground(v) {
|
|
1775
|
-
this.i.
|
|
1776
|
-
this._a("summaryRootBackground", brushToString(this.i.
|
|
1775
|
+
this.i.summaryRootBackground = stringToBrush(v);
|
|
1776
|
+
this._a("summaryRootBackground", brushToString(this.i.summaryRootBackground));
|
|
1777
1777
|
}
|
|
1778
1778
|
/**
|
|
1779
1779
|
* Gets or sets the default background color to use for summary cells at the section level.
|
|
1780
1780
|
*/
|
|
1781
1781
|
get summarySectionBackground() {
|
|
1782
|
-
return brushToString(this.i.
|
|
1782
|
+
return brushToString(this.i.summarySectionBackground);
|
|
1783
1783
|
}
|
|
1784
1784
|
set summarySectionBackground(v) {
|
|
1785
|
-
this.i.
|
|
1786
|
-
this._a("summarySectionBackground", brushToString(this.i.
|
|
1785
|
+
this.i.summarySectionBackground = stringToBrush(v);
|
|
1786
|
+
this._a("summarySectionBackground", brushToString(this.i.summarySectionBackground));
|
|
1787
1787
|
}
|
|
1788
1788
|
/**
|
|
1789
1789
|
* Gets or sets the default opacity to use for pinned rows
|
|
1790
1790
|
*/
|
|
1791
1791
|
get pinnedRowOpacity() {
|
|
1792
|
-
return this.i.
|
|
1792
|
+
return this.i.pinnedRowOpacity;
|
|
1793
1793
|
}
|
|
1794
1794
|
set pinnedRowOpacity(v) {
|
|
1795
|
-
this.i.
|
|
1796
|
-
this._a("pinnedRowOpacity", this.i.
|
|
1795
|
+
this.i.pinnedRowOpacity = +v;
|
|
1796
|
+
this._a("pinnedRowOpacity", this.i.pinnedRowOpacity);
|
|
1797
1797
|
}
|
|
1798
1798
|
/**
|
|
1799
1799
|
* Gets or sets the font to use for cells that have been edited.
|
|
1800
1800
|
*/
|
|
1801
1801
|
get editTextStyle() {
|
|
1802
|
-
if (this.i.
|
|
1802
|
+
if (this.i.editTextStyle == null) {
|
|
1803
1803
|
return null;
|
|
1804
1804
|
}
|
|
1805
|
-
return this.i.
|
|
1805
|
+
return this.i.editTextStyle.fontString;
|
|
1806
1806
|
}
|
|
1807
1807
|
set editTextStyle(v) {
|
|
1808
1808
|
let fi = new FontInfo();
|
|
1809
1809
|
fi.fontString = v;
|
|
1810
|
-
this.i.
|
|
1811
|
-
this._a("editTextStyle", this.i.
|
|
1810
|
+
this.i.editTextStyle = fi;
|
|
1811
|
+
this._a("editTextStyle", this.i.editTextStyle != null ? this.i.editTextStyle.fontString : "");
|
|
1812
1812
|
}
|
|
1813
1813
|
/**
|
|
1814
1814
|
* Gets or sets the default opacity for unsaved cell edits.
|
|
1815
1815
|
*/
|
|
1816
1816
|
get editOpacity() {
|
|
1817
|
-
return this.i.
|
|
1817
|
+
return this.i.editOpacity;
|
|
1818
1818
|
}
|
|
1819
1819
|
set editOpacity(v) {
|
|
1820
|
-
this.i.
|
|
1821
|
-
this._a("editOpacity", this.i.
|
|
1820
|
+
this.i.editOpacity = +v;
|
|
1821
|
+
this._a("editOpacity", this.i.editOpacity);
|
|
1822
1822
|
}
|
|
1823
1823
|
/**
|
|
1824
1824
|
* Gets or sets the text color for unsaved deleted rows.
|
|
1825
1825
|
*/
|
|
1826
1826
|
get deletedTextColor() {
|
|
1827
|
-
return brushToString(this.i.
|
|
1827
|
+
return brushToString(this.i.deletedTextColor);
|
|
1828
1828
|
}
|
|
1829
1829
|
set deletedTextColor(v) {
|
|
1830
|
-
this.i.
|
|
1831
|
-
this._a("deletedTextColor", brushToString(this.i.
|
|
1830
|
+
this.i.deletedTextColor = stringToBrush(v);
|
|
1831
|
+
this._a("deletedTextColor", brushToString(this.i.deletedTextColor));
|
|
1832
1832
|
}
|
|
1833
1833
|
/**
|
|
1834
1834
|
* Gets or sets the default color to use for sticky rows
|
|
1835
1835
|
*/
|
|
1836
1836
|
get stickyRowBackground() {
|
|
1837
|
-
return brushToString(this.i.
|
|
1837
|
+
return brushToString(this.i.stickyRowBackground);
|
|
1838
1838
|
}
|
|
1839
1839
|
set stickyRowBackground(v) {
|
|
1840
|
-
this.i.
|
|
1841
|
-
this._a("stickyRowBackground", brushToString(this.i.
|
|
1840
|
+
this.i.stickyRowBackground = stringToBrush(v);
|
|
1841
|
+
this._a("stickyRowBackground", brushToString(this.i.stickyRowBackground));
|
|
1842
1842
|
}
|
|
1843
1843
|
/**
|
|
1844
1844
|
* Gets or sets the default color to use for pinned rows
|
|
1845
1845
|
*/
|
|
1846
1846
|
get pinnedRowBackground() {
|
|
1847
|
-
return brushToString(this.i.
|
|
1847
|
+
return brushToString(this.i.pinnedRowBackground);
|
|
1848
1848
|
}
|
|
1849
1849
|
set pinnedRowBackground(v) {
|
|
1850
|
-
this.i.
|
|
1851
|
-
this._a("pinnedRowBackground", brushToString(this.i.
|
|
1850
|
+
this.i.pinnedRowBackground = stringToBrush(v);
|
|
1851
|
+
this._a("pinnedRowBackground", brushToString(this.i.pinnedRowBackground));
|
|
1852
1852
|
}
|
|
1853
1853
|
/**
|
|
1854
1854
|
* Gets or sets the default color to use for the last sticky row
|
|
1855
1855
|
*/
|
|
1856
1856
|
get lastStickyRowBackground() {
|
|
1857
|
-
return brushToString(this.i.
|
|
1857
|
+
return brushToString(this.i.lastStickyRowBackground);
|
|
1858
1858
|
}
|
|
1859
1859
|
set lastStickyRowBackground(v) {
|
|
1860
|
-
this.i.
|
|
1861
|
-
this._a("lastStickyRowBackground", brushToString(this.i.
|
|
1860
|
+
this.i.lastStickyRowBackground = stringToBrush(v);
|
|
1861
|
+
this._a("lastStickyRowBackground", brushToString(this.i.lastStickyRowBackground));
|
|
1862
1862
|
}
|
|
1863
1863
|
/**
|
|
1864
1864
|
* Gets or sets the position of the active cell.
|
|
1865
1865
|
*/
|
|
1866
1866
|
get activeCell() {
|
|
1867
|
-
const r = this.i.
|
|
1867
|
+
const r = this.i.activeCell;
|
|
1868
1868
|
if (r == null) {
|
|
1869
1869
|
return null;
|
|
1870
1870
|
}
|
|
@@ -1883,429 +1883,429 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
1883
1883
|
return r.externalObject;
|
|
1884
1884
|
}
|
|
1885
1885
|
set activeCell(v) {
|
|
1886
|
-
v == null ? this.i.
|
|
1886
|
+
v == null ? this.i.activeCell = null : this.i.activeCell = v.i;
|
|
1887
1887
|
}
|
|
1888
1888
|
/**
|
|
1889
1889
|
* Gets or sets the default background color to use for content cells
|
|
1890
1890
|
*/
|
|
1891
1891
|
get cellBackground() {
|
|
1892
|
-
return brushToString(this.i.
|
|
1892
|
+
return brushToString(this.i.cellBackground);
|
|
1893
1893
|
}
|
|
1894
1894
|
set cellBackground(v) {
|
|
1895
|
-
this.i.
|
|
1896
|
-
this._a("cellBackground", brushToString(this.i.
|
|
1895
|
+
this.i.cellBackground = stringToBrush(v);
|
|
1896
|
+
this._a("cellBackground", brushToString(this.i.cellBackground));
|
|
1897
1897
|
}
|
|
1898
1898
|
/**
|
|
1899
1899
|
* Gets or sets the default text color to use for content cells
|
|
1900
1900
|
*/
|
|
1901
1901
|
get cellTextColor() {
|
|
1902
|
-
return brushToString(this.i.
|
|
1902
|
+
return brushToString(this.i.cellTextColor);
|
|
1903
1903
|
}
|
|
1904
1904
|
set cellTextColor(v) {
|
|
1905
|
-
this.i.
|
|
1906
|
-
this._a("cellTextColor", brushToString(this.i.
|
|
1905
|
+
this.i.cellTextColor = stringToBrush(v);
|
|
1906
|
+
this._a("cellTextColor", brushToString(this.i.cellTextColor));
|
|
1907
1907
|
}
|
|
1908
1908
|
/**
|
|
1909
1909
|
* Gets or sets the default text color to use for content cells
|
|
1910
1910
|
*/
|
|
1911
1911
|
get headerSortIndicatorColor() {
|
|
1912
|
-
return brushToString(this.i.
|
|
1912
|
+
return brushToString(this.i.headerSortIndicatorColor);
|
|
1913
1913
|
}
|
|
1914
1914
|
set headerSortIndicatorColor(v) {
|
|
1915
|
-
this.i.
|
|
1916
|
-
this._a("headerSortIndicatorColor", brushToString(this.i.
|
|
1915
|
+
this.i.headerSortIndicatorColor = stringToBrush(v);
|
|
1916
|
+
this._a("headerSortIndicatorColor", brushToString(this.i.headerSortIndicatorColor));
|
|
1917
1917
|
}
|
|
1918
1918
|
/**
|
|
1919
1919
|
* Gets or sets the default render style for sort indicators in header cells.
|
|
1920
1920
|
*/
|
|
1921
1921
|
get headerSortIndicatorStyle() {
|
|
1922
|
-
return this.i.
|
|
1922
|
+
return this.i.headerSortIndicatorStyle;
|
|
1923
1923
|
}
|
|
1924
1924
|
set headerSortIndicatorStyle(v) {
|
|
1925
|
-
this.i.
|
|
1926
|
-
this._a("headerSortIndicatorStyle", enumToString(SortIndicatorStyle_$type, this.i.
|
|
1925
|
+
this.i.headerSortIndicatorStyle = ensureEnum(SortIndicatorStyle_$type, v);
|
|
1926
|
+
this._a("headerSortIndicatorStyle", enumToString(SortIndicatorStyle_$type, this.i.headerSortIndicatorStyle));
|
|
1927
1927
|
}
|
|
1928
1928
|
/**
|
|
1929
1929
|
* Gets or sets the font to use for content cells
|
|
1930
1930
|
*/
|
|
1931
1931
|
get cellTextStyle() {
|
|
1932
|
-
if (this.i.
|
|
1932
|
+
if (this.i.cellTextStyle == null) {
|
|
1933
1933
|
return null;
|
|
1934
1934
|
}
|
|
1935
|
-
return this.i.
|
|
1935
|
+
return this.i.cellTextStyle.fontString;
|
|
1936
1936
|
}
|
|
1937
1937
|
set cellTextStyle(v) {
|
|
1938
1938
|
let fi = new FontInfo();
|
|
1939
1939
|
fi.fontString = v;
|
|
1940
|
-
this.i.
|
|
1941
|
-
this._a("cellTextStyle", this.i.
|
|
1940
|
+
this.i.cellTextStyle = fi;
|
|
1941
|
+
this._a("cellTextStyle", this.i.cellTextStyle != null ? this.i.cellTextStyle.fontString : "");
|
|
1942
1942
|
}
|
|
1943
1943
|
/**
|
|
1944
1944
|
* Gets or sets the default background color to use for section header cells
|
|
1945
1945
|
*/
|
|
1946
1946
|
get sectionHeaderBackground() {
|
|
1947
|
-
return brushToString(this.i.
|
|
1947
|
+
return brushToString(this.i.sectionHeaderBackground);
|
|
1948
1948
|
}
|
|
1949
1949
|
set sectionHeaderBackground(v) {
|
|
1950
|
-
this.i.
|
|
1951
|
-
this._a("sectionHeaderBackground", brushToString(this.i.
|
|
1950
|
+
this.i.sectionHeaderBackground = stringToBrush(v);
|
|
1951
|
+
this._a("sectionHeaderBackground", brushToString(this.i.sectionHeaderBackground));
|
|
1952
1952
|
}
|
|
1953
1953
|
/**
|
|
1954
1954
|
* Gets or sets the default text color to use for section header cells
|
|
1955
1955
|
*/
|
|
1956
1956
|
get sectionHeaderTextColor() {
|
|
1957
|
-
return brushToString(this.i.
|
|
1957
|
+
return brushToString(this.i.sectionHeaderTextColor);
|
|
1958
1958
|
}
|
|
1959
1959
|
set sectionHeaderTextColor(v) {
|
|
1960
|
-
this.i.
|
|
1961
|
-
this._a("sectionHeaderTextColor", brushToString(this.i.
|
|
1960
|
+
this.i.sectionHeaderTextColor = stringToBrush(v);
|
|
1961
|
+
this._a("sectionHeaderTextColor", brushToString(this.i.sectionHeaderTextColor));
|
|
1962
1962
|
}
|
|
1963
1963
|
/**
|
|
1964
1964
|
* Gets or sets the font to use for section header cells
|
|
1965
1965
|
*/
|
|
1966
1966
|
get sectionHeaderTextStyle() {
|
|
1967
|
-
if (this.i.
|
|
1967
|
+
if (this.i.sectionHeaderTextStyle == null) {
|
|
1968
1968
|
return null;
|
|
1969
1969
|
}
|
|
1970
|
-
return this.i.
|
|
1970
|
+
return this.i.sectionHeaderTextStyle.fontString;
|
|
1971
1971
|
}
|
|
1972
1972
|
set sectionHeaderTextStyle(v) {
|
|
1973
1973
|
let fi = new FontInfo();
|
|
1974
1974
|
fi.fontString = v;
|
|
1975
|
-
this.i.
|
|
1976
|
-
this._a("sectionHeaderTextStyle", this.i.
|
|
1975
|
+
this.i.sectionHeaderTextStyle = fi;
|
|
1976
|
+
this._a("sectionHeaderTextStyle", this.i.sectionHeaderTextStyle != null ? this.i.sectionHeaderTextStyle.fontString : "");
|
|
1977
1977
|
}
|
|
1978
1978
|
/**
|
|
1979
1979
|
* Gets or sets the font to use for summary labels at the root level.
|
|
1980
1980
|
*/
|
|
1981
1981
|
get summaryRootLabelTextStyle() {
|
|
1982
|
-
if (this.i.
|
|
1982
|
+
if (this.i.summaryRootLabelTextStyle == null) {
|
|
1983
1983
|
return null;
|
|
1984
1984
|
}
|
|
1985
|
-
return this.i.
|
|
1985
|
+
return this.i.summaryRootLabelTextStyle.fontString;
|
|
1986
1986
|
}
|
|
1987
1987
|
set summaryRootLabelTextStyle(v) {
|
|
1988
1988
|
let fi = new FontInfo();
|
|
1989
1989
|
fi.fontString = v;
|
|
1990
|
-
this.i.
|
|
1991
|
-
this._a("summaryRootLabelTextStyle", this.i.
|
|
1990
|
+
this.i.summaryRootLabelTextStyle = fi;
|
|
1991
|
+
this._a("summaryRootLabelTextStyle", this.i.summaryRootLabelTextStyle != null ? this.i.summaryRootLabelTextStyle.fontString : "");
|
|
1992
1992
|
}
|
|
1993
1993
|
/**
|
|
1994
1994
|
* Gets or sets the font to use for summary labels at the section level.
|
|
1995
1995
|
*/
|
|
1996
1996
|
get summarySectionLabelTextStyle() {
|
|
1997
|
-
if (this.i.
|
|
1997
|
+
if (this.i.summarySectionLabelTextStyle == null) {
|
|
1998
1998
|
return null;
|
|
1999
1999
|
}
|
|
2000
|
-
return this.i.
|
|
2000
|
+
return this.i.summarySectionLabelTextStyle.fontString;
|
|
2001
2001
|
}
|
|
2002
2002
|
set summarySectionLabelTextStyle(v) {
|
|
2003
2003
|
let fi = new FontInfo();
|
|
2004
2004
|
fi.fontString = v;
|
|
2005
|
-
this.i.
|
|
2006
|
-
this._a("summarySectionLabelTextStyle", this.i.
|
|
2005
|
+
this.i.summarySectionLabelTextStyle = fi;
|
|
2006
|
+
this._a("summarySectionLabelTextStyle", this.i.summarySectionLabelTextStyle != null ? this.i.summarySectionLabelTextStyle.fontString : "");
|
|
2007
2007
|
}
|
|
2008
2008
|
/**
|
|
2009
2009
|
* Gets or sets the default text color to use for summary cells at the root level.
|
|
2010
2010
|
*/
|
|
2011
2011
|
get summaryRootValueTextColor() {
|
|
2012
|
-
return brushToString(this.i.
|
|
2012
|
+
return brushToString(this.i.summaryRootValueTextColor);
|
|
2013
2013
|
}
|
|
2014
2014
|
set summaryRootValueTextColor(v) {
|
|
2015
|
-
this.i.
|
|
2016
|
-
this._a("summaryRootValueTextColor", brushToString(this.i.
|
|
2015
|
+
this.i.summaryRootValueTextColor = stringToBrush(v);
|
|
2016
|
+
this._a("summaryRootValueTextColor", brushToString(this.i.summaryRootValueTextColor));
|
|
2017
2017
|
}
|
|
2018
2018
|
/**
|
|
2019
2019
|
* Gets or sets the font to use for summary values at the root level.
|
|
2020
2020
|
*/
|
|
2021
2021
|
get summaryRootValueTextStyle() {
|
|
2022
|
-
if (this.i.
|
|
2022
|
+
if (this.i.summaryRootValueTextStyle == null) {
|
|
2023
2023
|
return null;
|
|
2024
2024
|
}
|
|
2025
|
-
return this.i.
|
|
2025
|
+
return this.i.summaryRootValueTextStyle.fontString;
|
|
2026
2026
|
}
|
|
2027
2027
|
set summaryRootValueTextStyle(v) {
|
|
2028
2028
|
let fi = new FontInfo();
|
|
2029
2029
|
fi.fontString = v;
|
|
2030
|
-
this.i.
|
|
2031
|
-
this._a("summaryRootValueTextStyle", this.i.
|
|
2030
|
+
this.i.summaryRootValueTextStyle = fi;
|
|
2031
|
+
this._a("summaryRootValueTextStyle", this.i.summaryRootValueTextStyle != null ? this.i.summaryRootValueTextStyle.fontString : "");
|
|
2032
2032
|
}
|
|
2033
2033
|
/**
|
|
2034
2034
|
* Gets or sets the font to use for summary values at the section level.
|
|
2035
2035
|
*/
|
|
2036
2036
|
get summarySectionValueTextStyle() {
|
|
2037
|
-
if (this.i.
|
|
2037
|
+
if (this.i.summarySectionValueTextStyle == null) {
|
|
2038
2038
|
return null;
|
|
2039
2039
|
}
|
|
2040
|
-
return this.i.
|
|
2040
|
+
return this.i.summarySectionValueTextStyle.fontString;
|
|
2041
2041
|
}
|
|
2042
2042
|
set summarySectionValueTextStyle(v) {
|
|
2043
2043
|
let fi = new FontInfo();
|
|
2044
2044
|
fi.fontString = v;
|
|
2045
|
-
this.i.
|
|
2046
|
-
this._a("summarySectionValueTextStyle", this.i.
|
|
2045
|
+
this.i.summarySectionValueTextStyle = fi;
|
|
2046
|
+
this._a("summarySectionValueTextStyle", this.i.summarySectionValueTextStyle != null ? this.i.summarySectionValueTextStyle.fontString : "");
|
|
2047
2047
|
}
|
|
2048
2048
|
/**
|
|
2049
2049
|
* Gets or sets the default text color to use for summary cells at the section level.
|
|
2050
2050
|
*/
|
|
2051
2051
|
get summarySectionValueTextColor() {
|
|
2052
|
-
return brushToString(this.i.
|
|
2052
|
+
return brushToString(this.i.summarySectionValueTextColor);
|
|
2053
2053
|
}
|
|
2054
2054
|
set summarySectionValueTextColor(v) {
|
|
2055
|
-
this.i.
|
|
2056
|
-
this._a("summarySectionValueTextColor", brushToString(this.i.
|
|
2055
|
+
this.i.summarySectionValueTextColor = stringToBrush(v);
|
|
2056
|
+
this._a("summarySectionValueTextColor", brushToString(this.i.summarySectionValueTextColor));
|
|
2057
2057
|
}
|
|
2058
2058
|
/**
|
|
2059
2059
|
* Gets or sets the default text color to use for summary labels in summary cells at the root level.
|
|
2060
2060
|
*/
|
|
2061
2061
|
get summaryRootLabelTextColor() {
|
|
2062
|
-
return brushToString(this.i.
|
|
2062
|
+
return brushToString(this.i.summaryRootLabelTextColor);
|
|
2063
2063
|
}
|
|
2064
2064
|
set summaryRootLabelTextColor(v) {
|
|
2065
|
-
this.i.
|
|
2066
|
-
this._a("summaryRootLabelTextColor", brushToString(this.i.
|
|
2065
|
+
this.i.summaryRootLabelTextColor = stringToBrush(v);
|
|
2066
|
+
this._a("summaryRootLabelTextColor", brushToString(this.i.summaryRootLabelTextColor));
|
|
2067
2067
|
}
|
|
2068
2068
|
/**
|
|
2069
2069
|
* Gets or sets the default text color to use for summary labels in summary cells at the section level.
|
|
2070
2070
|
*/
|
|
2071
2071
|
get summarySectionLabelTextColor() {
|
|
2072
|
-
return brushToString(this.i.
|
|
2072
|
+
return brushToString(this.i.summarySectionLabelTextColor);
|
|
2073
2073
|
}
|
|
2074
2074
|
set summarySectionLabelTextColor(v) {
|
|
2075
|
-
this.i.
|
|
2076
|
-
this._a("summarySectionLabelTextColor", brushToString(this.i.
|
|
2075
|
+
this.i.summarySectionLabelTextColor = stringToBrush(v);
|
|
2076
|
+
this._a("summarySectionLabelTextColor", brushToString(this.i.summarySectionLabelTextColor));
|
|
2077
2077
|
}
|
|
2078
2078
|
/**
|
|
2079
2079
|
* Gets or sets the default background color to use for summary cells at the root level.
|
|
2080
2080
|
*/
|
|
2081
2081
|
get summaryRootSelectedBackground() {
|
|
2082
|
-
return brushToString(this.i.
|
|
2082
|
+
return brushToString(this.i.summaryRootSelectedBackground);
|
|
2083
2083
|
}
|
|
2084
2084
|
set summaryRootSelectedBackground(v) {
|
|
2085
|
-
this.i.
|
|
2086
|
-
this._a("summaryRootSelectedBackground", brushToString(this.i.
|
|
2085
|
+
this.i.summaryRootSelectedBackground = stringToBrush(v);
|
|
2086
|
+
this._a("summaryRootSelectedBackground", brushToString(this.i.summaryRootSelectedBackground));
|
|
2087
2087
|
}
|
|
2088
2088
|
/**
|
|
2089
2089
|
* Gets or sets the default background color to use for summary cells at the section level.
|
|
2090
2090
|
*/
|
|
2091
2091
|
get summarySectionSelectedBackground() {
|
|
2092
|
-
return brushToString(this.i.
|
|
2092
|
+
return brushToString(this.i.summarySectionSelectedBackground);
|
|
2093
2093
|
}
|
|
2094
2094
|
set summarySectionSelectedBackground(v) {
|
|
2095
|
-
this.i.
|
|
2096
|
-
this._a("summarySectionSelectedBackground", brushToString(this.i.
|
|
2095
|
+
this.i.summarySectionSelectedBackground = stringToBrush(v);
|
|
2096
|
+
this._a("summarySectionSelectedBackground", brushToString(this.i.summarySectionSelectedBackground));
|
|
2097
2097
|
}
|
|
2098
2098
|
/**
|
|
2099
2099
|
* Gets or sets the width of the pinned area separators.
|
|
2100
2100
|
*/
|
|
2101
2101
|
get pinnedAreaSeparatorWidth() {
|
|
2102
|
-
return this.i.
|
|
2102
|
+
return this.i.pinnedAreaSeparatorWidth;
|
|
2103
2103
|
}
|
|
2104
2104
|
set pinnedAreaSeparatorWidth(v) {
|
|
2105
|
-
this.i.
|
|
2106
|
-
this._a("pinnedAreaSeparatorWidth", this.i.
|
|
2105
|
+
this.i.pinnedAreaSeparatorWidth = +v;
|
|
2106
|
+
this._a("pinnedAreaSeparatorWidth", this.i.pinnedAreaSeparatorWidth);
|
|
2107
2107
|
}
|
|
2108
2108
|
/**
|
|
2109
2109
|
* Gets or sets the width of the header separators.
|
|
2110
2110
|
*/
|
|
2111
2111
|
get headerSeparatorWidth() {
|
|
2112
|
-
return this.i.
|
|
2112
|
+
return this.i.headerSeparatorWidth;
|
|
2113
2113
|
}
|
|
2114
2114
|
set headerSeparatorWidth(v) {
|
|
2115
|
-
this.i.
|
|
2116
|
-
this._a("headerSeparatorWidth", this.i.
|
|
2115
|
+
this.i.headerSeparatorWidth = +v;
|
|
2116
|
+
this._a("headerSeparatorWidth", this.i.headerSeparatorWidth);
|
|
2117
2117
|
}
|
|
2118
2118
|
/**
|
|
2119
2119
|
* Gets or sets the default background color to use for header separators.
|
|
2120
2120
|
*/
|
|
2121
2121
|
get headerSeparatorBackground() {
|
|
2122
|
-
return brushToString(this.i.
|
|
2122
|
+
return brushToString(this.i.headerSeparatorBackground);
|
|
2123
2123
|
}
|
|
2124
2124
|
set headerSeparatorBackground(v) {
|
|
2125
|
-
this.i.
|
|
2126
|
-
this._a("headerSeparatorBackground", brushToString(this.i.
|
|
2125
|
+
this.i.headerSeparatorBackground = stringToBrush(v);
|
|
2126
|
+
this._a("headerSeparatorBackground", brushToString(this.i.headerSeparatorBackground));
|
|
2127
2127
|
}
|
|
2128
2128
|
/**
|
|
2129
2129
|
* Gets or sets the default background color to use for header cells
|
|
2130
2130
|
*/
|
|
2131
2131
|
get headerBackground() {
|
|
2132
|
-
return brushToString(this.i.
|
|
2132
|
+
return brushToString(this.i.headerBackground);
|
|
2133
2133
|
}
|
|
2134
2134
|
set headerBackground(v) {
|
|
2135
|
-
this.i.
|
|
2136
|
-
this._a("headerBackground", brushToString(this.i.
|
|
2135
|
+
this.i.headerBackground = stringToBrush(v);
|
|
2136
|
+
this._a("headerBackground", brushToString(this.i.headerBackground));
|
|
2137
2137
|
}
|
|
2138
2138
|
/**
|
|
2139
2139
|
* Gets or sets the default text color to use for header cells
|
|
2140
2140
|
*/
|
|
2141
2141
|
get headerTextColor() {
|
|
2142
|
-
return brushToString(this.i.
|
|
2142
|
+
return brushToString(this.i.headerTextColor);
|
|
2143
2143
|
}
|
|
2144
2144
|
set headerTextColor(v) {
|
|
2145
|
-
this.i.
|
|
2146
|
-
this._a("headerTextColor", brushToString(this.i.
|
|
2145
|
+
this.i.headerTextColor = stringToBrush(v);
|
|
2146
|
+
this._a("headerTextColor", brushToString(this.i.headerTextColor));
|
|
2147
2147
|
}
|
|
2148
2148
|
/**
|
|
2149
2149
|
* Gets or sets the font to use for header cells
|
|
2150
2150
|
*/
|
|
2151
2151
|
get headerTextStyle() {
|
|
2152
|
-
if (this.i.
|
|
2152
|
+
if (this.i.headerTextStyle == null) {
|
|
2153
2153
|
return null;
|
|
2154
2154
|
}
|
|
2155
|
-
return this.i.
|
|
2155
|
+
return this.i.headerTextStyle.fontString;
|
|
2156
2156
|
}
|
|
2157
2157
|
set headerTextStyle(v) {
|
|
2158
2158
|
let fi = new FontInfo();
|
|
2159
2159
|
fi.fontString = v;
|
|
2160
|
-
this.i.
|
|
2161
|
-
this._a("headerTextStyle", this.i.
|
|
2160
|
+
this.i.headerTextStyle = fi;
|
|
2161
|
+
this._a("headerTextStyle", this.i.headerTextStyle != null ? this.i.headerTextStyle.fontString : "");
|
|
2162
2162
|
}
|
|
2163
2163
|
/**
|
|
2164
2164
|
* Gets or sets the default background color to use for row separators
|
|
2165
2165
|
*/
|
|
2166
2166
|
get rowSeparatorBackground() {
|
|
2167
|
-
return brushToString(this.i.
|
|
2167
|
+
return brushToString(this.i.rowSeparatorBackground);
|
|
2168
2168
|
}
|
|
2169
2169
|
set rowSeparatorBackground(v) {
|
|
2170
|
-
this.i.
|
|
2171
|
-
this._a("rowSeparatorBackground", brushToString(this.i.
|
|
2170
|
+
this.i.rowSeparatorBackground = stringToBrush(v);
|
|
2171
|
+
this._a("rowSeparatorBackground", brushToString(this.i.rowSeparatorBackground));
|
|
2172
2172
|
}
|
|
2173
2173
|
get headerRowSeparatorBackground() {
|
|
2174
|
-
return brushToString(this.i.
|
|
2174
|
+
return brushToString(this.i.headerRowSeparatorBackground);
|
|
2175
2175
|
}
|
|
2176
2176
|
set headerRowSeparatorBackground(v) {
|
|
2177
|
-
this.i.
|
|
2178
|
-
this._a("headerRowSeparatorBackground", brushToString(this.i.
|
|
2177
|
+
this.i.headerRowSeparatorBackground = stringToBrush(v);
|
|
2178
|
+
this._a("headerRowSeparatorBackground", brushToString(this.i.headerRowSeparatorBackground));
|
|
2179
2179
|
}
|
|
2180
2180
|
/**
|
|
2181
2181
|
* Gets or sets the default sticky row background color to use for row separators
|
|
2182
2182
|
*/
|
|
2183
2183
|
get rowSeparatorStickyRowBackground() {
|
|
2184
|
-
return brushToString(this.i.
|
|
2184
|
+
return brushToString(this.i.rowSeparatorStickyRowBackground);
|
|
2185
2185
|
}
|
|
2186
2186
|
set rowSeparatorStickyRowBackground(v) {
|
|
2187
|
-
this.i.
|
|
2188
|
-
this._a("rowSeparatorStickyRowBackground", brushToString(this.i.
|
|
2187
|
+
this.i.rowSeparatorStickyRowBackground = stringToBrush(v);
|
|
2188
|
+
this._a("rowSeparatorStickyRowBackground", brushToString(this.i.rowSeparatorStickyRowBackground));
|
|
2189
2189
|
}
|
|
2190
2190
|
/**
|
|
2191
2191
|
* Gets or sets the default last sticky row background color to use for row separators
|
|
2192
2192
|
*/
|
|
2193
2193
|
get rowSeparatorLastStickyRowBackground() {
|
|
2194
|
-
return brushToString(this.i.
|
|
2194
|
+
return brushToString(this.i.rowSeparatorLastStickyRowBackground);
|
|
2195
2195
|
}
|
|
2196
2196
|
set rowSeparatorLastStickyRowBackground(v) {
|
|
2197
|
-
this.i.
|
|
2198
|
-
this._a("rowSeparatorLastStickyRowBackground", brushToString(this.i.
|
|
2197
|
+
this.i.rowSeparatorLastStickyRowBackground = stringToBrush(v);
|
|
2198
|
+
this._a("rowSeparatorLastStickyRowBackground", brushToString(this.i.rowSeparatorLastStickyRowBackground));
|
|
2199
2199
|
}
|
|
2200
2200
|
/**
|
|
2201
2201
|
* Gets or sets the pinned row background color to use for row separators
|
|
2202
2202
|
*/
|
|
2203
2203
|
get rowSeparatorPinnedRowBackground() {
|
|
2204
|
-
return brushToString(this.i.
|
|
2204
|
+
return brushToString(this.i.rowSeparatorPinnedRowBackground);
|
|
2205
2205
|
}
|
|
2206
2206
|
set rowSeparatorPinnedRowBackground(v) {
|
|
2207
|
-
this.i.
|
|
2208
|
-
this._a("rowSeparatorPinnedRowBackground", brushToString(this.i.
|
|
2207
|
+
this.i.rowSeparatorPinnedRowBackground = stringToBrush(v);
|
|
2208
|
+
this._a("rowSeparatorPinnedRowBackground", brushToString(this.i.rowSeparatorPinnedRowBackground));
|
|
2209
2209
|
}
|
|
2210
2210
|
/**
|
|
2211
2211
|
* Sets or gets the width to use for the column resizing separator.
|
|
2212
2212
|
*/
|
|
2213
2213
|
get columnResizingSeparatorWidth() {
|
|
2214
|
-
return this.i.
|
|
2214
|
+
return this.i.columnResizingSeparatorWidth;
|
|
2215
2215
|
}
|
|
2216
2216
|
set columnResizingSeparatorWidth(v) {
|
|
2217
|
-
this.i.
|
|
2218
|
-
this._a("columnResizingSeparatorWidth", this.i.
|
|
2217
|
+
this.i.columnResizingSeparatorWidth = +v;
|
|
2218
|
+
this._a("columnResizingSeparatorWidth", this.i.columnResizingSeparatorWidth);
|
|
2219
2219
|
}
|
|
2220
2220
|
/**
|
|
2221
2221
|
* Gets or sets the opacity of the column Resizing separator.
|
|
2222
2222
|
*/
|
|
2223
2223
|
get columnResizingSeparatorOpacity() {
|
|
2224
|
-
return this.i.
|
|
2224
|
+
return this.i.columnResizingSeparatorOpacity;
|
|
2225
2225
|
}
|
|
2226
2226
|
set columnResizingSeparatorOpacity(v) {
|
|
2227
|
-
this.i.
|
|
2228
|
-
this._a("columnResizingSeparatorOpacity", this.i.
|
|
2227
|
+
this.i.columnResizingSeparatorOpacity = +v;
|
|
2228
|
+
this._a("columnResizingSeparatorOpacity", this.i.columnResizingSeparatorOpacity);
|
|
2229
2229
|
}
|
|
2230
2230
|
/**
|
|
2231
2231
|
* Sets or gets the width to use for the column resizing separator.
|
|
2232
2232
|
*/
|
|
2233
2233
|
get columnMovingSeparatorWidth() {
|
|
2234
|
-
return this.i.
|
|
2234
|
+
return this.i.columnMovingSeparatorWidth;
|
|
2235
2235
|
}
|
|
2236
2236
|
set columnMovingSeparatorWidth(v) {
|
|
2237
|
-
this.i.
|
|
2238
|
-
this._a("columnMovingSeparatorWidth", this.i.
|
|
2237
|
+
this.i.columnMovingSeparatorWidth = +v;
|
|
2238
|
+
this._a("columnMovingSeparatorWidth", this.i.columnMovingSeparatorWidth);
|
|
2239
2239
|
}
|
|
2240
2240
|
/**
|
|
2241
2241
|
* Gets or sets the opacity of the column moving separator.
|
|
2242
2242
|
*/
|
|
2243
2243
|
get columnMovingSeparatorOpacity() {
|
|
2244
|
-
return this.i.
|
|
2244
|
+
return this.i.columnMovingSeparatorOpacity;
|
|
2245
2245
|
}
|
|
2246
2246
|
set columnMovingSeparatorOpacity(v) {
|
|
2247
|
-
this.i.
|
|
2248
|
-
this._a("columnMovingSeparatorOpacity", this.i.
|
|
2247
|
+
this.i.columnMovingSeparatorOpacity = +v;
|
|
2248
|
+
this._a("columnMovingSeparatorOpacity", this.i.columnMovingSeparatorOpacity);
|
|
2249
2249
|
}
|
|
2250
2250
|
/**
|
|
2251
2251
|
* Gets or sets the default background color to use for column resizing separator.
|
|
2252
2252
|
*/
|
|
2253
2253
|
get columnResizingSeparatorBackground() {
|
|
2254
|
-
return brushToString(this.i.
|
|
2254
|
+
return brushToString(this.i.columnResizingSeparatorBackground);
|
|
2255
2255
|
}
|
|
2256
2256
|
set columnResizingSeparatorBackground(v) {
|
|
2257
|
-
this.i.
|
|
2258
|
-
this._a("columnResizingSeparatorBackground", brushToString(this.i.
|
|
2257
|
+
this.i.columnResizingSeparatorBackground = stringToBrush(v);
|
|
2258
|
+
this._a("columnResizingSeparatorBackground", brushToString(this.i.columnResizingSeparatorBackground));
|
|
2259
2259
|
}
|
|
2260
2260
|
/**
|
|
2261
2261
|
* Gets or sets the default background color to use for column moving separator.
|
|
2262
2262
|
*/
|
|
2263
2263
|
get columnMovingSeparatorBackground() {
|
|
2264
|
-
return brushToString(this.i.
|
|
2264
|
+
return brushToString(this.i.columnMovingSeparatorBackground);
|
|
2265
2265
|
}
|
|
2266
2266
|
set columnMovingSeparatorBackground(v) {
|
|
2267
|
-
this.i.
|
|
2268
|
-
this._a("columnMovingSeparatorBackground", brushToString(this.i.
|
|
2267
|
+
this.i.columnMovingSeparatorBackground = stringToBrush(v);
|
|
2268
|
+
this._a("columnMovingSeparatorBackground", brushToString(this.i.columnMovingSeparatorBackground));
|
|
2269
2269
|
}
|
|
2270
2270
|
/**
|
|
2271
2271
|
* Gets or sets if the section header content should be shifted into the normal column scrollable area when there are pinned columns
|
|
2272
2272
|
*/
|
|
2273
2273
|
get shiftSectionContent() {
|
|
2274
|
-
return this.i.
|
|
2274
|
+
return this.i.shiftSectionContent;
|
|
2275
2275
|
}
|
|
2276
2276
|
set shiftSectionContent(v) {
|
|
2277
|
-
this.i.
|
|
2278
|
-
this._a("shiftSectionContent", this.i.
|
|
2277
|
+
this.i.shiftSectionContent = ensureBool(v);
|
|
2278
|
+
this._a("shiftSectionContent", this.i.shiftSectionContent);
|
|
2279
2279
|
}
|
|
2280
2280
|
/**
|
|
2281
2281
|
* Gets or sets the column options icon alignment in header cells.
|
|
2282
2282
|
*/
|
|
2283
2283
|
get columnOptionsIconAlignment() {
|
|
2284
|
-
return this.i.
|
|
2284
|
+
return this.i.columnOptionsIconAlignment;
|
|
2285
2285
|
}
|
|
2286
2286
|
set columnOptionsIconAlignment(v) {
|
|
2287
|
-
this.i.
|
|
2288
|
-
this._a("columnOptionsIconAlignment", enumToString(ColumnOptionsIconAlignment_$type, this.i.
|
|
2287
|
+
this.i.columnOptionsIconAlignment = ensureEnum(ColumnOptionsIconAlignment_$type, v);
|
|
2288
|
+
this._a("columnOptionsIconAlignment", enumToString(ColumnOptionsIconAlignment_$type, this.i.columnOptionsIconAlignment));
|
|
2289
2289
|
}
|
|
2290
2290
|
/**
|
|
2291
2291
|
* Gets or sets the column options icon color in header cells.
|
|
2292
2292
|
*/
|
|
2293
2293
|
get columnOptionsIconColor() {
|
|
2294
|
-
return brushToString(this.i.
|
|
2294
|
+
return brushToString(this.i.columnOptionsIconColor);
|
|
2295
2295
|
}
|
|
2296
2296
|
set columnOptionsIconColor(v) {
|
|
2297
|
-
this.i.
|
|
2298
|
-
this._a("columnOptionsIconColor", brushToString(this.i.
|
|
2297
|
+
this.i.columnOptionsIconColor = stringToBrush(v);
|
|
2298
|
+
this._a("columnOptionsIconColor", brushToString(this.i.columnOptionsIconColor));
|
|
2299
2299
|
}
|
|
2300
2300
|
/**
|
|
2301
2301
|
* Gets or sets how the column options icon will behave inside header cells.
|
|
2302
2302
|
*/
|
|
2303
2303
|
get columnOptionsIconBehavior() {
|
|
2304
|
-
return this.i.
|
|
2304
|
+
return this.i.columnOptionsIconBehavior;
|
|
2305
2305
|
}
|
|
2306
2306
|
set columnOptionsIconBehavior(v) {
|
|
2307
|
-
this.i.
|
|
2308
|
-
this._a("columnOptionsIconBehavior", enumToString(ColumnOptionsIconBehavior_$type, this.i.
|
|
2307
|
+
this.i.columnOptionsIconBehavior = ensureEnum(ColumnOptionsIconBehavior_$type, v);
|
|
2308
|
+
this._a("columnOptionsIconBehavior", enumToString(ColumnOptionsIconBehavior_$type, this.i.columnOptionsIconBehavior));
|
|
2309
2309
|
}
|
|
2310
2310
|
/**
|
|
2311
2311
|
* Gets or sets the border color around the grid.
|
|
@@ -2321,156 +2321,156 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
2321
2321
|
* Gets the actual border width.
|
|
2322
2322
|
*/
|
|
2323
2323
|
get actualBorderWidth() {
|
|
2324
|
-
return this.i.
|
|
2324
|
+
return this.i.actualBorderWidth;
|
|
2325
2325
|
}
|
|
2326
2326
|
set actualBorderWidth(v) {
|
|
2327
|
-
this.i.
|
|
2327
|
+
this.i.actualBorderWidth = v;
|
|
2328
2328
|
}
|
|
2329
2329
|
get borderWidthBottom() {
|
|
2330
|
-
return this.i.
|
|
2330
|
+
return this.i.borderWidth ? this.i.borderWidth.bottom : NaN;
|
|
2331
2331
|
}
|
|
2332
2332
|
set borderWidthBottom(v) {
|
|
2333
2333
|
this.ensureBorderWidth();
|
|
2334
|
-
this.i.
|
|
2335
|
-
this._a("borderWidthBottom", this.i.
|
|
2336
|
-
this.i.
|
|
2334
|
+
this.i.borderWidth.bottom = +v;
|
|
2335
|
+
this._a("borderWidthBottom", this.i.borderWidth.bottom);
|
|
2336
|
+
this.i.borderWidth = this.i.borderWidth;
|
|
2337
2337
|
}
|
|
2338
2338
|
get borderWidthLeft() {
|
|
2339
|
-
return this.i.
|
|
2339
|
+
return this.i.borderWidth ? this.i.borderWidth.left : NaN;
|
|
2340
2340
|
}
|
|
2341
2341
|
set borderWidthLeft(v) {
|
|
2342
2342
|
this.ensureBorderWidth();
|
|
2343
|
-
this.i.
|
|
2344
|
-
this._a("borderWidthLeft", this.i.
|
|
2345
|
-
this.i.
|
|
2343
|
+
this.i.borderWidth.left = +v;
|
|
2344
|
+
this._a("borderWidthLeft", this.i.borderWidth.left);
|
|
2345
|
+
this.i.borderWidth = this.i.borderWidth;
|
|
2346
2346
|
}
|
|
2347
2347
|
get borderWidthRight() {
|
|
2348
|
-
return this.i.
|
|
2348
|
+
return this.i.borderWidth ? this.i.borderWidth.right : NaN;
|
|
2349
2349
|
}
|
|
2350
2350
|
set borderWidthRight(v) {
|
|
2351
2351
|
this.ensureBorderWidth();
|
|
2352
|
-
this.i.
|
|
2353
|
-
this._a("borderWidthRight", this.i.
|
|
2354
|
-
this.i.
|
|
2352
|
+
this.i.borderWidth.right = +v;
|
|
2353
|
+
this._a("borderWidthRight", this.i.borderWidth.right);
|
|
2354
|
+
this.i.borderWidth = this.i.borderWidth;
|
|
2355
2355
|
}
|
|
2356
2356
|
get borderWidthTop() {
|
|
2357
|
-
return this.i.
|
|
2357
|
+
return this.i.borderWidth ? this.i.borderWidth.top : NaN;
|
|
2358
2358
|
}
|
|
2359
2359
|
set borderWidthTop(v) {
|
|
2360
2360
|
this.ensureBorderWidth();
|
|
2361
|
-
this.i.
|
|
2362
|
-
this._a("borderWidthTop", this.i.
|
|
2363
|
-
this.i.
|
|
2361
|
+
this.i.borderWidth.top = +v;
|
|
2362
|
+
this._a("borderWidthTop", this.i.borderWidth.top);
|
|
2363
|
+
this.i.borderWidth = this.i.borderWidth;
|
|
2364
2364
|
}
|
|
2365
2365
|
ensureBorderWidth() {
|
|
2366
|
-
if (this.i.
|
|
2366
|
+
if (this.i.borderWidth) {
|
|
2367
2367
|
return;
|
|
2368
2368
|
}
|
|
2369
|
-
this.i.
|
|
2369
|
+
this.i.borderWidth = new Thickness(2);
|
|
2370
2370
|
}
|
|
2371
2371
|
/**
|
|
2372
2372
|
* Gets or sets if the grid should notify on programmatic selection changes as well as changes from the UI.
|
|
2373
2373
|
*/
|
|
2374
2374
|
get notifyOnAllSelectionChanges() {
|
|
2375
|
-
return this.i.
|
|
2375
|
+
return this.i.notifyOnAllSelectionChanges;
|
|
2376
2376
|
}
|
|
2377
2377
|
set notifyOnAllSelectionChanges(v) {
|
|
2378
|
-
this.i.
|
|
2379
|
-
this._a("notifyOnAllSelectionChanges", this.i.
|
|
2378
|
+
this.i.notifyOnAllSelectionChanges = ensureBool(v);
|
|
2379
|
+
this._a("notifyOnAllSelectionChanges", this.i.notifyOnAllSelectionChanges);
|
|
2380
2380
|
}
|
|
2381
2381
|
get cornerRadiusBottomRight() {
|
|
2382
|
-
return this.i.
|
|
2382
|
+
return this.i.cornerRadius ? this.i.cornerRadius.b : NaN;
|
|
2383
2383
|
}
|
|
2384
2384
|
set cornerRadiusBottomRight(v) {
|
|
2385
2385
|
this.ensureCornerRadius();
|
|
2386
|
-
this.i.
|
|
2387
|
-
this._a("cornerRadiusBottomRight", this.i.
|
|
2388
|
-
this.i.
|
|
2386
|
+
this.i.cornerRadius.b = +v;
|
|
2387
|
+
this._a("cornerRadiusBottomRight", this.i.cornerRadius.b);
|
|
2388
|
+
this.i.cornerRadius = this.i.cornerRadius;
|
|
2389
2389
|
}
|
|
2390
2390
|
get cornerRadiusBottomLeft() {
|
|
2391
|
-
return this.i.
|
|
2391
|
+
return this.i.cornerRadius ? this.i.cornerRadius.a : NaN;
|
|
2392
2392
|
}
|
|
2393
2393
|
set cornerRadiusBottomLeft(v) {
|
|
2394
2394
|
this.ensureCornerRadius();
|
|
2395
|
-
this.i.
|
|
2396
|
-
this._a("cornerRadiusBottomLeft", this.i.
|
|
2397
|
-
this.i.
|
|
2395
|
+
this.i.cornerRadius.a = +v;
|
|
2396
|
+
this._a("cornerRadiusBottomLeft", this.i.cornerRadius.a);
|
|
2397
|
+
this.i.cornerRadius = this.i.cornerRadius;
|
|
2398
2398
|
}
|
|
2399
2399
|
get cornerRadiusTopLeft() {
|
|
2400
|
-
return this.i.
|
|
2400
|
+
return this.i.cornerRadius ? this.i.cornerRadius.c : NaN;
|
|
2401
2401
|
}
|
|
2402
2402
|
set cornerRadiusTopLeft(v) {
|
|
2403
2403
|
this.ensureCornerRadius();
|
|
2404
|
-
this.i.
|
|
2405
|
-
this._a("cornerRadiusTopLeft", this.i.
|
|
2406
|
-
this.i.
|
|
2404
|
+
this.i.cornerRadius.c = +v;
|
|
2405
|
+
this._a("cornerRadiusTopLeft", this.i.cornerRadius.c);
|
|
2406
|
+
this.i.cornerRadius = this.i.cornerRadius;
|
|
2407
2407
|
}
|
|
2408
2408
|
get cornerRadiusTopRight() {
|
|
2409
|
-
return this.i.
|
|
2409
|
+
return this.i.cornerRadius ? this.i.cornerRadius.d : NaN;
|
|
2410
2410
|
}
|
|
2411
2411
|
set cornerRadiusTopRight(v) {
|
|
2412
2412
|
this.ensureCornerRadius();
|
|
2413
|
-
this.i.
|
|
2414
|
-
this._a("cornerRadiusTopRight", this.i.
|
|
2415
|
-
this.i.
|
|
2413
|
+
this.i.cornerRadius.d = +v;
|
|
2414
|
+
this._a("cornerRadiusTopRight", this.i.cornerRadius.d);
|
|
2415
|
+
this.i.cornerRadius = this.i.cornerRadius;
|
|
2416
2416
|
}
|
|
2417
2417
|
ensureCornerRadius() {
|
|
2418
|
-
if (this.i.
|
|
2418
|
+
if (this.i.cornerRadius) {
|
|
2419
2419
|
return;
|
|
2420
2420
|
}
|
|
2421
|
-
this.i.
|
|
2421
|
+
this.i.cornerRadius = new CornerRadius(2);
|
|
2422
2422
|
}
|
|
2423
2423
|
get actualCornerRadiusBottomRight() {
|
|
2424
|
-
return this.i.
|
|
2424
|
+
return this.i.actualCornerRadius ? this.i.actualCornerRadius.b : NaN;
|
|
2425
2425
|
}
|
|
2426
2426
|
set actualCornerRadiusBottomRight(v) {
|
|
2427
2427
|
this.ensureActualCornerRadius();
|
|
2428
|
-
this.i.
|
|
2429
|
-
this._a("actualCornerRadiusBottomRight", this.i.
|
|
2430
|
-
this.i.
|
|
2428
|
+
this.i.actualCornerRadius.b = +v;
|
|
2429
|
+
this._a("actualCornerRadiusBottomRight", this.i.actualCornerRadius.b);
|
|
2430
|
+
this.i.actualCornerRadius = this.i.actualCornerRadius;
|
|
2431
2431
|
}
|
|
2432
2432
|
get actualCornerRadiusBottomLeft() {
|
|
2433
|
-
return this.i.
|
|
2433
|
+
return this.i.actualCornerRadius ? this.i.actualCornerRadius.a : NaN;
|
|
2434
2434
|
}
|
|
2435
2435
|
set actualCornerRadiusBottomLeft(v) {
|
|
2436
2436
|
this.ensureActualCornerRadius();
|
|
2437
|
-
this.i.
|
|
2438
|
-
this._a("actualCornerRadiusBottomLeft", this.i.
|
|
2439
|
-
this.i.
|
|
2437
|
+
this.i.actualCornerRadius.a = +v;
|
|
2438
|
+
this._a("actualCornerRadiusBottomLeft", this.i.actualCornerRadius.a);
|
|
2439
|
+
this.i.actualCornerRadius = this.i.actualCornerRadius;
|
|
2440
2440
|
}
|
|
2441
2441
|
get actualCornerRadiusTopLeft() {
|
|
2442
|
-
return this.i.
|
|
2442
|
+
return this.i.actualCornerRadius ? this.i.actualCornerRadius.c : NaN;
|
|
2443
2443
|
}
|
|
2444
2444
|
set actualCornerRadiusTopLeft(v) {
|
|
2445
2445
|
this.ensureActualCornerRadius();
|
|
2446
|
-
this.i.
|
|
2447
|
-
this._a("actualCornerRadiusTopLeft", this.i.
|
|
2448
|
-
this.i.
|
|
2446
|
+
this.i.actualCornerRadius.c = +v;
|
|
2447
|
+
this._a("actualCornerRadiusTopLeft", this.i.actualCornerRadius.c);
|
|
2448
|
+
this.i.actualCornerRadius = this.i.actualCornerRadius;
|
|
2449
2449
|
}
|
|
2450
2450
|
get actualCornerRadiusTopRight() {
|
|
2451
|
-
return this.i.
|
|
2451
|
+
return this.i.actualCornerRadius ? this.i.actualCornerRadius.d : NaN;
|
|
2452
2452
|
}
|
|
2453
2453
|
set actualCornerRadiusTopRight(v) {
|
|
2454
2454
|
this.ensureActualCornerRadius();
|
|
2455
|
-
this.i.
|
|
2456
|
-
this._a("actualCornerRadiusTopRight", this.i.
|
|
2457
|
-
this.i.
|
|
2455
|
+
this.i.actualCornerRadius.d = +v;
|
|
2456
|
+
this._a("actualCornerRadiusTopRight", this.i.actualCornerRadius.d);
|
|
2457
|
+
this.i.actualCornerRadius = this.i.actualCornerRadius;
|
|
2458
2458
|
}
|
|
2459
2459
|
ensureActualCornerRadius() {
|
|
2460
|
-
if (this.i.
|
|
2460
|
+
if (this.i.actualCornerRadius) {
|
|
2461
2461
|
return;
|
|
2462
2462
|
}
|
|
2463
|
-
this.i.
|
|
2463
|
+
this.i.actualCornerRadius = new CornerRadius(2);
|
|
2464
2464
|
}
|
|
2465
2465
|
/**
|
|
2466
2466
|
* Gets or sets whether the active cell style will be applied to cells when made active.
|
|
2467
2467
|
*/
|
|
2468
2468
|
get isActiveCellStyleEnabled() {
|
|
2469
|
-
return this.i.
|
|
2469
|
+
return this.i.isActiveCellStyleEnabled;
|
|
2470
2470
|
}
|
|
2471
2471
|
set isActiveCellStyleEnabled(v) {
|
|
2472
|
-
this.i.
|
|
2473
|
-
this._a("isActiveCellStyleEnabled", this.i.
|
|
2472
|
+
this.i.isActiveCellStyleEnabled = ensureBool(v);
|
|
2473
|
+
this._a("isActiveCellStyleEnabled", this.i.isActiveCellStyleEnabled);
|
|
2474
2474
|
}
|
|
2475
2475
|
/**
|
|
2476
2476
|
* A set of states that can be applied to the columns of the grid based on available space.
|
|
@@ -2478,7 +2478,7 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
2478
2478
|
get responsiveStates() {
|
|
2479
2479
|
if (this._responsiveStates === null) {
|
|
2480
2480
|
let coll = new IgcResponsiveStatesCollection();
|
|
2481
|
-
let innerColl = this.i.
|
|
2481
|
+
let innerColl = this.i.responsiveStates;
|
|
2482
2482
|
if (!innerColl) {
|
|
2483
2483
|
innerColl = new ResponsiveStatesCollection_internal();
|
|
2484
2484
|
}
|
|
@@ -2494,7 +2494,7 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
2494
2494
|
let coll = new IgcResponsiveStatesCollection();
|
|
2495
2495
|
this._responsiveStates = coll._fromOuter(v);
|
|
2496
2496
|
let syncColl = new SyncableObservableCollection$1(ResponsiveState.$type);
|
|
2497
|
-
let innerColl = this.i.
|
|
2497
|
+
let innerColl = this.i.responsiveStates;
|
|
2498
2498
|
if (!innerColl) {
|
|
2499
2499
|
innerColl = new ResponsiveStatesCollection_internal();
|
|
2500
2500
|
}
|
|
@@ -2506,13 +2506,13 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
2506
2506
|
* Gets the region of the grid that is visible.
|
|
2507
2507
|
*/
|
|
2508
2508
|
get actualVisibleRegion() {
|
|
2509
|
-
return fromRect(this.i.
|
|
2509
|
+
return fromRect(this.i.actualVisibleRegion);
|
|
2510
2510
|
}
|
|
2511
2511
|
/**
|
|
2512
2512
|
* Gets the current sort that is applied to the grid. Collection can be updated to modify the sort for the grid. Once sort descriptions are in this collection, the grid will no longer listen for changes on their properties.
|
|
2513
2513
|
*/
|
|
2514
2514
|
get initialSortDescriptions() {
|
|
2515
|
-
const r = this.i.
|
|
2515
|
+
const r = this.i.initialSortDescriptions;
|
|
2516
2516
|
if (r == null) {
|
|
2517
2517
|
return null;
|
|
2518
2518
|
}
|
|
@@ -2534,7 +2534,7 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
2534
2534
|
* Gets the current sort that is applied to the grid. Collection can be updated to modify the sort for the grid. Once sort descriptions are in this collection, the grid will no longer listen for changes on their properties.
|
|
2535
2535
|
*/
|
|
2536
2536
|
get initialGroupDescriptions() {
|
|
2537
|
-
const r = this.i.
|
|
2537
|
+
const r = this.i.initialGroupDescriptions;
|
|
2538
2538
|
if (r == null) {
|
|
2539
2539
|
return null;
|
|
2540
2540
|
}
|
|
@@ -2556,7 +2556,7 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
2556
2556
|
* Gets the current summaries that are applied to the grid.
|
|
2557
2557
|
*/
|
|
2558
2558
|
get initialSummaryDescriptions() {
|
|
2559
|
-
const r = this.i.
|
|
2559
|
+
const r = this.i.initialSummaryDescriptions;
|
|
2560
2560
|
if (r == null) {
|
|
2561
2561
|
return null;
|
|
2562
2562
|
}
|
|
@@ -2575,28 +2575,28 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
2575
2575
|
return r.externalObject;
|
|
2576
2576
|
}
|
|
2577
2577
|
get initialSorts() {
|
|
2578
|
-
return this.i.
|
|
2578
|
+
return this.i.initialSorts;
|
|
2579
2579
|
}
|
|
2580
2580
|
set initialSorts(v) {
|
|
2581
|
-
this.i.
|
|
2581
|
+
this.i.initialSorts = v;
|
|
2582
2582
|
}
|
|
2583
2583
|
get initialGroups() {
|
|
2584
|
-
return this.i.
|
|
2584
|
+
return this.i.initialGroups;
|
|
2585
2585
|
}
|
|
2586
2586
|
set initialGroups(v) {
|
|
2587
|
-
this.i.
|
|
2587
|
+
this.i.initialGroups = v;
|
|
2588
2588
|
}
|
|
2589
2589
|
get initialSummaries() {
|
|
2590
|
-
return this.i.
|
|
2590
|
+
return this.i.initialSummaries;
|
|
2591
2591
|
}
|
|
2592
2592
|
set initialSummaries(v) {
|
|
2593
|
-
this.i.
|
|
2593
|
+
this.i.initialSummaries = v;
|
|
2594
2594
|
}
|
|
2595
2595
|
/**
|
|
2596
2596
|
* Gets the current sort that is applied to the grid. Collection can be updated to modify the sort for the grid. Once sort descriptions are in this collection, the grid will no longer listen for changes on their properties.
|
|
2597
2597
|
*/
|
|
2598
2598
|
get sortDescriptions() {
|
|
2599
|
-
const r = this.i.
|
|
2599
|
+
const r = this.i.sortDescriptions;
|
|
2600
2600
|
if (r == null) {
|
|
2601
2601
|
return null;
|
|
2602
2602
|
}
|
|
@@ -2618,7 +2618,7 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
2618
2618
|
* Gets the current grouping that is applied to the grid. Collection can be updated to modify the grouping for the grid. Once grouping descriptions are in this collection, the grid will no longer listen for changes on their properties.
|
|
2619
2619
|
*/
|
|
2620
2620
|
get groupDescriptions() {
|
|
2621
|
-
const r = this.i.
|
|
2621
|
+
const r = this.i.groupDescriptions;
|
|
2622
2622
|
if (r == null) {
|
|
2623
2623
|
return null;
|
|
2624
2624
|
}
|
|
@@ -2640,7 +2640,7 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
2640
2640
|
* Gets the current filter that is applied to the grid. Collection can be updated to modify the filter for the grid. Once filter expresisons are in this collection, the grid will no longer listen for changes on their properties.
|
|
2641
2641
|
*/
|
|
2642
2642
|
get filterExpressions() {
|
|
2643
|
-
const r = this.i.
|
|
2643
|
+
const r = this.i.filterExpressions;
|
|
2644
2644
|
if (r == null) {
|
|
2645
2645
|
return null;
|
|
2646
2646
|
}
|
|
@@ -2662,7 +2662,7 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
2662
2662
|
* Gets the current summaries that are applied to the grid.
|
|
2663
2663
|
*/
|
|
2664
2664
|
get summaryDescriptions() {
|
|
2665
|
-
const r = this.i.
|
|
2665
|
+
const r = this.i.summaryDescriptions;
|
|
2666
2666
|
if (r == null) {
|
|
2667
2667
|
return null;
|
|
2668
2668
|
}
|
|
@@ -2684,51 +2684,51 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
2684
2684
|
* Gets or sets the scope which summaries are calculated for.
|
|
2685
2685
|
*/
|
|
2686
2686
|
get summaryScope() {
|
|
2687
|
-
return this.i.
|
|
2687
|
+
return this.i.summaryScope;
|
|
2688
2688
|
}
|
|
2689
2689
|
set summaryScope(v) {
|
|
2690
|
-
this.i.
|
|
2691
|
-
this._a("summaryScope", enumToString(SummaryScope_$type, this.i.
|
|
2690
|
+
this.i.summaryScope = ensureEnum(SummaryScope_$type, v);
|
|
2691
|
+
this._a("summaryScope", enumToString(SummaryScope_$type, this.i.summaryScope));
|
|
2692
2692
|
}
|
|
2693
2693
|
/**
|
|
2694
2694
|
* Gets or sets whether group headers are collapsable.
|
|
2695
2695
|
*/
|
|
2696
2696
|
get isGroupCollapsable() {
|
|
2697
|
-
return this.i.
|
|
2697
|
+
return this.i.isGroupCollapsable;
|
|
2698
2698
|
}
|
|
2699
2699
|
set isGroupCollapsable(v) {
|
|
2700
|
-
this.i.
|
|
2701
|
-
this._a("isGroupCollapsable", this.i.
|
|
2700
|
+
this.i.isGroupCollapsable = ensureBool(v);
|
|
2701
|
+
this._a("isGroupCollapsable", this.i.isGroupCollapsable);
|
|
2702
2702
|
}
|
|
2703
2703
|
/**
|
|
2704
2704
|
* Gets or sets how group headers are displayed when there are multiple groups defined in the grid.
|
|
2705
2705
|
*/
|
|
2706
2706
|
get groupHeaderDisplayMode() {
|
|
2707
|
-
return this.i.
|
|
2707
|
+
return this.i.groupHeaderDisplayMode;
|
|
2708
2708
|
}
|
|
2709
2709
|
set groupHeaderDisplayMode(v) {
|
|
2710
|
-
this.i.
|
|
2711
|
-
this._a("groupHeaderDisplayMode", enumToString(GroupHeaderDisplayMode_$type, this.i.
|
|
2710
|
+
this.i.groupHeaderDisplayMode = ensureEnum(GroupHeaderDisplayMode_$type, v);
|
|
2711
|
+
this._a("groupHeaderDisplayMode", enumToString(GroupHeaderDisplayMode_$type, this.i.groupHeaderDisplayMode));
|
|
2712
2712
|
}
|
|
2713
2713
|
/**
|
|
2714
2714
|
* Gets or sets whether groups are expanded or collapsed by default.
|
|
2715
2715
|
*/
|
|
2716
2716
|
get isGroupExpandedDefault() {
|
|
2717
|
-
return this.i.
|
|
2717
|
+
return this.i.isGroupExpandedDefault;
|
|
2718
2718
|
}
|
|
2719
2719
|
set isGroupExpandedDefault(v) {
|
|
2720
|
-
this.i.
|
|
2721
|
-
this._a("isGroupExpandedDefault", this.i.
|
|
2720
|
+
this.i.isGroupExpandedDefault = ensureBool(v);
|
|
2721
|
+
this._a("isGroupExpandedDefault", this.i.isGroupExpandedDefault);
|
|
2722
2722
|
}
|
|
2723
2723
|
/**
|
|
2724
2724
|
* Gets or sets the display mode summaries will use inside groups.
|
|
2725
2725
|
*/
|
|
2726
2726
|
get groupSummaryDisplayMode() {
|
|
2727
|
-
return this.i.
|
|
2727
|
+
return this.i.groupSummaryDisplayMode;
|
|
2728
2728
|
}
|
|
2729
2729
|
set groupSummaryDisplayMode(v) {
|
|
2730
|
-
this.i.
|
|
2731
|
-
this._a("groupSummaryDisplayMode", enumToString(GroupSummaryDisplayMode_$type, this.i.
|
|
2730
|
+
this.i.groupSummaryDisplayMode = ensureEnum(GroupSummaryDisplayMode_$type, v);
|
|
2731
|
+
this._a("groupSummaryDisplayMode", enumToString(GroupSummaryDisplayMode_$type, this.i.groupSummaryDisplayMode));
|
|
2732
2732
|
}
|
|
2733
2733
|
/**
|
|
2734
2734
|
* Gets or sets whether to automatically accept edits or require explicit acceptance or rejections of edits
|
|
@@ -2743,38 +2743,38 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
2743
2743
|
* will be auto accepted.
|
|
2744
2744
|
*/
|
|
2745
2745
|
get autoAcceptEdits() {
|
|
2746
|
-
return this.i.
|
|
2746
|
+
return this.i.autoAcceptEdits;
|
|
2747
2747
|
}
|
|
2748
2748
|
set autoAcceptEdits(v) {
|
|
2749
|
-
this.i.
|
|
2750
|
-
this._a("autoAcceptEdits", this.i.
|
|
2749
|
+
this.i.autoAcceptEdits = ensureBool(v);
|
|
2750
|
+
this._a("autoAcceptEdits", this.i.autoAcceptEdits);
|
|
2751
2751
|
}
|
|
2752
2752
|
/**
|
|
2753
2753
|
* Sets or gets the user provided primary key to assume for the data. Certain functionality of the grid requires a way to uniquely identify items in order to work correctly.
|
|
2754
2754
|
* If a primary key cannot be inferred from the data source, you may need to provide one here.
|
|
2755
2755
|
*/
|
|
2756
2756
|
get primaryKey() {
|
|
2757
|
-
return this.i.
|
|
2757
|
+
return this.i.primaryKey;
|
|
2758
2758
|
}
|
|
2759
2759
|
set primaryKey(v) {
|
|
2760
2760
|
if (v && !Array.isArray(v) && typeof (v) == "string") {
|
|
2761
2761
|
const re = /\s*(?:,|\s|$)\s*/gm;
|
|
2762
2762
|
v = v.split(re);
|
|
2763
2763
|
}
|
|
2764
|
-
this.i.
|
|
2764
|
+
this.i.primaryKey = v;
|
|
2765
2765
|
}
|
|
2766
2766
|
/**
|
|
2767
2767
|
* Gets either the inferred primary key from the data source, or the user provided primary key, if present. Represents the actual primary key that the grid will use in operations that require it.
|
|
2768
2768
|
*/
|
|
2769
2769
|
get actualPrimaryKey() {
|
|
2770
|
-
return this.i.
|
|
2770
|
+
return this.i.actualPrimaryKey;
|
|
2771
2771
|
}
|
|
2772
2772
|
set actualPrimaryKey(v) {
|
|
2773
2773
|
if (v && !Array.isArray(v) && typeof (v) == "string") {
|
|
2774
2774
|
const re = /\s*(?:,|\s|$)\s*/gm;
|
|
2775
2775
|
v = v.split(re);
|
|
2776
2776
|
}
|
|
2777
|
-
this.i.
|
|
2777
|
+
this.i.actualPrimaryKey = v;
|
|
2778
2778
|
}
|
|
2779
2779
|
get actualColumns() {
|
|
2780
2780
|
if (this._actualColumns === null) {
|
|
@@ -2807,278 +2807,278 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
2807
2807
|
* Sets or gets whether the grid will react to sort changes.
|
|
2808
2808
|
*/
|
|
2809
2809
|
get reactsToSortChanges() {
|
|
2810
|
-
return this.i.
|
|
2810
|
+
return this.i.reactsToSortChanges;
|
|
2811
2811
|
}
|
|
2812
2812
|
set reactsToSortChanges(v) {
|
|
2813
|
-
this.i.
|
|
2814
|
-
this._a("reactsToSortChanges", this.i.
|
|
2813
|
+
this.i.reactsToSortChanges = ensureBool(v);
|
|
2814
|
+
this._a("reactsToSortChanges", this.i.reactsToSortChanges);
|
|
2815
2815
|
}
|
|
2816
2816
|
/**
|
|
2817
2817
|
* Sets or gets whether the grid will react to group changes.
|
|
2818
2818
|
*/
|
|
2819
2819
|
get reactsToGroupChanges() {
|
|
2820
|
-
return this.i.
|
|
2820
|
+
return this.i.reactsToGroupChanges;
|
|
2821
2821
|
}
|
|
2822
2822
|
set reactsToGroupChanges(v) {
|
|
2823
|
-
this.i.
|
|
2824
|
-
this._a("reactsToGroupChanges", this.i.
|
|
2823
|
+
this.i.reactsToGroupChanges = ensureBool(v);
|
|
2824
|
+
this._a("reactsToGroupChanges", this.i.reactsToGroupChanges);
|
|
2825
2825
|
}
|
|
2826
2826
|
/**
|
|
2827
2827
|
* Sets or gets whether the grid will react to filter changes.
|
|
2828
2828
|
*/
|
|
2829
2829
|
get reactsToFilterChanges() {
|
|
2830
|
-
return this.i.
|
|
2830
|
+
return this.i.reactsToFilterChanges;
|
|
2831
2831
|
}
|
|
2832
2832
|
set reactsToFilterChanges(v) {
|
|
2833
|
-
this.i.
|
|
2834
|
-
this._a("reactsToFilterChanges", this.i.
|
|
2833
|
+
this.i.reactsToFilterChanges = ensureBool(v);
|
|
2834
|
+
this._a("reactsToFilterChanges", this.i.reactsToFilterChanges);
|
|
2835
2835
|
}
|
|
2836
2836
|
/**
|
|
2837
2837
|
* Gets whether an undo can be performed.
|
|
2838
2838
|
*/
|
|
2839
2839
|
get canUndo() {
|
|
2840
|
-
return this.i.
|
|
2840
|
+
return this.i.canUndo;
|
|
2841
2841
|
}
|
|
2842
2842
|
/**
|
|
2843
2843
|
* Gets whether a redo can be performed.
|
|
2844
2844
|
*/
|
|
2845
2845
|
get canRedo() {
|
|
2846
|
-
return this.i.
|
|
2846
|
+
return this.i.canRedo;
|
|
2847
2847
|
}
|
|
2848
2848
|
/**
|
|
2849
2849
|
* Gets whether a commit can be performed. False if there are any errors present
|
|
2850
2850
|
* on any pending transactions.
|
|
2851
2851
|
*/
|
|
2852
2852
|
get canCommit() {
|
|
2853
|
-
return this.i.
|
|
2853
|
+
return this.i.canCommit;
|
|
2854
2854
|
}
|
|
2855
2855
|
/**
|
|
2856
2856
|
* Gets or sets the behavior of the Enter key.
|
|
2857
2857
|
*/
|
|
2858
2858
|
get enterBehavior() {
|
|
2859
|
-
return this.i.
|
|
2859
|
+
return this.i.enterBehavior;
|
|
2860
2860
|
}
|
|
2861
2861
|
set enterBehavior(v) {
|
|
2862
|
-
this.i.
|
|
2863
|
-
this._a("enterBehavior", enumToString(EnterKeyBehaviors_$type, this.i.
|
|
2862
|
+
this.i.enterBehavior = ensureEnum(EnterKeyBehaviors_$type, v);
|
|
2863
|
+
this._a("enterBehavior", enumToString(EnterKeyBehaviors_$type, this.i.enterBehavior));
|
|
2864
2864
|
}
|
|
2865
2865
|
/**
|
|
2866
2866
|
* Gets or sets the behavior of the enter key when exiting edit mode.
|
|
2867
2867
|
*/
|
|
2868
2868
|
get enterBehaviorAfterEdit() {
|
|
2869
|
-
return this.i.
|
|
2869
|
+
return this.i.enterBehaviorAfterEdit;
|
|
2870
2870
|
}
|
|
2871
2871
|
set enterBehaviorAfterEdit(v) {
|
|
2872
|
-
this.i.
|
|
2873
|
-
this._a("enterBehaviorAfterEdit", enumToString(EnterKeyBehaviorAfterEdit_$type, this.i.
|
|
2872
|
+
this.i.enterBehaviorAfterEdit = ensureEnum(EnterKeyBehaviorAfterEdit_$type, v);
|
|
2873
|
+
this._a("enterBehaviorAfterEdit", enumToString(EnterKeyBehaviorAfterEdit_$type, this.i.enterBehaviorAfterEdit));
|
|
2874
2874
|
}
|
|
2875
2875
|
/**
|
|
2876
2876
|
* Gets or sets whether to show the summaries option in the column options menu.
|
|
2877
2877
|
*/
|
|
2878
2878
|
get isColumnOptionsSummariesEnabled() {
|
|
2879
|
-
return this.i.
|
|
2879
|
+
return this.i.isColumnOptionsSummariesEnabled;
|
|
2880
2880
|
}
|
|
2881
2881
|
set isColumnOptionsSummariesEnabled(v) {
|
|
2882
|
-
this.i.
|
|
2883
|
-
this._a("isColumnOptionsSummariesEnabled", this.i.
|
|
2882
|
+
this.i.isColumnOptionsSummariesEnabled = ensureBool(v);
|
|
2883
|
+
this._a("isColumnOptionsSummariesEnabled", this.i.isColumnOptionsSummariesEnabled);
|
|
2884
2884
|
}
|
|
2885
2885
|
/**
|
|
2886
2886
|
* Gets or sets whether to show the grouping option in the column options menu.
|
|
2887
2887
|
*/
|
|
2888
2888
|
get isColumnOptionsGroupingEnabled() {
|
|
2889
|
-
return this.i.
|
|
2889
|
+
return this.i.isColumnOptionsGroupingEnabled;
|
|
2890
2890
|
}
|
|
2891
2891
|
set isColumnOptionsGroupingEnabled(v) {
|
|
2892
|
-
this.i.
|
|
2893
|
-
this._a("isColumnOptionsGroupingEnabled", this.i.
|
|
2892
|
+
this.i.isColumnOptionsGroupingEnabled = ensureBool(v);
|
|
2893
|
+
this._a("isColumnOptionsGroupingEnabled", this.i.isColumnOptionsGroupingEnabled);
|
|
2894
2894
|
}
|
|
2895
2895
|
/**
|
|
2896
2896
|
* Gets or sets if and how cell merging is performed for all fields.
|
|
2897
2897
|
*/
|
|
2898
2898
|
get mergedCellMode() {
|
|
2899
|
-
return this.i.
|
|
2899
|
+
return this.i.mergedCellMode;
|
|
2900
2900
|
}
|
|
2901
2901
|
set mergedCellMode(v) {
|
|
2902
|
-
this.i.
|
|
2903
|
-
this._a("mergedCellMode", enumToString(MergedCellMode_$type, this.i.
|
|
2902
|
+
this.i.mergedCellMode = ensureEnum(MergedCellMode_$type, v);
|
|
2903
|
+
this._a("mergedCellMode", enumToString(MergedCellMode_$type, this.i.mergedCellMode));
|
|
2904
2904
|
}
|
|
2905
2905
|
/**
|
|
2906
2906
|
* Gets or sets how cells are evaluated for merging.
|
|
2907
2907
|
*/
|
|
2908
2908
|
get mergedCellEvaluationCriteria() {
|
|
2909
|
-
return this.i.
|
|
2909
|
+
return this.i.mergedCellEvaluationCriteria;
|
|
2910
2910
|
}
|
|
2911
2911
|
set mergedCellEvaluationCriteria(v) {
|
|
2912
|
-
this.i.
|
|
2913
|
-
this._a("mergedCellEvaluationCriteria", enumToString(MergedCellEvaluationCriteria_$type, this.i.
|
|
2912
|
+
this.i.mergedCellEvaluationCriteria = ensureEnum(MergedCellEvaluationCriteria_$type, v);
|
|
2913
|
+
this._a("mergedCellEvaluationCriteria", enumToString(MergedCellEvaluationCriteria_$type, this.i.mergedCellEvaluationCriteria));
|
|
2914
2914
|
}
|
|
2915
2915
|
/**
|
|
2916
2916
|
* Gets or sets the vertical alignment to use for the merged cell content.
|
|
2917
2917
|
*/
|
|
2918
2918
|
get mergedCellVerticalAlignment() {
|
|
2919
|
-
return this.i.
|
|
2919
|
+
return this.i.mergedCellVerticalAlignment;
|
|
2920
2920
|
}
|
|
2921
2921
|
set mergedCellVerticalAlignment(v) {
|
|
2922
|
-
this.i.
|
|
2923
|
-
this._a("mergedCellVerticalAlignment", enumToString(CellContentVerticalAlignment_$type, this.i.
|
|
2922
|
+
this.i.mergedCellVerticalAlignment = ensureEnum(CellContentVerticalAlignment_$type, v);
|
|
2923
|
+
this._a("mergedCellVerticalAlignment", enumToString(CellContentVerticalAlignment_$type, this.i.mergedCellVerticalAlignment));
|
|
2924
2924
|
}
|
|
2925
2925
|
/**
|
|
2926
2926
|
* Gets or sets which filter UI type to use.
|
|
2927
2927
|
*/
|
|
2928
2928
|
get filterUIType() {
|
|
2929
|
-
return this.i.
|
|
2929
|
+
return this.i.filterUIType;
|
|
2930
2930
|
}
|
|
2931
2931
|
set filterUIType(v) {
|
|
2932
|
-
this.i.
|
|
2933
|
-
this._a("filterUIType", enumToString(FilterUIType_$type, this.i.
|
|
2932
|
+
this.i.filterUIType = ensureEnum(FilterUIType_$type, v);
|
|
2933
|
+
this._a("filterUIType", enumToString(FilterUIType_$type, this.i.filterUIType));
|
|
2934
2934
|
}
|
|
2935
2935
|
/**
|
|
2936
2936
|
* Gets or sets how filters set through the filter UI are combined.
|
|
2937
2937
|
*/
|
|
2938
2938
|
get filterLogicalOperator() {
|
|
2939
|
-
return this.i.
|
|
2939
|
+
return this.i.filterLogicalOperator;
|
|
2940
2940
|
}
|
|
2941
2941
|
set filterLogicalOperator(v) {
|
|
2942
|
-
this.i.
|
|
2943
|
-
this._a("filterLogicalOperator", enumToString(FilterLogicalOperator_$type, this.i.
|
|
2942
|
+
this.i.filterLogicalOperator = ensureEnum(FilterLogicalOperator_$type, v);
|
|
2943
|
+
this._a("filterLogicalOperator", enumToString(FilterLogicalOperator_$type, this.i.filterLogicalOperator));
|
|
2944
2944
|
}
|
|
2945
2945
|
/**
|
|
2946
2946
|
* Gets or sets whether UI filters are case sensitive or not.
|
|
2947
2947
|
*/
|
|
2948
2948
|
get filterComparisonType() {
|
|
2949
|
-
return this.i.
|
|
2949
|
+
return this.i.filterComparisonType;
|
|
2950
2950
|
}
|
|
2951
2951
|
set filterComparisonType(v) {
|
|
2952
|
-
this.i.
|
|
2953
|
-
this._a("filterComparisonType", enumToString(FilterComparisonType_$type, this.i.
|
|
2952
|
+
this.i.filterComparisonType = ensureEnum(FilterComparisonType_$type, v);
|
|
2953
|
+
this._a("filterComparisonType", enumToString(FilterComparisonType_$type, this.i.filterComparisonType));
|
|
2954
2954
|
}
|
|
2955
2955
|
get todayOverride() {
|
|
2956
|
-
return this.i.
|
|
2956
|
+
return this.i.todayOverride;
|
|
2957
2957
|
}
|
|
2958
2958
|
set todayOverride(v) {
|
|
2959
|
-
this.i.
|
|
2959
|
+
this.i.todayOverride = v;
|
|
2960
2960
|
}
|
|
2961
2961
|
/**
|
|
2962
2962
|
* Gets or sets whether selection is cleared when pressing the Escape key.
|
|
2963
2963
|
*/
|
|
2964
2964
|
get clearSelectionOnEscape() {
|
|
2965
|
-
return this.i.
|
|
2965
|
+
return this.i.clearSelectionOnEscape;
|
|
2966
2966
|
}
|
|
2967
2967
|
set clearSelectionOnEscape(v) {
|
|
2968
|
-
this.i.
|
|
2969
|
-
this._a("clearSelectionOnEscape", this.i.
|
|
2968
|
+
this.i.clearSelectionOnEscape = ensureBool(v);
|
|
2969
|
+
this._a("clearSelectionOnEscape", this.i.clearSelectionOnEscape);
|
|
2970
2970
|
}
|
|
2971
2971
|
/**
|
|
2972
2972
|
* Gets or sets the size of each page when the pager is visible.
|
|
2973
2973
|
*/
|
|
2974
2974
|
get pageSize() {
|
|
2975
|
-
return this.i.
|
|
2975
|
+
return this.i.pageSize;
|
|
2976
2976
|
}
|
|
2977
2977
|
set pageSize(v) {
|
|
2978
|
-
this.i.
|
|
2979
|
-
this._a("pageSize", this.i.
|
|
2978
|
+
this.i.pageSize = +v;
|
|
2979
|
+
this._a("pageSize", this.i.pageSize);
|
|
2980
2980
|
}
|
|
2981
2981
|
/**
|
|
2982
2982
|
* Gets or sets whether to show the column chooser button in the toolbar.
|
|
2983
2983
|
*/
|
|
2984
2984
|
get isToolbarColumnChooserVisible() {
|
|
2985
|
-
return this.i.
|
|
2985
|
+
return this.i.isToolbarColumnChooserVisible;
|
|
2986
2986
|
}
|
|
2987
2987
|
set isToolbarColumnChooserVisible(v) {
|
|
2988
|
-
this.i.
|
|
2989
|
-
this._a("isToolbarColumnChooserVisible", this.i.
|
|
2988
|
+
this.i.isToolbarColumnChooserVisible = ensureBool(v);
|
|
2989
|
+
this._a("isToolbarColumnChooserVisible", this.i.isToolbarColumnChooserVisible);
|
|
2990
2990
|
}
|
|
2991
2991
|
/**
|
|
2992
2992
|
* Gets or sets whether to show the column pinning button in the toolbar.
|
|
2993
2993
|
*/
|
|
2994
2994
|
get isToolbarColumnPinningVisible() {
|
|
2995
|
-
return this.i.
|
|
2995
|
+
return this.i.isToolbarColumnPinningVisible;
|
|
2996
2996
|
}
|
|
2997
2997
|
set isToolbarColumnPinningVisible(v) {
|
|
2998
|
-
this.i.
|
|
2999
|
-
this._a("isToolbarColumnPinningVisible", this.i.
|
|
2998
|
+
this.i.isToolbarColumnPinningVisible = ensureBool(v);
|
|
2999
|
+
this._a("isToolbarColumnPinningVisible", this.i.isToolbarColumnPinningVisible);
|
|
3000
3000
|
}
|
|
3001
3001
|
/**
|
|
3002
3002
|
* Gets or sets the title text to use in the toolbar.
|
|
3003
3003
|
*/
|
|
3004
3004
|
get toolbarTitle() {
|
|
3005
|
-
return this.i.
|
|
3005
|
+
return this.i.toolbarTitle;
|
|
3006
3006
|
}
|
|
3007
3007
|
set toolbarTitle(v) {
|
|
3008
|
-
this.i.
|
|
3008
|
+
this.i.toolbarTitle = v;
|
|
3009
3009
|
}
|
|
3010
3010
|
/**
|
|
3011
3011
|
* Gets or sets the column chooser button text to use in the toolbar.
|
|
3012
3012
|
*/
|
|
3013
3013
|
get toolbarColumnChooserText() {
|
|
3014
|
-
return this.i.
|
|
3014
|
+
return this.i.toolbarColumnChooserText;
|
|
3015
3015
|
}
|
|
3016
3016
|
set toolbarColumnChooserText(v) {
|
|
3017
|
-
this.i.
|
|
3017
|
+
this.i.toolbarColumnChooserText = v;
|
|
3018
3018
|
}
|
|
3019
3019
|
/**
|
|
3020
3020
|
* Gets or sets the column chooser title text to use in the toolbar.
|
|
3021
3021
|
*/
|
|
3022
3022
|
get toolbarColumnChooserTitle() {
|
|
3023
|
-
return this.i.
|
|
3023
|
+
return this.i.toolbarColumnChooserTitle;
|
|
3024
3024
|
}
|
|
3025
3025
|
set toolbarColumnChooserTitle(v) {
|
|
3026
|
-
this.i.
|
|
3026
|
+
this.i.toolbarColumnChooserTitle = v;
|
|
3027
3027
|
}
|
|
3028
3028
|
/**
|
|
3029
3029
|
* Gets or sets the column pinning button text to use in the toolbar.
|
|
3030
3030
|
*/
|
|
3031
3031
|
get toolbarColumnPinningText() {
|
|
3032
|
-
return this.i.
|
|
3032
|
+
return this.i.toolbarColumnPinningText;
|
|
3033
3033
|
}
|
|
3034
3034
|
set toolbarColumnPinningText(v) {
|
|
3035
|
-
this.i.
|
|
3035
|
+
this.i.toolbarColumnPinningText = v;
|
|
3036
3036
|
}
|
|
3037
3037
|
/**
|
|
3038
3038
|
* Gets or sets the column pinning title text to use in the toolbar.
|
|
3039
3039
|
*/
|
|
3040
3040
|
get toolbarColumnPinningTitle() {
|
|
3041
|
-
return this.i.
|
|
3041
|
+
return this.i.toolbarColumnPinningTitle;
|
|
3042
3042
|
}
|
|
3043
3043
|
set toolbarColumnPinningTitle(v) {
|
|
3044
|
-
this.i.
|
|
3044
|
+
this.i.toolbarColumnPinningTitle = v;
|
|
3045
3045
|
}
|
|
3046
3046
|
/**
|
|
3047
3047
|
* Gets or sets the style of scrollbar.
|
|
3048
3048
|
*/
|
|
3049
3049
|
get scrollbarStyle() {
|
|
3050
|
-
return this.i.
|
|
3050
|
+
return this.i.scrollbarStyle;
|
|
3051
3051
|
}
|
|
3052
3052
|
set scrollbarStyle(v) {
|
|
3053
|
-
this.i.
|
|
3054
|
-
this._a("scrollbarStyle", enumToString(ScrollbarStyle_$type, this.i.
|
|
3053
|
+
this.i.scrollbarStyle = ensureEnum(ScrollbarStyle_$type, v);
|
|
3054
|
+
this._a("scrollbarStyle", enumToString(ScrollbarStyle_$type, this.i.scrollbarStyle));
|
|
3055
3055
|
}
|
|
3056
3056
|
/**
|
|
3057
3057
|
* Gets or sets the scrollbar background color.
|
|
3058
3058
|
*/
|
|
3059
3059
|
get scrollbarBackground() {
|
|
3060
|
-
return brushToString(this.i.
|
|
3060
|
+
return brushToString(this.i.scrollbarBackground);
|
|
3061
3061
|
}
|
|
3062
3062
|
set scrollbarBackground(v) {
|
|
3063
|
-
this.i.
|
|
3064
|
-
this._a("scrollbarBackground", brushToString(this.i.
|
|
3063
|
+
this.i.scrollbarBackground = stringToBrush(v);
|
|
3064
|
+
this._a("scrollbarBackground", brushToString(this.i.scrollbarBackground));
|
|
3065
3065
|
}
|
|
3066
3066
|
get allowCopyOperation() {
|
|
3067
|
-
return this.i.
|
|
3067
|
+
return this.i.allowCopyOperation;
|
|
3068
3068
|
}
|
|
3069
3069
|
set allowCopyOperation(v) {
|
|
3070
|
-
this.i.
|
|
3071
|
-
this._a("allowCopyOperation", this.i.
|
|
3070
|
+
this.i.allowCopyOperation = ensureBool(v);
|
|
3071
|
+
this._a("allowCopyOperation", this.i.allowCopyOperation);
|
|
3072
3072
|
}
|
|
3073
3073
|
/**
|
|
3074
3074
|
* Gets or sets whether to defer the SelectedItemsChanged and SelectedKeysChanged events till after the drag selection has completed.
|
|
3075
3075
|
*/
|
|
3076
3076
|
get deferEventForRowDragSelection() {
|
|
3077
|
-
return this.i.
|
|
3077
|
+
return this.i.deferEventForRowDragSelection;
|
|
3078
3078
|
}
|
|
3079
3079
|
set deferEventForRowDragSelection(v) {
|
|
3080
|
-
this.i.
|
|
3081
|
-
this._a("deferEventForRowDragSelection", this.i.
|
|
3080
|
+
this.i.deferEventForRowDragSelection = ensureBool(v);
|
|
3081
|
+
this._a("deferEventForRowDragSelection", this.i.deferEventForRowDragSelection);
|
|
3082
3082
|
}
|
|
3083
3083
|
findByName(name) {
|
|
3084
3084
|
if (this.findEphemera) {
|
|
@@ -3248,14 +3248,14 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
3248
3248
|
|
|
3249
3249
|
*/
|
|
3250
3250
|
refresh() {
|
|
3251
|
-
this.i.
|
|
3251
|
+
this.i.refresh();
|
|
3252
3252
|
}
|
|
3253
3253
|
/**
|
|
3254
3254
|
* Makes sure pending work has completed if the grid need to be synchronously examined.
|
|
3255
3255
|
|
|
3256
3256
|
*/
|
|
3257
3257
|
flush() {
|
|
3258
|
-
this.i.
|
|
3258
|
+
this.i.flush();
|
|
3259
3259
|
}
|
|
3260
3260
|
notifyScrollStart() {
|
|
3261
3261
|
this.i.notifyScrollStart();
|
|
@@ -3264,13 +3264,13 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
3264
3264
|
this.i.notifyScrollStop();
|
|
3265
3265
|
}
|
|
3266
3266
|
exchangeColumn(newColumn, oldColumn) {
|
|
3267
|
-
this.i.
|
|
3267
|
+
this.i.exchangeColumn((newColumn == null ? null : newColumn.i), (oldColumn == null ? null : oldColumn.i));
|
|
3268
3268
|
}
|
|
3269
3269
|
pinColumn(column, position) {
|
|
3270
|
-
this.i.
|
|
3270
|
+
this.i.pinColumn((column == null ? null : column.i), (position == null ? null : position));
|
|
3271
3271
|
}
|
|
3272
3272
|
moveColumn(oldIndex, newIndex) {
|
|
3273
|
-
this.i.
|
|
3273
|
+
this.i.moveColumn(oldIndex, newIndex);
|
|
3274
3274
|
}
|
|
3275
3275
|
/**
|
|
3276
3276
|
* Moves a column to the left, if possible.
|
|
@@ -3278,7 +3278,7 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
3278
3278
|
* @param columnIndex * The index of the column to move.
|
|
3279
3279
|
*/
|
|
3280
3280
|
moveColumnLeft(columnIndex) {
|
|
3281
|
-
this.i.
|
|
3281
|
+
this.i.moveColumnLeft(columnIndex);
|
|
3282
3282
|
}
|
|
3283
3283
|
/**
|
|
3284
3284
|
* Moves a column to the right, if possible.
|
|
@@ -3286,7 +3286,7 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
3286
3286
|
* @param columnIndex * The index of the column to move.
|
|
3287
3287
|
*/
|
|
3288
3288
|
moveColumnRight(columnIndex) {
|
|
3289
|
-
this.i.
|
|
3289
|
+
this.i.moveColumnRight(columnIndex);
|
|
3290
3290
|
}
|
|
3291
3291
|
/**
|
|
3292
3292
|
* Returns true if a column can be moved to the left of it's current position; otherwise false.
|
|
@@ -3294,7 +3294,7 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
3294
3294
|
* @param columnIndex * The index of the column.
|
|
3295
3295
|
*/
|
|
3296
3296
|
canMoveColumnLeft(columnIndex) {
|
|
3297
|
-
let iv = this.i.
|
|
3297
|
+
let iv = this.i.canMoveColumnLeft(columnIndex);
|
|
3298
3298
|
return (iv);
|
|
3299
3299
|
}
|
|
3300
3300
|
/**
|
|
@@ -3303,7 +3303,7 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
3303
3303
|
* @param columnIndex * The index of the column.
|
|
3304
3304
|
*/
|
|
3305
3305
|
canMoveColumnRight(columnIndex) {
|
|
3306
|
-
let iv = this.i.
|
|
3306
|
+
let iv = this.i.canMoveColumnRight(columnIndex);
|
|
3307
3307
|
return (iv);
|
|
3308
3308
|
}
|
|
3309
3309
|
/**
|
|
@@ -3311,7 +3311,7 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
3311
3311
|
|
|
3312
3312
|
*/
|
|
3313
3313
|
exportVisualModel() {
|
|
3314
|
-
let iv = this.i.
|
|
3314
|
+
let iv = this.i.exportVisualModel();
|
|
3315
3315
|
return (iv);
|
|
3316
3316
|
}
|
|
3317
3317
|
/**
|
|
@@ -3319,7 +3319,7 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
3319
3319
|
|
|
3320
3320
|
*/
|
|
3321
3321
|
exportSerializedVisualModel() {
|
|
3322
|
-
let iv = this.i.
|
|
3322
|
+
let iv = this.i.exportSerializedVisualModel();
|
|
3323
3323
|
return (iv);
|
|
3324
3324
|
}
|
|
3325
3325
|
/**
|
|
@@ -3328,7 +3328,7 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
3328
3328
|
* @param rowNumber * The row index to scroll to.
|
|
3329
3329
|
*/
|
|
3330
3330
|
scrollToRowByIndex(rowNumber) {
|
|
3331
|
-
this.i.
|
|
3331
|
+
this.i.scrollToRowByIndex(rowNumber);
|
|
3332
3332
|
}
|
|
3333
3333
|
/**
|
|
3334
3334
|
* Scrolls the grid so that a row is the last visible, by index.
|
|
@@ -3336,7 +3336,7 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
3336
3336
|
* @param rowNumber * The row index to scroll to.
|
|
3337
3337
|
*/
|
|
3338
3338
|
scrollToLastRowByIndex(rowNumber) {
|
|
3339
|
-
this.i.
|
|
3339
|
+
this.i.scrollToLastRowByIndex(rowNumber);
|
|
3340
3340
|
}
|
|
3341
3341
|
/**
|
|
3342
3342
|
* Scrolls to an item, if found.
|
|
@@ -3344,11 +3344,11 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
3344
3344
|
* @param item * The item to scroll to.
|
|
3345
3345
|
*/
|
|
3346
3346
|
scrollToItem(item) {
|
|
3347
|
-
let iv = this.i.
|
|
3347
|
+
let iv = this.i.scrollToItem(item);
|
|
3348
3348
|
return (iv);
|
|
3349
3349
|
}
|
|
3350
3350
|
scrollToPrimaryKey(key) {
|
|
3351
|
-
let iv = this.i.
|
|
3351
|
+
let iv = this.i.scrollToPrimaryKey(key);
|
|
3352
3352
|
return (iv);
|
|
3353
3353
|
}
|
|
3354
3354
|
/**
|
|
@@ -3357,14 +3357,14 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
3357
3357
|
* @param columnNumber * The column number to scroll to.
|
|
3358
3358
|
*/
|
|
3359
3359
|
scrollToColumnByIndex(columnNumber) {
|
|
3360
|
-
this.i.
|
|
3360
|
+
this.i.scrollToColumnByIndex(columnNumber);
|
|
3361
3361
|
}
|
|
3362
3362
|
/**
|
|
3363
3363
|
* Gets the last visible index in the grid.
|
|
3364
3364
|
|
|
3365
3365
|
*/
|
|
3366
3366
|
getLastVisibleIndex() {
|
|
3367
|
-
let iv = this.i.
|
|
3367
|
+
let iv = this.i.getLastVisibleIndex();
|
|
3368
3368
|
return (iv);
|
|
3369
3369
|
}
|
|
3370
3370
|
/**
|
|
@@ -3372,7 +3372,7 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
3372
3372
|
|
|
3373
3373
|
*/
|
|
3374
3374
|
getFirstVisibleIndex() {
|
|
3375
|
-
let iv = this.i.
|
|
3375
|
+
let iv = this.i.getFirstVisibleIndex();
|
|
3376
3376
|
return (iv);
|
|
3377
3377
|
}
|
|
3378
3378
|
/**
|
|
@@ -3380,7 +3380,7 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
3380
3380
|
|
|
3381
3381
|
*/
|
|
3382
3382
|
invalidateVisibleRows() {
|
|
3383
|
-
this.i.
|
|
3383
|
+
this.i.invalidateVisibleRows();
|
|
3384
3384
|
}
|
|
3385
3385
|
/**
|
|
3386
3386
|
* Manually set the active responsive state of the grid.
|
|
@@ -3388,10 +3388,10 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
3388
3388
|
* @param name
|
|
3389
3389
|
*/
|
|
3390
3390
|
setActiveResponsiveState(name) {
|
|
3391
|
-
this.i.
|
|
3391
|
+
this.i.setActiveResponsiveState(name);
|
|
3392
3392
|
}
|
|
3393
3393
|
notifySetItem(index, oldItem, newItem) {
|
|
3394
|
-
this.i.
|
|
3394
|
+
this.i.notifySetItem(index, oldItem, newItem);
|
|
3395
3395
|
}
|
|
3396
3396
|
/**
|
|
3397
3397
|
* Manually notifies the grid's data source that the data it has bound to has been cleared and needs to be re-examined.
|
|
@@ -3399,13 +3399,13 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
3399
3399
|
|
|
3400
3400
|
*/
|
|
3401
3401
|
notifyClearItems() {
|
|
3402
|
-
this.i.
|
|
3402
|
+
this.i.notifyClearItems();
|
|
3403
3403
|
}
|
|
3404
3404
|
notifyInsertItem(index, newItem) {
|
|
3405
|
-
this.i.
|
|
3405
|
+
this.i.notifyInsertItem(index, newItem);
|
|
3406
3406
|
}
|
|
3407
3407
|
notifyRemoveItem(index, oldItem) {
|
|
3408
|
-
this.i.
|
|
3408
|
+
this.i.notifyRemoveItem(index, oldItem);
|
|
3409
3409
|
}
|
|
3410
3410
|
/**
|
|
3411
3411
|
* Returns the data index of an item within the bound data source.
|
|
@@ -3413,11 +3413,11 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
3413
3413
|
* @param item * The item from which to get the index.
|
|
3414
3414
|
*/
|
|
3415
3415
|
dataIndexOfItem(item) {
|
|
3416
|
-
let iv = this.i.
|
|
3416
|
+
let iv = this.i.dataIndexOfItem(item);
|
|
3417
3417
|
return (iv);
|
|
3418
3418
|
}
|
|
3419
3419
|
dataIndexOfPrimaryKey(key) {
|
|
3420
|
-
let iv = this.i.
|
|
3420
|
+
let iv = this.i.dataIndexOfPrimaryKey(key);
|
|
3421
3421
|
return (iv);
|
|
3422
3422
|
}
|
|
3423
3423
|
/**
|
|
@@ -3426,11 +3426,11 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
3426
3426
|
* @param cellKey * The cell to resolve.
|
|
3427
3427
|
*/
|
|
3428
3428
|
resolveCellValue(cellKey) {
|
|
3429
|
-
let iv = this.i.
|
|
3429
|
+
let iv = this.i.resolveCellValue((cellKey == null ? null : cellKey.i));
|
|
3430
3430
|
return (iv);
|
|
3431
3431
|
}
|
|
3432
3432
|
resolveCellValueFromPosition(row, column) {
|
|
3433
|
-
let iv = this.i.
|
|
3433
|
+
let iv = this.i.resolveCellValueFromPosition(row, column);
|
|
3434
3434
|
return (iv);
|
|
3435
3435
|
}
|
|
3436
3436
|
/**
|
|
@@ -3440,7 +3440,7 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
3440
3440
|
* @param index * The rendered index of the column.
|
|
3441
3441
|
*/
|
|
3442
3442
|
getColumnAtRenderedIndex(index) {
|
|
3443
|
-
let iv = this.i.
|
|
3443
|
+
let iv = this.i.getColumnAtRenderedIndex(index);
|
|
3444
3444
|
let ret = null;
|
|
3445
3445
|
if (iv && iv.externalObject) {
|
|
3446
3446
|
ret = iv.externalObject;
|
|
@@ -3460,7 +3460,7 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
3460
3460
|
|
|
3461
3461
|
*/
|
|
3462
3462
|
getRootSummaryResults() {
|
|
3463
|
-
let iv = this.i.
|
|
3463
|
+
let iv = this.i.getRootSummaryResults();
|
|
3464
3464
|
return (iv);
|
|
3465
3465
|
}
|
|
3466
3466
|
/**
|
|
@@ -3468,7 +3468,7 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
3468
3468
|
|
|
3469
3469
|
*/
|
|
3470
3470
|
getSectionSummaryResults(sectionIndex) {
|
|
3471
|
-
let iv = this.i.
|
|
3471
|
+
let iv = this.i.getSectionSummaryResults(sectionIndex);
|
|
3472
3472
|
return (iv);
|
|
3473
3473
|
}
|
|
3474
3474
|
/**
|
|
@@ -3476,14 +3476,14 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
3476
3476
|
|
|
3477
3477
|
*/
|
|
3478
3478
|
commitEdits() {
|
|
3479
|
-
this.i.
|
|
3479
|
+
this.i.commitEdits();
|
|
3480
3480
|
}
|
|
3481
3481
|
/**
|
|
3482
3482
|
* Cancels any edits that may exist in the datasource.
|
|
3483
3483
|
|
|
3484
3484
|
*/
|
|
3485
3485
|
cancelEdits() {
|
|
3486
|
-
this.i.
|
|
3486
|
+
this.i.cancelEdits();
|
|
3487
3487
|
}
|
|
3488
3488
|
/**
|
|
3489
3489
|
* Accepts a specific commit to the datasource.
|
|
@@ -3491,7 +3491,7 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
3491
3491
|
* @param commitID * The ID of the commit provided by the Committing event.
|
|
3492
3492
|
*/
|
|
3493
3493
|
acceptCommit(commitID) {
|
|
3494
|
-
this.i.
|
|
3494
|
+
this.i.acceptCommit(commitID);
|
|
3495
3495
|
}
|
|
3496
3496
|
/**
|
|
3497
3497
|
* Rejects a specific commit.
|
|
@@ -3499,27 +3499,27 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
3499
3499
|
* @param commitID * The ID of the commit provided by the Committing event.
|
|
3500
3500
|
*/
|
|
3501
3501
|
rejectCommit(commitID) {
|
|
3502
|
-
this.i.
|
|
3502
|
+
this.i.rejectCommit(commitID);
|
|
3503
3503
|
}
|
|
3504
3504
|
/**
|
|
3505
3505
|
* Undo the last edit.
|
|
3506
3506
|
|
|
3507
3507
|
*/
|
|
3508
3508
|
undo() {
|
|
3509
|
-
this.i.
|
|
3509
|
+
this.i.undo();
|
|
3510
3510
|
}
|
|
3511
3511
|
/**
|
|
3512
3512
|
* Redo the last edit.
|
|
3513
3513
|
|
|
3514
3514
|
*/
|
|
3515
3515
|
redo() {
|
|
3516
|
-
this.i.
|
|
3516
|
+
this.i.redo();
|
|
3517
3517
|
}
|
|
3518
3518
|
updatePropertyAtKey(key, propertyPath, value) {
|
|
3519
|
-
this.i.
|
|
3519
|
+
this.i.updatePropertyAtKey(key, propertyPath, value);
|
|
3520
3520
|
}
|
|
3521
3521
|
removeItemByKey(key) {
|
|
3522
|
-
this.i.
|
|
3522
|
+
this.i.removeItemByKey(key);
|
|
3523
3523
|
}
|
|
3524
3524
|
/**
|
|
3525
3525
|
* Removes an item by its instance.
|
|
@@ -3527,7 +3527,7 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
3527
3527
|
* @param item * The item instance to remove.
|
|
3528
3528
|
*/
|
|
3529
3529
|
removeItem(item) {
|
|
3530
|
-
this.i.
|
|
3530
|
+
this.i.removeItem(item);
|
|
3531
3531
|
}
|
|
3532
3532
|
/**
|
|
3533
3533
|
* Accept a pending edit turning it into a real edit.
|
|
@@ -3535,7 +3535,7 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
3535
3535
|
* @param editID * The ID of the edit. Provided by the CellValueChanging event.
|
|
3536
3536
|
*/
|
|
3537
3537
|
acceptEdit(editID) {
|
|
3538
|
-
this.i.
|
|
3538
|
+
this.i.acceptEdit(editID);
|
|
3539
3539
|
}
|
|
3540
3540
|
/**
|
|
3541
3541
|
* Reject a pending edit.
|
|
@@ -3543,41 +3543,41 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
3543
3543
|
* @param editID * The ID of the edit. Provided by the CellValueChanging event.
|
|
3544
3544
|
*/
|
|
3545
3545
|
rejectEdit(editID) {
|
|
3546
|
-
this.i.
|
|
3546
|
+
this.i.rejectEdit(editID);
|
|
3547
3547
|
}
|
|
3548
3548
|
setEditError(editID, errorMessage) {
|
|
3549
|
-
this.i.
|
|
3549
|
+
this.i.setEditError(editID, errorMessage);
|
|
3550
3550
|
}
|
|
3551
3551
|
/**
|
|
3552
3552
|
* Start edit mode on the active cell.
|
|
3553
3553
|
|
|
3554
3554
|
*/
|
|
3555
3555
|
startEditMode() {
|
|
3556
|
-
this.i.
|
|
3556
|
+
this.i.startEditMode();
|
|
3557
3557
|
}
|
|
3558
3558
|
endEditMode(commit) {
|
|
3559
|
-
this.i.
|
|
3559
|
+
this.i.endEditMode(commit);
|
|
3560
3560
|
}
|
|
3561
3561
|
/**
|
|
3562
3562
|
* Selects all of the rows in the grid.
|
|
3563
3563
|
|
|
3564
3564
|
*/
|
|
3565
3565
|
selectAllRows() {
|
|
3566
|
-
this.i.
|
|
3566
|
+
this.i.selectAllRows();
|
|
3567
3567
|
}
|
|
3568
3568
|
/**
|
|
3569
3569
|
* Deselects all currently selected rows.
|
|
3570
3570
|
|
|
3571
3571
|
*/
|
|
3572
3572
|
deselectAllRows() {
|
|
3573
|
-
this.i.
|
|
3573
|
+
this.i.deselectAllRows();
|
|
3574
3574
|
}
|
|
3575
3575
|
/**
|
|
3576
3576
|
* Saves the layout chnages that have been made to the grid
|
|
3577
3577
|
|
|
3578
3578
|
*/
|
|
3579
3579
|
saveLayout() {
|
|
3580
|
-
let iv = this.i.
|
|
3580
|
+
let iv = this.i.saveLayout();
|
|
3581
3581
|
return (iv);
|
|
3582
3582
|
}
|
|
3583
3583
|
/**
|
|
@@ -3585,7 +3585,7 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
3585
3585
|
|
|
3586
3586
|
*/
|
|
3587
3587
|
loadLayout(json) {
|
|
3588
|
-
this.i.
|
|
3588
|
+
this.i.loadLayout(json);
|
|
3589
3589
|
}
|
|
3590
3590
|
get filterExpressionsChanging() {
|
|
3591
3591
|
return this._filterExpressionsChanging;
|
|
@@ -4367,7 +4367,7 @@ export let IgcDataGridComponent = /*@__PURE__*/ (() => {
|
|
|
4367
4367
|
this._actualPrimaryKeyChange = ev;
|
|
4368
4368
|
this._actualPrimaryKeyChange_wrapped = (o, e) => {
|
|
4369
4369
|
let ext = this.actualPrimaryKey;
|
|
4370
|
-
if (e.propertyName == '
|
|
4370
|
+
if (e.propertyName == 'ActualPrimaryKey') {
|
|
4371
4371
|
if (this.beforeActualPrimaryKeyChange) {
|
|
4372
4372
|
this.beforeActualPrimaryKeyChange(this, ext);
|
|
4373
4373
|
}
|