Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RadAutoCompleteTextView

RadAutoCompleteTextView provides means to perform easy filtering of data and completion suggestion's according to typed text by the user. Provides tokens, layouts, completion modes.

Hierarchy

  • void
    • RadAutoCompleteTextView

Index

Properties

closeButtonImageSrc

closeButtonImageSrc: string

Sets the source of the Image for the 'close' button in the text area of the RadAutoCompleteTextView.

completionMode

completionMode: string

Defines the criteria on which suggestions are being filtered.

displayMode

displayMode: string

Defines how selected items are shown. Default value is Plain.

hint

hint: string

Sets a hint for the RadAutoCompleteTextView. That is the text that is displayed when no text is typed.

itemViewLoader

itemViewLoader: function

Gets or sets the item view loaded used by the @link RadListView} when creating its item views.

Type declaration

    • (viewType: any): View
    • Parameters

      • viewType: any

      Returns View

items

items: ObservableArray

Items used to provide suggestions.

layoutMode

layoutMode: string

Defines the layout of the tokens.

loadSuggestionsAsync

loadSuggestionsAsync: any

Sets or gets a function that is used by the RadAutoCompleteTextView to retrive its items.

minimumCharactersToSearch

minimumCharactersToSearch: number

Sets the minimal count of typed characters for the RadAutoCompleteTextView to start filtering.

readOnly

readOnly: boolean

Sets or gets if the RadAutoCompleteTextView will be enabled or disabled.

showCloseButton

showCloseButton: boolean

Sets if the 'close' button in the text area of the RadAutoCompleteTextView is shown.

suggestMode

suggestMode: string

Defines how suggestion are presented.

suggestionView

suggestionView: any

The suggestion view holding suggestion items in Suggest mode.

Static didAutoCompleteEvent

didAutoCompleteEvent: string

The event fired when an item is chosen from the suggestions list.

Static itemLoadingEvent

itemLoadingEvent: string

The event fired when the suggestion view is being populated.

Static loadSuggestionsAsyncProperty

loadSuggestionsAsyncProperty: Property

Identifies the itemTemplate dependency property.

Static suggestionViewBecameVisibleEvent

suggestionViewBecameVisibleEvent: string

The event fired when suggestion view has become visible.

Static tokenAddedEvent

tokenAddedEvent: string

The event fired when token is added.

Static tokenDeselectedEvent

tokenDeselectedEvent: string

The event fired when token is deselected.

Static tokenRemovedEvent

tokenRemovedEvent: string

The event fired when token is removed.

Static tokenSelectedEvents

tokenSelectedEvents: string

The event fired when token is selected.

Methods

addToken

  • Adds token.

    Parameters

    Returns any

insertTokenAtIndex

  • insertTokenAtIndex(token: TokenModel, index: number): any
  • Inserts token at specified index.

    Parameters

    Returns any

removeAllTokens

  • removeAllTokens(): any
  • Removes all tokens.

    Returns any

removeToken

  • Removes specified token.

    Parameters

    Returns any

removeTokenAtIndex

  • removeTokenAtIndex(index: number): any
  • Removes token at specified index.

    Parameters

    • index: number

    Returns any

resetAutocomplete

  • resetAutocomplete(): any
  • Resets the RadAutoCompleteTextView component.

    Returns any

tokenAtIndex

  • tokenAtIndex(index: number): any
  • Returns token at specified index.

    Parameters

    • index: number

    Returns any

tokens

  • tokens(): any
  • Returns all tokens.

    Returns any

Generated using TypeDoc