get selected item group?

3 posts, 0 answers
  1. Jimmy
    Jimmy avatar
    26 posts
    Member since:
    Jan 2019

    Posted 18 May Link to this post

    Hi

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

    Thanks!

  2. Martin
    Admin
    Martin avatar
    36 posts

    Posted 21 May Link to this post

    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.
  3. Jimmy
    Jimmy avatar
    26 posts
    Member since:
    Jan 2019

    Posted 26 May in reply to Martin Link to this post

    Thanks Martin, it works!
Back to Top