You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: controls/multiselect/functionality/templates.md
+61Lines changed: 61 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,7 @@ position: 1
18
18
- [Header Template](#header-template)
19
19
- [Footer Template](#footer-template)
20
20
- [No Data Template](#no-data-template)
21
+
- [Group Template](#group-template)
21
22
- [See Also](#see-also)
22
23
23
24
>caption Figure 1: Structure of the popup and where you can use templates.
@@ -64,6 +65,62 @@ You can see the source code used for producing the image in [RadMultiSelect Temp
64
65
</telerik:RadMultiSelect>
65
66
````
66
67
68
+
When **RadMultiSelect** is [bound on the server-side]({%slug multiselect/data-binding/server-side%}), you can add custom attributes in the [ItemDataBound]({%slug multiselect/server-side-programming/events/itemdatabound%}) event that can be accessed in the templates through the `attributes` parameter:
@@ -109,6 +166,10 @@ A [https://docs.telerik.com/kendo-ui/api/javascript/ui/multiselect/configuration
109
166
110
167
This is the [https://docs.telerik.com/kendo-ui/api/javascript/ui/multiselect/configuration/footertemplate](https://docs.telerik.com/kendo-ui/api/javascript/ui/multiselect/configuration/footertemplate) used to render the footer. The footer is re-rendered on every change of the Data Source. The context of the footer template is the underlying Kendo Widget itself that you can access through the `instance` argument.
111
168
169
+
## Group Template
170
+
171
+
The template for the header of the group that is not the current topmost group. By default the value of the field by which the data is grouped is displayed and it is sent to the template via the `data` argument.
172
+
112
173
## No Data Template
113
174
114
175
This [template](https://docs.telerik.com/kendo-ui/api/javascript/ui/multiselect/configuration/nodatatemplate) is shown when the data source is empty or the current filter operation returned no results.
0 commit comments