ag-grid-community
Version:
Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
26 lines (25 loc) • 1.11 kB
TypeScript
import type { AgComponentSelector } from '../interfaces/agComponent';
import type { AgElementParams } from '../utils/dom';
import type { AgFieldParams } from './agFieldParams';
/** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
export interface AgPickerFieldParams<TComponentSelectorType extends string> extends AgFieldParams {
pickerType: string;
pickerGap?: number;
/**
* If true, will set min-width and max-width (if present), and will set width to wrapper element width.
* If false, will set min-width, max-width and width to maxPickerWidth or wrapper element width.
*/
variableWidth?: boolean;
minPickerWidth?: number | string;
maxPickerWidth?: number | string;
maxPickerHeight?: number | string;
pickerAriaLabelKey: string;
pickerAriaLabelValue: string;
template?: AgElementParams<TComponentSelectorType>;
agComponents?: AgComponentSelector<TComponentSelectorType>[];
className?: string;
pickerIcon?: string;
ariaRole?: string;
modalPicker?: boolean;
inputWidth?: number | 'flex';
}