Skip to main content

FilterComposition

  • Changelog

Package @dynatrace/strato-components, latest version 3.15.0. Below are the changes to FilterComposition. See Components changelog for all changes to the package.

3.15.0 Released Oct 1, 2026​

Updates​

  • You can now offer filter actions from any menu with _FilterCompositionMenuGroup. It renders one menu item per filter operation available for a key/value pair, and selecting an item writes the statement into the composition's FilterField. The group names its composition by id, so it works from a menu rendered anywhere in the app, such as a table cell menu. (APPDEV-19484)
How to opt in

Pass the id of the target composition, the key and value to filter by, and the type the key is declared as in the FilterField's validatorMap:

import {
_createFilterCompositionStore,
_FilterCompositionMenuGroup as FilterCompositionMenuGroup,
FilterComposition,
} from '`@dynatrace/strato-components/filters';`
import {
DataTable,
TableActionsMenu,
} from '`@dynatrace/strato-components/tables';`

const store = _createFilterCompositionStore({
id: 'hosts',
filterField: {
validatorMap: { keyPredicates: [{ key: 'status', valueType: 'String' }
  • You can now wire FilterField, TimeframeSelector, and SegmentSelector into a single apply lifecycle with shared validation, cancellation, and server-error handling. (APPDEV-18400)
Still have questions?
Find answers in the Dynatrace Community