\Kendo\UI\MultiColumnComboBox
A PHP wrapper for Kendo UI MultiColumnComboBox.
Inherits from \Kendo\UI\Widget.
Usage
To use MultiColumnComboBox in a PHP page instantiate a new instance, configure it via the available
configuration methods and output it by echo
-ing the result of the render method.
Using Kendo MultiColumnComboBox
<?php
// Create a new instance of MultiColumnComboBox and specify its id
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
// Configure it
$multiColumnComboBox->adaptiveMode('value')
// Output it
echo $multiColumnComboBox->render();
?>
Methods
adaptiveMode
Specifies the adaptive rendering of the component. The supported values are: none (default), auto.
Returns
\Kendo\UI\MultiColumnComboBox
Parameters
$value string
Example
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->adaptiveMode('value');
?>
animation
Configures the opening and closing animations of the suggestion popup. Setting the animation option to false will disable the opening and closing animations. As a result the suggestion popup will open and close instantly.
Returns
\Kendo\UI\MultiColumnComboBox
Parameters
$value \Kendo\UI\MultiColumnComboBoxAnimation|array
Example - using \Kendo\UI\MultiColumnComboBoxAnimation
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$animation = new \Kendo\UI\MultiColumnComboBoxAnimation();
$close = new \Kendo\UI\MultiColumnComboBoxAnimationClose();
$animation->close($close);
$multiColumnComboBox->animation($animation);
?>
Example - using array
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$close = new \Kendo\UI\MultiColumnComboBoxAnimationClose();
$multiColumnComboBox->animation(array('close' => $close));
?>
autoBind
Controls whether to bind the widget to the data source on initialization.
Returns
\Kendo\UI\MultiColumnComboBox
Parameters
$value boolean
Example
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->autoBind(true);
?>
cascade
Fired when the value of the widget is changed via API or user interaction. For additional information check the cascade event documentation.
Returns
\Kendo\UI\MultiColumnComboBox
Parameters
$value string|\Kendo\JavaScriptFunction
Example - using string which defines a JavaScript function
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->cascade('function(e) { }');
?>
Example - using string which defines a JavaScript name
<script>
function onCascade(e) {
// handle the cascade event.
}
</script>
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->cascade('onCascade');
?>
Example - using \Kendo\JavaScriptFunction
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->cascade(new \Kendo\JavaScriptFunction('function(e) { }'));
?>
cascadeFrom
Use it to set the Id of the parent MultiColumnComboBox widget.Help topic showing how cascading functionality works
Returns
\Kendo\UI\MultiColumnComboBox
Parameters
$value string
Example
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->cascadeFrom('value');
?>
cascadeFromField
Defines the field to be used to filter the data source. If not defined the parent's dataValueField option will be used.Help topic showing how cascading functionality works
Returns
\Kendo\UI\MultiColumnComboBox
Parameters
$value string
Example
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->cascadeFromField('value');
?>
cascadeFromParentField
Defines the parent field to be used to retain value from. This value will be used further to filter the dataSource. If not defined the value from the parent's dataValueField will be used.
Returns
\Kendo\UI\MultiColumnComboBox
Parameters
$value string
Example
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->cascadeFromParentField('value');
?>
cascadeOnCustomValue
Applicable to a parent MultiColumnComboBox in a cascading scenario. If set to true cascading will be triggered upon custom input in the parent widget. When set to false (default) the child will not cascade and it will be disabled upon setting custom input in the parent MultiColumnComboBox. Cascade on custom values works only when cascadeFromParentField is not set for the child combo, or it points to the dataValueField of the parent.
Returns
\Kendo\UI\MultiColumnComboBox
Parameters
$value boolean
Example
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->cascadeOnCustomValue(true);
?>
change
Fired when the value of the widget is changed by the user. As of 2015 Q3 SP1 cascading widget will trigger change event when its value is changed due to parent update.The event handler function context (available via the this keyword) will be set to the widget instance. For additional information check the change event documentation.
Returns
\Kendo\UI\MultiColumnComboBox
Parameters
$value string|\Kendo\JavaScriptFunction
Example - using string which defines a JavaScript function
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->change('function(e) { }');
?>
Example - using string which defines a JavaScript name
<script>
function onChange(e) {
// handle the change event.
}
</script>
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->change('onChange');
?>
Example - using \Kendo\JavaScriptFunction
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->change(new \Kendo\JavaScriptFunction('function(e) { }'));
?>
clearButton
Unless this options is set to false, a button will appear when hovering the widget. Clicking that button will reset the widget's value and will trigger the change event.
Returns
\Kendo\UI\MultiColumnComboBox
Parameters
$value boolean
Example
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->clearButton(true);
?>
close
Fired when the popup of the widget is closed.The event handler function context (available via the this keyword) will be set to the widget instance. For additional information check the close event documentation.
Returns
\Kendo\UI\MultiColumnComboBox
Parameters
$value string|\Kendo\JavaScriptFunction
Example - using string which defines a JavaScript function
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->close('function(e) { }');
?>
Example - using string which defines a JavaScript name
<script>
function onClose(e) {
// handle the close event.
}
</script>
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->close('onClose');
?>
Example - using \Kendo\JavaScriptFunction
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->close(new \Kendo\JavaScriptFunction('function(e) { }'));
?>
addColumn
Adds one or more MultiColumnComboBoxColumn to the MultiColumnComboBox.
Returns
\Kendo\UI\MultiColumnComboBox
Parameters
$value[, $value2, ...] \Kendo\UI\MultiColumnComboBoxColumn|array
Example - using \Kendo\UI\MultiColumnComboBoxColumn
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$column = new \Kendo\UI\MultiColumnComboBoxColumn();
$field = 'value';
$column->field($field);
$multiColumnComboBox->addColumn($column);
?>
Example - using array
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$field = 'value';
$multiColumnComboBox->addColumn(array('field' => $field));
?>
Example - adding more than one MultiColumnComboBoxColumn
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$first = new \Kendo\UI\MultiColumnComboBoxColumn();
$second = new \Kendo\UI\MultiColumnComboBoxColumn();
$multiColumnComboBox->addColumn($first, $second);
?>
dataBound
Fired when the widget is bound to data from its data source.The event handler function context (available via the this keyword) will be set to the widget instance. For additional information check the dataBound event documentation.
Returns
\Kendo\UI\MultiColumnComboBox
Parameters
$value string|\Kendo\JavaScriptFunction
Example - using string which defines a JavaScript function
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->dataBound('function(e) { }');
?>
Example - using string which defines a JavaScript name
<script>
function onDataBound(e) {
// handle the dataBound event.
}
</script>
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->dataBound('onDataBound');
?>
Example - using \Kendo\JavaScriptFunction
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->dataBound(new \Kendo\JavaScriptFunction('function(e) { }'));
?>
dataSource
Sets the data source of the widget.
Returns
\Kendo\UI\MultiColumnComboBox
Parameters
$value \Kendo\Data\DataSource|array
Example - using \Kendo\Data\DataSource
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$dataSource = new \Kendo\Data\DataSource();
$multiColumnComboBox->dataSource($dataSource);
?>
Example - using array
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$schema = new \Kendo\Data\DataSourceSchema();
$multiColumnComboBox->dataSource(array('schema' => $schema));
?>
dataTextField
The field of the data item that provides the text content of the list items. The widget will filter the data source based on this field.
Returns
\Kendo\UI\MultiColumnComboBox
Parameters
$value string
Example
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->dataTextField('value');
?>
dataValueField
The field of the data item that provides the value of the widget.
Returns
\Kendo\UI\MultiColumnComboBox
Parameters
$value string
Example
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->dataValueField('value');
?>
delay
The delay in milliseconds between a keystroke and when the widget displays the popup.
Returns
\Kendo\UI\MultiColumnComboBox
Parameters
$value float
Example
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->delay(1);
?>
dropDownWidth
The width of the dropdown. Numeric values are treated as pixels.
Returns
\Kendo\UI\MultiColumnComboBox
Parameters
$value string|float
Example - using string
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->dropDownWidth('value');
?>
Example - using float
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->dropDownWidth(1);
?>
enable
If set to false the widget will be disabled and will not allow user input. The widget is enabled by default and allows user input.
Returns
\Kendo\UI\MultiColumnComboBox
Parameters
$value boolean
Example
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->enable(true);
?>
enforceMinLength
If set to true the widget will not show all items when the text of the search input cleared. By default the widget shows all items when the text of the search input is cleared. Works in conjunction with minLength.
Returns
\Kendo\UI\MultiColumnComboBox
Parameters
$value boolean
Example
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->enforceMinLength(true);
?>
fillMode
Sets a value controlling how the color is applied. Can also be set to the following string values: "none"; "solid"; "flat" or "outline".
Returns
\Kendo\UI\MultiColumnComboBox
Parameters
$value string
Example
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->fillMode('value');
?>
filter
The filtering method used to determine the suggestions for the current value. Filtration is turned off by default, and can be performed over string values only (either the widget's data has to be an array of strings, or over the field, configured in the dataTextField option). The supported filter values are startswith, endswith and contains.
Returns
\Kendo\UI\MultiColumnComboBox
Parameters
$value string
Example
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->filter('value');
?>
filterFields
Enables multicolumn filtering.
Returns
\Kendo\UI\MultiColumnComboBox
Parameters
$value array
Example
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->filterFields(array());
?>
filtering
Fired when the widget is about to filter the data source.The event handler function context (available via the this keyword) will be set to the widget instance. For additional information check the filtering event documentation.
Returns
\Kendo\UI\MultiColumnComboBox
Parameters
$value string|\Kendo\JavaScriptFunction
Example - using string which defines a JavaScript function
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->filtering('function(e) { }');
?>
Example - using string which defines a JavaScript name
<script>
function onFiltering(e) {
// handle the filtering event.
}
</script>
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->filtering('onFiltering');
?>
Example - using \Kendo\JavaScriptFunction
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->filtering(new \Kendo\JavaScriptFunction('function(e) { }'));
?>
fixedGroupTemplate
The template used to render the fixed header group. By default the widget displays only the value of the current group.
Returns
\Kendo\UI\MultiColumnComboBox
Parameters
$value string|\Kendo\JavaScriptFunction
Example - using string
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->fixedGroupTemplate('value');
?>
Example - using \Kendo\JavaScriptFunction
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->fixedGroupTemplate(new \Kendo\JavaScriptFunction('function() { }'));
?>
footerTemplate
The template used to render the footer template. The footer template receives the widget itself as a part of the data argument. Use the widget fields directly in the template.
Returns
\Kendo\UI\MultiColumnComboBox
Parameters
$value string|\Kendo\JavaScriptFunction
Example - using string
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->footerTemplate('value');
?>
Example - using \Kendo\JavaScriptFunction
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->footerTemplate(new \Kendo\JavaScriptFunction('function() { }'));
?>
groupTemplate
The template used to render the groups. By default the widget displays only the value of the group.
Returns
\Kendo\UI\MultiColumnComboBox
Parameters
$value string|\Kendo\JavaScriptFunction
Example - using string
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->groupTemplate('value');
?>
Example - using \Kendo\JavaScriptFunction
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->groupTemplate(new \Kendo\JavaScriptFunction('function() { }'));
?>
headerTemplate
Specifies a static HTML content, which will be rendered as a header of the popup element.
Returns
\Kendo\UI\MultiColumnComboBox
Parameters
$value string|\Kendo\JavaScriptFunction
Example - using string
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->headerTemplate('value');
?>
Example - using \Kendo\JavaScriptFunction
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->headerTemplate(new \Kendo\JavaScriptFunction('function() { }'));
?>
height
The height of the suggestion popup in pixels. The default value is 200 pixels.
Returns
\Kendo\UI\MultiColumnComboBox
Parameters
$value float
Example
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->height(1);
?>
highlightFirst
If set to true the first suggestion will be automatically highlighted.
Returns
\Kendo\UI\MultiColumnComboBox
Parameters
$value boolean
Example
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->highlightFirst(true);
?>
ignoreCase
If set to false case-sensitive search will be performed to find suggestions. The widget performs case-insensitive searching by default.
Returns
\Kendo\UI\MultiColumnComboBox
Parameters
$value boolean
Example
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->ignoreCase(true);
?>
index
The index of the initially selected item. The index is 0 based.
Returns
\Kendo\UI\MultiColumnComboBox
Parameters
$value float
Example
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->index(1);
?>
label
Adds a label before the input. If the input has no id attribute, a generated id will be assigned. The string and the function parameters are setting the inner HTML of the label.
Returns
\Kendo\UI\MultiColumnComboBox
Parameters
$value string|\Kendo\JavaScriptFunction|\Kendo\UI\MultiColumnComboBoxLabel|array
Example - using string
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->label('value');
?>
Example - using \Kendo\JavaScriptFunction
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->label(new \Kendo\JavaScriptFunction('function() { }'));
?>
Example - using \Kendo\UI\MultiColumnComboBoxLabel
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$label = new \Kendo\UI\MultiColumnComboBoxLabel();
$content = 'value';
$label->content($content);
$multiColumnComboBox->label($label);
?>
Example - using array
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$content = 'value';
$multiColumnComboBox->label(array('content' => $content));
?>
messages
The text messages displayed in the widget. Use this option to customize or localize the messages.
Returns
\Kendo\UI\MultiColumnComboBox
Parameters
$value \Kendo\UI\MultiColumnComboBoxMessages|array
Example - using \Kendo\UI\MultiColumnComboBoxMessages
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$messages = new \Kendo\UI\MultiColumnComboBoxMessages();
$clear = 'value';
$messages->clear($clear);
$multiColumnComboBox->messages($messages);
?>
Example - using array
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$clear = 'value';
$multiColumnComboBox->messages(array('clear' => $clear));
?>
minLength
The minimum number of characters the user must type before a search is performed. Set to higher value than 1 if the search could match a lot of items.
Returns
\Kendo\UI\MultiColumnComboBox
Parameters
$value float
Example
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->minLength(1);
?>
noDataTemplate
The template used to render the "no data" template, which will be displayed if no results are found or the underlying data source is empty. The noData template receives the widget itself as a part of the data argument. The template will be evaluated on every widget data bound.
Returns
\Kendo\UI\MultiColumnComboBox
Parameters
$value string|\Kendo\JavaScriptFunction|boolean
Example - using string
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->noDataTemplate('value');
?>
Example - using \Kendo\JavaScriptFunction
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->noDataTemplate(new \Kendo\JavaScriptFunction('function() { }'));
?>
Example - using boolean
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->noDataTemplate(true);
?>
open
Fired when the popup of the widget is opened by the user.The event handler function context (available via the this keyword) will be set to the widget instance. For additional information check the open event documentation.
Returns
\Kendo\UI\MultiColumnComboBox
Parameters
$value string|\Kendo\JavaScriptFunction
Example - using string which defines a JavaScript function
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->open('function(e) { }');
?>
Example - using string which defines a JavaScript name
<script>
function onOpen(e) {
// handle the open event.
}
</script>
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->open('onOpen');
?>
Example - using \Kendo\JavaScriptFunction
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->open(new \Kendo\JavaScriptFunction('function(e) { }'));
?>
placeholder
The hint displayed by the widget when it is empty. Not set by default.
Returns
\Kendo\UI\MultiColumnComboBox
Parameters
$value string
Example
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->placeholder('value');
?>
popup
The options that will be used for the popup initialization. For more details about the available options refer to Popup documentation.
Returns
\Kendo\UI\MultiColumnComboBox
Parameters
$value \Kendo\UI\MultiColumnComboBoxPopup|array
Example - using \Kendo\UI\MultiColumnComboBoxPopup
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$popup = new \Kendo\UI\MultiColumnComboBoxPopup();
$appendTo = 'value';
$popup->appendTo($appendTo);
$multiColumnComboBox->popup($popup);
?>
Example - using array
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$appendTo = 'value';
$multiColumnComboBox->popup(array('appendTo' => $appendTo));
?>
prefixOptions
The configuration for the prefix adornment of the component.
Returns
\Kendo\UI\MultiColumnComboBox
Parameters
$value \Kendo\UI\MultiColumnComboBoxPrefixOptions|array
Example - using \Kendo\UI\MultiColumnComboBoxPrefixOptions
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$prefixOptions = new \Kendo\UI\MultiColumnComboBoxPrefixOptions();
$icon = 'value';
$prefixOptions->icon($icon);
$multiColumnComboBox->prefixOptions($prefixOptions);
?>
Example - using array
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$icon = 'value';
$multiColumnComboBox->prefixOptions(array('icon' => $icon));
?>
rounded
Sets a value controlling the border radius. Can also be set to the following string values: "none"; "small"; "medium"; "large" or "full".
Returns
\Kendo\UI\MultiColumnComboBox
Parameters
$value string
Example
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->rounded('value');
?>
select
Fired when an item from the popup is selected by the user either with mouse/tap or with keyboard navigation. For additional information check the select event documentation.
Returns
\Kendo\UI\MultiColumnComboBox
Parameters
$value string|\Kendo\JavaScriptFunction
Example - using string which defines a JavaScript function
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->select('function(e) { }');
?>
Example - using string which defines a JavaScript name
<script>
function onSelect(e) {
// handle the select event.
}
</script>
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->select('onSelect');
?>
Example - using \Kendo\JavaScriptFunction
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->select(new \Kendo\JavaScriptFunction('function(e) { }'));
?>
size
Sets a value controlling size of the component. Can also be set to the following string values: "small"; "medium"; "large" or "none".
Returns
\Kendo\UI\MultiColumnComboBox
Parameters
$value string
Example
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->size('value');
?>
suffixOptions
The configuration for the suffix adornment of the component.
Returns
\Kendo\UI\MultiColumnComboBox
Parameters
$value \Kendo\UI\MultiColumnComboBoxSuffixOptions|array
Example - using \Kendo\UI\MultiColumnComboBoxSuffixOptions
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$suffixOptions = new \Kendo\UI\MultiColumnComboBoxSuffixOptions();
$icon = 'value';
$suffixOptions->icon($icon);
$multiColumnComboBox->suffixOptions($suffixOptions);
?>
Example - using array
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$icon = 'value';
$multiColumnComboBox->suffixOptions(array('icon' => $icon));
?>
suggest
If set to true the widget will automatically use the first suggestion as its value.
Returns
\Kendo\UI\MultiColumnComboBox
Parameters
$value boolean
Example
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->suggest(true);
?>
syncValueAndText
When set to true the widget will automatically set selected value to the typed custom text. Set the option to false to clear the selected value but keep the custom text.
Returns
\Kendo\UI\MultiColumnComboBox
Parameters
$value boolean
Example
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->syncValueAndText(true);
?>
text
The text of the widget used when the autoBind is set to false.
Returns
\Kendo\UI\MultiColumnComboBox
Parameters
$value string
Example
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->text('value');
?>
value
The value of the widget.
Returns
\Kendo\UI\MultiColumnComboBox
Parameters
$value string
Example
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->value('value');
?>
valuePrimitive
Specifies the value binding behavior for the widget when the initial model value is null. If set to true, the View-Model field will be updated with the selected item value field. If set to false, the View-Model field will be updated with the selected item.
Returns
\Kendo\UI\MultiColumnComboBox
Parameters
$value boolean
Example
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->valuePrimitive(true);
?>
virtual
Enables the virtualization feature of the widget. The configuration can be set on an object, which contains two properties - itemHeight and valueMapper.For detailed information, refer to the article on virtualization.
Returns
\Kendo\UI\MultiColumnComboBox
Parameters
$value boolean|\Kendo\UI\MultiColumnComboBoxVirtual|array
Example - using boolean
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$multiColumnComboBox->virtual(true);
?>
Example - using \Kendo\UI\MultiColumnComboBoxVirtual
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$virtual = new \Kendo\UI\MultiColumnComboBoxVirtual();
$itemHeight = 1;
$virtual->itemHeight($itemHeight);
$multiColumnComboBox->virtual($virtual);
?>
Example - using array
<?php
$multiColumnComboBox = new \Kendo\UI\MultiColumnComboBox('MultiColumnComboBox');
$itemHeight = 1;
$multiColumnComboBox->virtual(array('itemHeight' => $itemHeight));
?>