Grooper Help - Version 25.0
25.0.0032 2,215

Lambda Editor

Lambda Filter Filter Part Editor GrooperReview.Pages.Search

Editor for a lambda expression filter condition in the Filter Editor.

Remarks

The Lambda Editor is a UI component in the Filter Editor control, allowing users to define and edit filter conditions that apply to items within a collection field using lambda expressions. It is used to filter search results based on whether any or all items in a collection meet specified criteria, supporting advanced scenarios such as "any line item matches" or "all entries meet a condition".

Purpose and Functionality

The Lambda Editor enables users to:

  • Select a collection field to apply the lambda filter to.
  • Choose the lambda function (ANY or ALL) to determine whether the filter matches if any or all items in the collection meet the condition.
  • Define nested filter conditions (such as comparison, group, or additional lambda conditions) for items in the collection.
  • Organize and nest conditions using add and delete controls for flexible, complex filter logic.
  • View tooltips and contextual help for the selected collection field, including field type and additional guidance.

The editor supports building arbitrarily complex, nested lambda expressions, allowing for precise control over how collection data is filtered in search queries.

UI Components

  • Collection Field Selector: Dropdown for choosing the collection field to filter.
  • Lambda Function Selector: Option to select between ANY (at least one item matches) and ALL (all items must match).
  • Condition Editor: Area for adding and configuring nested filter conditions (comparison, group, or lambda).
  • Add Buttons: Buttons to add new comparison, group, or lambda conditions within the collection context.
  • Delete Buttons: Buttons to remove individual conditions or the entire lambda group.

Example

The following diagram illustrates the typical layout of the Lambda Editor:

┌──────────────────────────────────────────────────────────────────────────────┐
│ {Collection Field Selector}   {Lambda Function Selector: ANY/ALL}   {Delete} │
│ ──────────────────────────────────────────────────────────────────────────── │
│   {Condition Editor: Nested conditions for collection items}                 │
│   {Add Comparison} {Add Group} {Add Lambda}                                  │
└──────────────────────────────────────────────────────────────────────────────┘
  • {Collection Field Selector}: Dropdown to choose the collection field.
  • {Lambda Function Selector}: Option to select ANY or ALL logic.
  • {Condition Editor}: Area for defining nested filter conditions.
  • {Add ...}: Buttons to add new conditions within the lambda context.
  • {Delete}: Button to remove this lambda condition or group.
  • Tooltip area provides context and help for the selected field.

Usage Guidance

  • Use the Lambda Editor to add, edit, or remove filter conditions that apply to items within a collection field.
  • Select the appropriate lambda function (ANY or ALL) to control how the filter is evaluated.
  • Add nested conditions to specify the criteria that collection items must meet.
  • Organize and nest conditions as needed for complex filtering scenarios.
  • Remove conditions or groups using the {Delete} buttons.

For more information on building search filters, see the documentation for Search Page and Filter Editor.

Command Buttons

ButtonShortcut KeySummary
menu menu

Open the menu.

delete delete

Delete this condition.

open_jam add_parent_group

Add a new parent group above this condition.

Notification