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 Parameters |
Types Documentation¶
import type { ColumnSelectionDialogResult } from '@siemens/element-ng/column-selection-dialog';
Optional environment Injector. Optional element Injector. Additional providers for the modal. providers ? : import type { ModalDependencyInjectionOptions } from '@siemens/element-ng/modal';
StaticProvider[] ¶
restoreEnabled ? : translationParams ? : import type { SiColumnSelectionDialogConfig } from '@siemens/element-ng/column-selection-dialog';
boolean ¶ { [key: string]: any; } ¶
Emit type of dialog actions.import type { ColumnSelectionDialogResultType } from '@siemens/element-ng/column-selection-dialog';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.
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 { Column } from '@siemens/element-ng/column-selection-dialog';
Represents a translatable string. This can either be a translation key, e.g. import type { TranslatableString } from '@siemens/element-translate-ng/translate-types';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.