5.20231.904
wijmo Class GroupDescription Wijmo API Class

GroupDescription Class

Represents a base class for types defining grouping conditions.

The concrete class which is commonly used for this purpose is PropertyGroupDescription.

Heirarchy

Methods

groupNameFromItem

  • groupNameFromItem(item: any, level: number): any
  • Returns the group name for the given item.

    Parameters

    • item: any

      The item to get group name for.

    • level: number

      The zero-based group level index.

    Returns any

    The name of the group the item belongs to.

namesMatch

  • namesMatch(groupName: any, itemName: any): boolean
  • Returns a value that indicates whether the group name and the item name match (which implies that the item belongs to the group).

    Parameters

    • groupName: any

      The name of the group.

    • itemName: any

      The name of the item.

    Returns boolean

    True if the names match; otherwise, false.