SiColumnSelectionDialogService documentation¶
import { SiColumnSelectionDialogService } from '@siemens/element-ng/column-selection-dialog'; Attributes and Methods¶
| Name | Type | Description |
|---|---|---|
| showColumnSelectionDialog() ¶ | (dialogConfig: SiColumnSelectionDialogConfig, diOptions?: ModalDependencyInjectionOptions) => Observable<ColumnSelectionDialogResult> | Opens a column selection dialog. Despite other dialogs, this dialog informs the consumer not ONLY with clicking |
Types Documentation¶
import type { ModalDependencyInjectionOptions } from '@siemens/element-ng/modal'; -
Optional environment Injector.
-
Optional element Injector.
-
Additional providers for the modal.
import type { SiColumnSelectionDialogConfig } from '@siemens/element-ng/column-selection-dialog'; -
translationParams?:
{ [key: string]: any; }¶
import type { ColumnSelectionDialogResultType } from '@siemens/element-ng/column-selection-dialog';Emit type of dialog actions.
ok : Emitted when user submits. cancel : Emitted when user clicks cancel. instant : Emitted when visibility or place of a row changes.
instant type is used to reflect the ui changes real time even before closing the dialog.
import type { Column } from '@siemens/element-ng/column-selection-dialog'; -
If true, the column is disabled and cannot be interacted with. This means, the user cannot change any of the column options like the visibility etc.
-
If true, the order of the column can be changed by dragging it to another position.
-
If true, the title can be renamed.
-
Unique id
-
Title of the column.
-
Decides if the column is visible to the user.
import type { TranslatableString } from '@siemens/element-translate-ng/translate-types';Represents a translatable string. This can either be a translation key, e.g. ACTIONS.EDIT that will be automatically translated when displayed on the UI or a pre-translated string, e.g. Edit. Equivalent to a normal string in usage and functionality.
Except where otherwise noted, content on this site is licensed under MIT License.