kendo-multi-select
Similar to the "kendo-drop-down-list" with the difference that you can select several elements from the list.
Property |
Description |
required |
Example |
listWidth |
The width of the list can be specified here. |
|
"listWidth" : 450 |
displayTemplate |
If the selected value in the text box is to be edited, e.g. in terms of design, you can work with a template here. You can find more information about the templates here. |
|
"displayTemplate": "<span>#:data.Name# (#:data.Value#)</span>" |
template |
If the displayed values within the list are to be edited, e.g. in terms of design, you can work with a template here. You can find more information about the templates here. |
|
"template": "<div style='width:450px;'><span style='display:inline-block;width:150px;'>${data.Name}</span><span style='display:inline-block;width:100px;'>${data.Typ==null?'':data.Typ}</span><span style='display:inline-block;width:200px;'>${data.Name2== null?'':data.Name2}</span></div>" |
maxSelectedItems |
The number of selectable elements can be specified here. |
|
"maxSelectedItems": 8 |
dataSourceURL |
Here you can specify the URL from which data is to be pulled. |
|
"dataSourceUrl": "ResourcePlanningLookup/GetObergruppen" |
dataTextField |
The text to be shown in the list. |
|
"dataTextField": "Name" |
dataValueField |
The value that is read from or written to the entity (reference to the model). |
|
"dataValueField": "Value" |