IUiPeriodPreset
Represents a named period of a date range parameter, listed after the presets of its granularity.
export interface IUiPeriodPreset extends IDateFilterOption
Extends: IDateFilterOption
Remarks
The selected option refers to the parameter, not to its current from and to, so the filter follows changes of the period.
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
(Optional) Optional configuration for how this option should treat empty date values. | |||
string | Title of the period | ||
Date range parameter that holds the period | |||
(Optional) Current period of the parameter, absent when the parameter is not available | |||
Type to identify a named period |
Property details
IUiPeriodPreset.emptyValueHandlingproperty
Optional configuration for how this option should treat empty date values.
emptyValueHandling?: EmptyValues;
IUiPeriodPreset.nameproperty
Title of the period
name: string;
IUiPeriodPreset.parameterproperty
Date range parameter that holds the period
parameter: ObjRef;
IUiPeriodPreset.periodproperty
Current period of the parameter, absent when the parameter is not available
period?: IDateRangeParameterPeriod;
IUiPeriodPreset.typeproperty
Type to identify a named period
type: DateFilterOptionPeriodPresetType;