Which Item Selected

4 posts, 0 answers
  1. Kenneth
    Kenneth avatar
    1 posts
    Member since:
    Oct 2012

    Posted 30 Oct 2012 Link to this post

    This has to be about as basic as it gets. How does one determine the item selected in the "change" event handler?
  2. Kevin
    Kevin avatar
    10 posts
    Member since:
    Jun 2014

    Posted 07 Dec 2015 Link to this post

    I'd like to see an example of this also.  In the example in the documentation for the change event, the function to handle the event simply includes a comment "// handle event".  It would be nice to see an example of identifying the selected data item.
  3. Kendo UI is VS 2017 Ready
  4. Venelin
    Admin
    Venelin avatar
    352 posts

    Posted 10 Dec 2015 Link to this post

    Hello Kevin,

    Actually the case is the same as with the grid widget. Here you can see how the event is handled: 
    http://docs.telerik.com/kendo-ui/api/javascript/ui/grid#events-change

    With the listview respectively: http://dojo.telerik.com/@vpetrov/atAWa

    Regards,
    Venelin
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  5. Kevin
    Kevin avatar
    10 posts
    Member since:
    Jun 2014

    Posted 10 Dec 2015 in reply to Venelin Link to this post

    Thanks for sharing.  This is definitely a better approach than what I came up with.
Back to Top
Kendo UI is VS 2017 Ready