Skip to main content

kendoMultiColumnComboBox

Namespace: Wisej.Web.Ext.Kendo

Assembly: Wisej.Web.Ext.Kendo (4.1.0.0)

The MultiColumnComboBox visualizes huge sets of data in a grid-like table.

public class kendoMultiColumnComboBox : kendoBase

Constructors​

Instance member kendoMultiColumnComboBox()​

Constructs a new instance of the kendoMultiColumnComboBox class.

Example:

The following example creates a multi-column combo box and defines its data and columns through the Options property.

var combo = new kendoMultiColumnComboBox();
combo.Options.dataTextField = "name";
combo.Options.dataValueField = "id";
combo.Options.dataSource = customers;
combo.Options.columns = new object[]
{
new { field = "name", title = "Name", width = 200 },
new { field = "city", title = "City", width = 150 }
};
combo.Width = 350;
this.Controls.Add(combo);

Instance member kendoMultiColumnComboBox(options)​

Constructs a new instance of the kendoMultiColumnComboBox class.

NameTypeDescription
optionsObjectInitial set of options.

Example:

The following example creates a multi-column combo box that filters the rows on two fields while the user types.

var combo = new kendoMultiColumnComboBox(new
{
dataTextField = "name",
dataValueField = "id",
filter = "contains",
filterFields = new[] { "name", "city" },
placeholder = "Select a customer...",
dataSource = customers,
columns = new object[]
{
new { field = "name", title = "Name", width = 200 },
new { field = "city", title = "City", width = 150 }
}
});
combo.Width = 350;
this.Controls.Add(combo);

Implements​