This is a migrated thread and some comments may be shown as answers.

Unique Values

1 Answer 426 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
Bruce
Top achievements
Rank 1
Bruce asked on 22 Sep 2011, 04:14 PM
Is there a way to show only unique values from the data source in this list or is there a way to filter the data source so only unique values are returned?

1 Answer, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 27 Sep 2011, 10:30 AM
Hello Bruce,

 
In order to achieve your goal you will need to group data by the field which you need to be unique and then bind the dropdownlist widget.

Check this jsFiddle example.

All the best,
Georgi Krustev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
DropDownList
Asked by
Bruce
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or