Skip to content

Commit 02dcb4f

Browse files
vveesseelliinnaapepinho24
authored andcommitted
docs(multiselect): Update images
1 parent 357898a commit 02dcb4f

File tree

8 files changed

+2
-81
lines changed

8 files changed

+2
-81
lines changed

controls/multiselect/functionality/grouping.md

Lines changed: 0 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -8,82 +8,3 @@ published: True
88
position: 4
99
---
1010

11-
12-
# Grouping
13-
14-
**RadMultiSelect** can group its data source based on the **GroupByField** property.
15-
16-
The dropdown will show a header with the value of the field for each group, and a static header for the current group just below the column headers, so the user can see which group they are scrolling through regardless of the number of items in it.
17-
18-
You can customize the headers through their [templates]({%slug multiselect/functionality/templates%}).
19-
20-
Grouping requires binding the control to a web service, and grouping is performed on the client over the returned flat data.
21-
22-
>caption Example 1: Grouping in RadMultiSelect
23-
24-
````ASP.NET
25-
<telerik:RadMultiSelect ID="RadMultiSelect4" runat="server" Skin="Default"
26-
GroupByField="Country"
27-
DataTextField="ContactName" DataValueField="CustomerID"
28-
Filter="Contains" Placeholder="select from the dropdown or type"
29-
DropDownWidth="500" Height="400" Width="100%">
30-
<WebServiceSettings Select-ContentType="JSON" ServiceType="OData"
31-
Select-Url="https://demos.telerik.com/kendo-ui/service/Northwind.svc/Customers">
32-
</WebServiceSettings>
33-
<ColumnsCollection>
34-
<telerik:MultiColumnComboBoxColumn Field="CustomerID" Title="ID" />
35-
<telerik:MultiColumnComboBoxColumn Field="ContactName" Title="Name" />
36-
</ColumnsCollection>
37-
</telerik:RadMultiSelect>
38-
````
39-
40-
Web service binding creates a Kendo DataSource and applies the grouping settings to it automatically. You can create your own Kendo DataSource instance and provide local data to it. In such a case, you must also provide the grouping settings to the data source.
41-
42-
>caption Example 2: Grouping with local data and a Kendo DataSource
43-
44-
````ASP.NET
45-
<script>
46-
function OnLoad(sender, args) {
47-
var data = [
48-
{ id: 1, name: "one", color: "red" },
49-
{ id: 2, name: "two", color: "green" },
50-
{ id: 3, name: "three", color: "blue" },
51-
{ id: 4, name: "four", color: "red" }
52-
];
53-
54-
var kendoDs = new kendo.data.DataSource({
55-
data: data,
56-
//clone the original group settings from the server
57-
group: {
58-
field: sender.groupByField
59-
}
60-
});
61-
62-
sender.set_dataSource(kendoDs);
63-
}
64-
</script>
65-
66-
<telerik:RadMultiSelect ID="RadMultiSelect4" runat="server" Skin="Default"
67-
GroupByField="color" DataTextField="name" DataValueField="id"
68-
Filter="Contains" FilterFields="name, color"
69-
DropDownWidth="500" Height="400" Width="300px">
70-
<ColumnsCollection>
71-
<telerik:MultiColumnComboBoxColumn Field="id" Title="ID" />
72-
<telerik:MultiColumnComboBoxColumn Field="name" Title="Name" />
73-
<telerik:MultiColumnComboBoxColumn Field="color" Title="color" />
74-
</ColumnsCollection>
75-
<ClientEvents OnLoad="OnLoad" />
76-
</telerik:RadMultiSelect>
77-
````
78-
79-
80-
81-
## See Also
82-
83-
* [Live Demo - Grouping](multiselect/grouping/defaultcs.aspx)
84-
85-
* [Templates]({%slug multiselect/functionality/templates%})
86-
87-
* [Kendo Data Source Grouping Configuration](https://docs.telerik.com/kendo-ui/api/javascript/data/datasource/configuration/group)
88-
89-

controls/multiselect/functionality/tag-mode.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ position: 3
1414
* `Single` - renders only one tag that shows the number of the selected values
1515
* `Multiple` - renders a tag for every selected value. This is the default tag mode.
1616

17-
![multiselect-tag-modes](../images/multiselect-tag-mode.png)
17+
![multiselect-tag-modes](../images/multiselect-tag-mode.gif)
1818

1919
Every `TagMode` has a specific `TagTemplate` value. You can control the content of the rendered tags by setting a custom a [TagTemplate]]({%slug multiselect/functionality/templates%}#tag-template) value.
2020

212 KB
Loading
-23 KB
Binary file not shown.
174 KB
Loading
-5.36 KB
Binary file not shown.
-59.8 KB
Binary file not shown.

controls/multiselect/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ It operates on the client, displays a list of options and allows multiple select
1616

1717
>caption Figure 1: RadMultiSelect allows the multiple selection of a predefined list of items
1818
19-
![multiselect-overview](images/multiselect-overview.jpg)
19+
![multiselect-overview](images/multiselect-overview.gif)
2020

2121
## Key Features
2222

0 commit comments

Comments
 (0)