Stay organized with collections
Save and categorize content based on your preferences.
MatchType
An enumeration of how a string value should be matched. Matching a string is a boolean operation.
Given a string, a match term (string), and a match type, the operation outputs true in
the following cases:
If the match type equals EXACT and the match term equals the string.
If the match type equals PREFIX and the match term is a prefix of the string.
If the match type equals ANY and the match term is a substring of the string.
This enumeration can be used in by a string filter control to decide which rows to filter out
of the data table. Given a column to filter on, leave only the rows that match the value entered
in the filter input box, using one of the above matching types.
To call an enum, you call its parent class, name, and property. For example,
Charts.MatchType.EXACT.
Properties
Property
Type
Description
EXACT
Enum
Match exact values only
PREFIX
Enum
Match prefixes starting from the beginning of the value
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["`MatchType` is an enumeration used to define how a string value should be matched against a given search term."],["It provides three options: `EXACT`, `PREFIX`, and `ANY` for matching exact values, prefixes, and substrings respectively."],["This enumeration can be utilized by string filter controls to filter data table rows based on user input and the selected match type."],["Calling a `MatchType` property is done using the parent class, name, and desired property, for instance, `Charts.MatchType.EXACT`."],["The `getName()` method is available to retrieve the name of the match type for use in JSON options."]]],[]]