import { IgcGridColumnAnimationSettings } from "./igc-grid-column-animation-settings"; import { IgcColumnWidth } from "./igc-column-width"; import { IgcHeaderComponent } from "./igc-header-component"; import { ColumnSortDirection } from "./ColumnSortDirection"; import { PinnedPositions } from "./PinnedPositions"; import { ColumnOptionsIconAlignment } from "./ColumnOptionsIconAlignment"; import { ColumnOptionsIconBehavior } from "./ColumnOptionsIconBehavior"; import { MergedCellMode } from "./MergedCellMode"; import { MergedCellEvaluationCriteria } from "./MergedCellEvaluationCriteria"; import { CellContentVerticalAlignment } from "./CellContentVerticalAlignment"; import { FilterComparisonType } from "./FilterComparisonType"; import { IgcGridFilterOperandsCollection } from "./igc-grid-filter-operands-collection"; import { TextCellDecoration } from "./TextCellDecoration"; import { IgcFormatCellEventArgs } from "./igc-format-cell-event-args"; import { CellPropertyAnimationType } from "./CellPropertyAnimationType"; import { IgcDefinitionBaseComponent } from "./igc-definition-base-component"; import { DataGridColumn } from "./DataGridColumn"; import { ColumnFilterCondition } from "./ColumnFilterCondition"; import { IFilterExpression } from "igniteui-webcomponents-core"; import { ToolActionInfo } from "igniteui-webcomponents-core"; import { ICommandAvailabilityListener } from "igniteui-webcomponents-core"; import { ICommandStateChangedListener } from "igniteui-webcomponents-core"; /** * A column in the data grid. */ export declare abstract class IgcDataGridColumnComponent extends IgcDefinitionBaseComponent { /** * @hidden */ get i(): DataGridColumn; constructor(); connectedCallback(): void; disconnectedCallback(): void; private static _observedAttributesIgcDataGridColumnComponent; static get observedAttributes(): string[]; /** * Gets or sets the amount of left padding to use for the cell content for this column. */ get paddingLeft(): number; set paddingLeft(v: number); /** * Gets or sets the amount of top padding to use for the cell content for this column. */ get paddingTop(): number; set paddingTop(v: number); /** * Gets or sets the amount of right padding to use for the cell content of this column. */ get paddingRight(): number; set paddingRight(v: number); /** * Gets or sets the amount of bottom padding to use for the cell content of this column. */ get paddingBottom(): number; set paddingBottom(v: number); /** * Gets or sets an unique name of the Column */ get name(): string; set name(v: string); /** * Gets or sets the key used for the column binding */ get field(): string; set field(v: string); /** * Gets or sets the text displayed in the header of the column */ get headerText(): string; set headerText(v: string); /** * Gets the actual text displayed in the header of the column */ get actualHeaderText(): string; set actualHeaderText(v: string); /** * Gets or sets the background color to use for the cells when they are selected */ get selectedBackground(): string; set selectedBackground(v: string); /** * Gets the actual background color that is used for the cells when they are selected */ get actualSelectedBackground(): string; set actualSelectedBackground(v: string); /** * Gets or sets the text color to use for the cells when they are selected */ get selectedTextColor(): string; set selectedTextColor(v: string); /** * Gets the actual text color that is used for the cells when they are selected */ get actualSelectedTextColor(): string; set actualSelectedTextColor(v: string); /** * Gets or sets the background color to use for the cells when the row is hovered. */ get rowHoverBackground(): string; set rowHoverBackground(v: string); /** * Gets the actual background color that is used for the cells when they are hovered. */ get actualHoverBackground(): string; set actualHoverBackground(v: string); /** * Gets or sets the text color to use for the cells when the row is hovered. */ get rowHoverTextColor(): string; set rowHoverTextColor(v: string); /** * Gets the actual text color that is used for the cells when they are hovered. */ get actualRowHoverTextColor(): string; set actualRowHoverTextColor(v: string); /** * Gets or sets the animation settings to use for this column. */ get animationSettings(): IgcGridColumnAnimationSettings; set animationSettings(v: IgcGridColumnAnimationSettings); /** * Gets or sets the width to use for this column. */ get width(): IgcColumnWidth; set width(v: IgcColumnWidth); /** * Gets or sets the minimum width to use for this column. Overrides the DefaultColumnMinWidth from the grid, if set. */ get minWidth(): number; set minWidth(v: number); /** * Gets whether this column was projected from markup/templates and is constrained. */ get isFromMarkup(): boolean; set isFromMarkup(v: boolean); /** * Gets whether this column was auto generated. */ get isAutoGenerated(): boolean; set isAutoGenerated(v: boolean); /** * Gets or sets a filter to apply on the values of this column */ get filter(): ColumnFilterCondition; set filter(v: ColumnFilterCondition); /** * Gets or sets a filter to apply to the values of this column. */ get filterExpression(): IFilterExpression; set filterExpression(v: IFilterExpression); /** * Gets or sets the header definition for this column. */ get header(): IgcHeaderComponent; set header(v: IgcHeaderComponent); /** * Gets or sets whether filtering is enabled for this column. */ get isFilteringEnabled(): boolean; set isFilteringEnabled(v: boolean); /** * Gets or sets whether resizing is enabled for this column. */ get isResizingEnabled(): boolean; set isResizingEnabled(v: boolean); /** * Gets or sets whether sorting is enabled for this column from the UI. */ get isSortingEnabled(): boolean; set isSortingEnabled(v: boolean); /** * Gets or sets whether or not a column is hidden from the grid */ get isHidden(): boolean; set isHidden(v: boolean); /** * Gets or sets if a column should be removed from the grid when it is fully hidden */ get shouldRemoveWhenHidden(): boolean; set shouldRemoveWhenHidden(v: boolean); /** * Gets the current sort direction (None, Ascending, Descending) for this column. */ get sortDirection(): ColumnSortDirection; set sortDirection(v: ColumnSortDirection); /** * Gets or sets the current fixed position for this column. */ get pinned(): PinnedPositions; set pinned(v: PinnedPositions); /** * Gets the actual column options icon alignment for this column. */ get actualColumnOptionsIconAlignment(): ColumnOptionsIconAlignment; set actualColumnOptionsIconAlignment(v: ColumnOptionsIconAlignment); /** * Gets or sets whether the column options icon is aligned opposite the header text or not. */ get columnOptionsIconAlignment(): ColumnOptionsIconAlignment; set columnOptionsIconAlignment(v: ColumnOptionsIconAlignment); /** * Gets the actual column options icon color for this column. */ get actualColumnOptionsIconColor(): string; set actualColumnOptionsIconColor(v: string); /** * Gets or sets the column options icon color for this column. */ get columnOptionsIconColor(): string; set columnOptionsIconColor(v: string); /** * Gets or sets how the column option icon will behave in the column header. */ get columnOptionsIconBehavior(): ColumnOptionsIconBehavior; set columnOptionsIconBehavior(v: ColumnOptionsIconBehavior); /** * Gets or sets how the column option icon will behave in the column header. */ get actualColumnOptionsIconBehavior(): ColumnOptionsIconBehavior; set actualColumnOptionsIconBehavior(v: ColumnOptionsIconBehavior); /** * Gets the actual state of the column options for this column. */ get actualIsColumnOptionsEnabled(): boolean; set actualIsColumnOptionsEnabled(v: boolean); /** * Gets or sets the preferred state of the column options for this column. If the feature is disabled at the grid level * then it will be disabled for the column regardless of what this is set to. */ get isColumnOptionsEnabled(): boolean; set isColumnOptionsEnabled(v: boolean); /** * Gets the actual state of summaries menu in the column options for this column. */ get actualIsColumnOptionsSummariesEnabled(): boolean; set actualIsColumnOptionsSummariesEnabled(v: boolean); /** * Gets or sets whether to show the summaries option in the column options menu for this column. */ get isColumnOptionsSummariesEnabled(): boolean; set isColumnOptionsSummariesEnabled(v: boolean); /** * Gets the actual state of grouping menu in the column options for this column. */ get actualIsColumnOptionsGroupingEnabled(): boolean; set actualIsColumnOptionsGroupingEnabled(v: boolean); /** * Gets or sets whether to show the grouping option in the column options menu for this column. */ get isColumnOptionsGroupingEnabled(): boolean; set isColumnOptionsGroupingEnabled(v: boolean); /** * Gets or sets the column options dropdown background color. */ get actualColumnOptionsBackground(): string; set actualColumnOptionsBackground(v: string); /** * Gets or sets the column options dropdown background color. */ get columnOptionsBackground(): string; set columnOptionsBackground(v: string); /** * Gets the resolved scrollbar background color for checkbox lists in the column options dialog. */ get actualColumnOptionsScrollbarBackground(): string; set actualColumnOptionsScrollbarBackground(v: string); /** * Gets or sets the scrollbar background color for checkbox lists in this column's options dialog. */ get columnOptionsScrollbarBackground(): string; set columnOptionsScrollbarBackground(v: string); /** * Gets the resolved scrollbar thumb hover background color for checkbox lists in the column options dialog. */ get actualColumnOptionsScrollbarHoverBackground(): string; set actualColumnOptionsScrollbarHoverBackground(v: string); /** * Gets or sets the scrollbar thumb hover background color for checkbox lists in this column's options dialog. */ get columnOptionsScrollbarHoverBackground(): string; set columnOptionsScrollbarHoverBackground(v: string); /** * Gets the resolved scrollbar thumb active (dragging) background color for checkbox lists in the column options dialog. */ get actualColumnOptionsScrollbarActiveBackground(): string; set actualColumnOptionsScrollbarActiveBackground(v: string); /** * Gets or sets the scrollbar thumb active (dragging) background color for checkbox lists in this column's options dialog. */ get columnOptionsScrollbarActiveBackground(): string; set columnOptionsScrollbarActiveBackground(v: string); /** * Gets or sets the text color for text inside the column options menu. */ get actualColumnOptionsTextColor(): string; set actualColumnOptionsTextColor(v: string); /** * Gets or sets the text color for text inside the column options menu. */ get columnOptionsTextColor(): string; set columnOptionsTextColor(v: string); /** * Gets or sets the font settings for text inside the column options menu. */ get columnOptionsTextStyle(): string; set columnOptionsTextStyle(v: string); get actualColumnOptionsHoverBackgroundColor(): string; set actualColumnOptionsHoverBackgroundColor(v: string); get columnOptionsHoverBackgroundColor(): string; set columnOptionsHoverBackgroundColor(v: string); get actualColumnOptionsToolTipBackgroundColor(): string; set actualColumnOptionsToolTipBackgroundColor(v: string); get columnOptionsToolTipBackgroundColor(): string; set columnOptionsToolTipBackgroundColor(v: string); get actualColumnOptionsToolTipTextColor(): string; set actualColumnOptionsToolTipTextColor(v: string); get columnOptionsToolTipTextColor(): string; set columnOptionsToolTipTextColor(v: string); get actualColumnOptionsHighlightColor(): string; set actualColumnOptionsHighlightColor(v: string); get columnOptionsHighlightColor(): string; set columnOptionsHighlightColor(v: string); /** * Gets or sets the color of separators inside the column options menu. */ get actualColumnOptionsSeparatorColor(): string; set actualColumnOptionsSeparatorColor(v: string); /** * Gets or sets the color of separators inside the column options menu. */ get columnOptionsSeparatorColor(): string; set columnOptionsSeparatorColor(v: string); /** * Gets or sets the background color for group headers inside the column options menu. */ get actualColumnOptionsGroupHeaderBackground(): string; set actualColumnOptionsGroupHeaderBackground(v: string); /** * Gets or sets the background color for group headers inside the column options menu. */ get columnOptionsGroupHeaderBackground(): string; set columnOptionsGroupHeaderBackground(v: string); /** * Gets the actual text color for group headers inside the column options menu. */ get actualColumnOptionsGroupHeaderTextColor(): string; set actualColumnOptionsGroupHeaderTextColor(v: string); /** * Gets or sets the text color for group headers inside the column options menu. */ get columnOptionsGroupHeaderTextColor(): string; set columnOptionsGroupHeaderTextColor(v: string); get columnOptionsGroupHeaderTextStyle(): string; set columnOptionsGroupHeaderTextStyle(v: string); get actualColumnOptionsAccentColor(): string; set actualColumnOptionsAccentColor(v: string); get columnOptionsAccentColor(): string; set columnOptionsAccentColor(v: string); get actualColumnOptionsRowHeight(): number; set actualColumnOptionsRowHeight(v: number); get columnOptionsRowHeight(): number; set columnOptionsRowHeight(v: number); /** * Gets or sets if the column is editable. */ get isEditable(): boolean; set isEditable(v: boolean); /** * Gets or sets the text color used for deleted rows. */ get deletedTextColor(): string; set deletedTextColor(v: string); /** * Gets the actual text color used for deleted rows. */ get actualDeletedTextColor(): string; set actualDeletedTextColor(v: string); /** * Gets or sets the opacity to use for unsaved edited cell values. */ get editOpacity(): number; set editOpacity(v: number); /** * Gets the actual opacity for unsaved edited cell values. */ get actualEditOpacity(): number; set actualEditOpacity(v: number); /** * Gets or sets the font style to use for unsaved cell edits. */ get textEditStyle(): string; set textEditStyle(v: string); /** * Gets the actual font style used for unsaved cell edits. */ get actualEditFontInfo(): string; set actualEditFontInfo(v: string); /** * Gets or sets if and how cell merging is performed for this field. */ get mergedCellMode(): MergedCellMode; set mergedCellMode(v: MergedCellMode); /** * Gets or sets how cells are evaluated for merging. */ get mergedCellEvaluationCriteria(): MergedCellEvaluationCriteria; set mergedCellEvaluationCriteria(v: MergedCellEvaluationCriteria); /** * Gets or sets the vertical alignment to use for the merged cell content. */ get mergedCellVerticalAlignment(): CellContentVerticalAlignment; set mergedCellVerticalAlignment(v: CellContentVerticalAlignment); /** * Gets or sets the amount of left padding to use for the cell content for this column. */ get mergedCellPaddingLeft(): number; set mergedCellPaddingLeft(v: number); /** * Gets or sets the amount of top padding to use for the cell content for this column. */ get mergedCellPaddingTop(): number; set mergedCellPaddingTop(v: number); /** * Gets or sets the amount of right padding to use for the cell content of this column. */ get mergedCellPaddingRight(): number; set mergedCellPaddingRight(v: number); /** * Gets or sets the amount of bottom padding to use for the cell content of this column. */ get mergedCellPaddingBottom(): number; set mergedCellPaddingBottom(v: number); /** * Gets or sets whether UI filters are case sensitive or not. */ get filterComparisonType(): FilterComparisonType; set filterComparisonType(v: FilterComparisonType); private _filterOperands; /** * Gets a list of the current custom filters for this column. */ get filterOperands(): IgcGridFilterOperandsCollection; set filterOperands(v: IgcGridFilterOperandsCollection); /** * Gets or sets the text to display in the suffix area of cells in this column. */ get suffixText(): string; set suffixText(v: string); /** * Gets or sets the color of the text in the suffix area of the cells in this column. */ get suffixTextColor(): string; set suffixTextColor(v: string); /** * Gets or sets the font of the suffix text. */ get suffixTextStyle(): string; set suffixTextStyle(v: string); /** * Gets or sets the icon to use in the suffix area of the cells in this column. */ get suffixIconName(): string; set suffixIconName(v: string); /** * Gets or sets the icon to use in the suffix area of the cells in this column. */ get suffixIconCollectionName(): string; set suffixIconCollectionName(v: string); /** * Gets or sets the stroke color of suffix icon. */ get suffixIconStroke(): string; set suffixIconStroke(v: string); /** * Gets or sets the fill color of suffix icon. */ get suffixIconFill(): string; set suffixIconFill(v: string); /** * Gets or sets the suffix icon's viewbox x coordinate. */ get suffixIconViewBoxLeft(): number; set suffixIconViewBoxLeft(v: number); /** * Gets or sets the suffix icon's viewbox y coordinate. */ get suffixIconViewBoxTop(): number; set suffixIconViewBoxTop(v: number); /** * Gets or sets the suffix icon's viewbox width. */ get suffixIconViewBoxWidth(): number; set suffixIconViewBoxWidth(v: number); /** * Gets or sets the suffix icon's viewbox height. */ get suffixIconViewBoxHeight(): number; set suffixIconViewBoxHeight(v: number); /** * Gets or sets the suffix margin. */ get suffixMargin(): number; set suffixMargin(v: number); /** * Gets or sets the text decoration to apply to cells in this column. */ get textDecoration(): TextCellDecoration; set textDecoration(v: TextCellDecoration); findByName(name: string): any; protected _styling(container: any, component: any, parent?: any): void; /** * Get the unique key used to identify this column. */ getUniqueKey(): string; setNamedHeaderValue(valueName: string, animationType: CellPropertyAnimationType | string, value: any): void; /** * Returns if the column has named header values. */ hasNamedHeaderValues(): boolean; /** * Returns if there is a named header value with a given name. * @param valueName * The named value to check for. */ hasNamedHeaderValue(valueName: string): boolean; /** * Removes a named header value with the given name from the named header values for this column. * @param valueName * The named header value to remove. */ removeNamedHeaderValue(valueName: string): void; /** * Gets the value of a named header value for this column by name. * @param valueName * Name of the named header value to retrieve. */ getNamedHeaderValue(valueName: string): any; applyCustomFilter(filterID: string, index: number, value: any): void; getDesiredToolbarActions(): ToolActionInfo[]; addCommandAvailabilityListener(listener: ICommandAvailabilityListener): void; removeCommandAvailabilityListener(listener: ICommandAvailabilityListener): void; addCommandStateChangedListener(listener: ICommandStateChangedListener): void; removeCommandStateChangedListener(listener: ICommandStateChangedListener): void; private _formatCell; private _formatCell_wrapped; /** * Called when cell text is being formatted. */ get formatCell(): (s: IgcDataGridColumnComponent, e: IgcFormatCellEventArgs) => void; set formatCell(ev: (s: IgcDataGridColumnComponent, e: IgcFormatCellEventArgs) => void); private _actualHeaderTextChange; private _actualHeaderTextChange_wrapped; get actualHeaderTextChange(): (s: IgcDataGridColumnComponent, e: string) => void; set actualHeaderTextChange(ev: (s: IgcDataGridColumnComponent, e: string) => void); }