sisense.com
✅ You are viewing documentation for the latest version of Compose SDK.
Version:

Type alias FilterWidgetFilterType Beta

FilterWidgetFilterType: "calendar" | "condition" | "members" | "period" | "range" | "rank"

FilterWidgetFilterType selects the rendering type for a filter widget.

  • 'members' — searchable member-select dropdown. Implemented.
  • 'calendar' — calendar taking one date or several, for datetime attributes only. Implemented.
  • 'range' — range picker for date (From/To fields with a shared calendar) and numeric (Minimum / Maximum fields with a slider) attributes. Implemented.
  • 'period' — Time Frame: one-click list of ready-made relative windows (Today, Last 7 days, This month, …) for datetime attributes only. Implemented.
  • 'condition' — condition builder for text (with optional AND/OR chaining), numeric, and date attributes. Implemented.
  • 'rank' — Top / Bottom N ranking of the attribute's members by a measure fixed by the dashboard designer (see FilterWidgetProps.rankBy), for text, numeric, and datetime attributes. Implemented.

Example

The following selects the member-select dropdown rendering:

const filterType: FilterWidgetFilterType = 'members';
Last Updated: