Menu

Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.

Enterprise Open source

CompletionItemGroup interface

Signature

typescript
export interface CompletionItemGroup 

Import

typescript
import { CompletionItemGroup } from '@grafana/ui';

Properties

PropertyTypeDescription
itemsCompletionItem[]List of suggestions of this group.
labelstringLabel that will be displayed for all entries of this group.
prefixMatchbooleanIf true, match only by prefix (and not mid-word).
skipFilterbooleanIf true, do not filter items in this group based on the search.
skipSortbooleanIf true, do not sort items.

items property

List of suggestions of this group.

Signature

typescript
items: CompletionItem[];

label property

Label that will be displayed for all entries of this group.

Signature

typescript
label: string;

prefixMatch property

If true, match only by prefix (and not mid-word).

Signature

typescript
prefixMatch?: boolean;

skipFilter property

If true, do not filter items in this group based on the search.

Signature

typescript
skipFilter?: boolean;

skipSort property

If true, do not sort items.

Signature

typescript
skipSort?: boolean;