New to Telerik UI for ASP.NET Core? Start a free 30-day trial

Defines the fluent API for configuring MultiColumnComboBoxVirtualSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class MultiColumnComboBoxVirtualSettingsBuilder

Inheritance: objectMultiColumnComboBoxVirtualSettingsBuilder

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

MultiColumnComboBoxVirtualSettingsBuilder method.

C#
public MultiColumnComboBoxVirtualSettingsBuilder(MultiColumnComboBoxVirtualSettings container)
Parameters:containerMultiColumnComboBoxVirtualSettings

Properties

Gets the settings being configured.

C#
protected MultiColumnComboBoxVirtualSettings Container { get; }

Methods

Specifies the height of the virtual item. All items in the virtualized list must have the same height. If the developer does not specify one, the framework will automatically set itemHeight based on the current theme and font size.

C#
public MultiColumnComboBoxVirtualSettingsBuilder ItemHeight(double value)
Parameters:valuedouble

The value for ItemHeight

Returns:

MultiColumnComboBoxVirtualSettingsBuilder

Returns the current MultiColumnComboBoxVirtualSettingsBuilder instance.

The changes introduced with the Kendo UI R3 2016 release enable you to determine if the valueMapper must resolve a value to an index or a value to a dataItem. This is configured through the mapValueTo option that accepts two possible values - "index" or "dataItem". By default, the mapValueTo is set to "index", which does not affect the current behavior of the virtualization process.For more information, refer to the article on virtualization.

C#
public MultiColumnComboBoxVirtualSettingsBuilder MapValueTo(string value)
Parameters:valuestring

The value for MapValueTo

Returns:

MultiColumnComboBoxVirtualSettingsBuilder

Returns the current MultiColumnComboBoxVirtualSettingsBuilder instance.

The widget calls the valueMapper function when the widget receives a value, that is not fetched from the remote server yet. The widget will pass the selected value(s) in the valueMapper function. In turn, the valueMapper implementation should return the respective data item(s) index/indices.

C#
public MultiColumnComboBoxVirtualSettingsBuilder ValueMapper(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

MultiColumnComboBoxVirtualSettingsBuilder

Returns the current MultiColumnComboBoxVirtualSettingsBuilder instance.

The widget calls the valueMapper function when the widget receives a value, that is not fetched from the remote server yet. The widget will pass the selected value(s) in the valueMapper function. In turn, the valueMapper implementation should return the respective data item(s) index/indices.

C#
public MultiColumnComboBoxVirtualSettingsBuilder ValueMapper(string handler)
Parameters:handlerstring

The name of the JavaScript function that will be evaluated.

Returns:

MultiColumnComboBoxVirtualSettingsBuilder

Returns the current MultiColumnComboBoxVirtualSettingsBuilder instance.