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

get selected item group?

2 Answers 206 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
Jimmy
Top achievements
Rank 1
Iron
Veteran
Jimmy asked on 18 May 2019, 08:41 AM

Hi

Is there a way to get the selected item's group in kendo Dropdownlist with grouping?

Thanks!

2 Answers, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 21 May 2019, 12:55 PM
Hello Jimmy,

Please take a look at this Dojo example. You can see that the dataSource is grouped by "Country". In the change event, I get the currently selected dataItem and I print the item's group (the country) on the console.

Feel free to get back to me if you have questions regarding the suggested approach.

Regards,
Martin
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Jimmy
Top achievements
Rank 1
Iron
Veteran
answered on 27 May 2019, 01:19 AM
Thanks Martin, it works!
Tags
DropDownList
Asked by
Jimmy
Top achievements
Rank 1
Iron
Veteran
Answers by
Martin
Telerik team
Jimmy
Top achievements
Rank 1
Iron
Veteran
Share this question
or