A component that lets you pick values from a dropdown grid with multiple columns.
Supports data binding and server-side loading via OnRead, configurable popup settings through MultiColumnComboBoxSettings, column definitions with MultiColumnComboBoxColumns, custom row rendering via RowTemplate, prefix/suffix content and separators, open/close events, and list sizing with ListHeight. When using virtualization, requires ListHeight and ItemHeight, and does not support grouping.
Children: MultiColumnComboBoxColumns, MultiColumnComboBoxSettings, MultiColumnComboBoxPrefixTemplate, MultiColumnComboBoxSuffixTemplate.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Type Parameters:
TItem
TValue
Syntax:
public class TelerikMultiColumnComboBox<TItem, TValue> : ComboBoxBase<TItem, TValue>, IComponent, IHandleEvent, IHandleAfterRender, IDisposable, IPopupContainer
Inheritance: objectComponentBaseBaseComponentDataBoundComponent<TItem>TelerikSelectBase<TItem, TValue>ComboBoxBase<TItem, TValue>TelerikMultiColumnComboBox<TItem, TValue>...
Implements:
Inherited Members
Constructors
public TelerikMultiColumnComboBox()
Methods
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Overrides:
Properties
Enables WebMCP tool registration for this MultiColumnComboBox.
When true, MultiColumnComboBox operations are exposed as tools discoverable by AI models through the browser.
Default value is false.
[Parameter]
public bool EnableWebMcpTools { get; set; }
Defines the height of the suggestion list container. Default value is 200px.
[Parameter]
public string ListHeight { get; set; }
Specifies column container of the combo box. Add MultiColumnComboBoxColumn tags within this fragment.
[Parameter]
public RenderFragment MultiColumnComboBoxColumns { get; set; }
The content of the MultiColumnComboBox prefix.
[Parameter]
public RenderFragment MultiColumnComboBoxPrefixTemplate { get; set; }
Defines a RenderFragment that contains all settings for the combobox. See MultiColumnComboBoxPopupSettings.
[Parameter]
public RenderFragment MultiColumnComboBoxSettings { get; set; }
The content of the MultiColumnComboBox suffix.
[Parameter]
public RenderFragment MultiColumnComboBoxSuffixTemplate { get; set; }
Defines the OnClose Event which is fired before the suggestion list of the MultiColumnComboBox is closed.
[Parameter]
public EventCallback<MultiColumnComboBoxCloseEventArgs> OnClose { get; set; }
Defines the OnOpen Event which is fired before the suggestion list of the MultiColumnComboBox is opened.
[Parameter]
public EventCallback<MultiColumnComboBoxOpenEventArgs> OnOpen { get; set; }
Fires when the data source is read. Use this to attach your own filtering logic. Once attached, you must implement all such data source operations here, the Component will no longer perform them for you.
[Parameter]
public EventCallback<MultiColumnComboBoxReadEventArgs> OnRead { get; set; }
RowTemplate
RenderFragment<TItem>
Defines the row template of the items.
[Parameter]
public RenderFragment<TItem> RowTemplate { get; set; }
Defines whether the prefix separator should be shown. The default value is true.
[Parameter]
public bool ShowPrefixSeparator { get; set; }
Defines whether the suffix separator should be shown. The default value is true.
[Parameter]
public bool ShowSuffixSeparator { get; set; }