Find and updating item

2 posts, 0 answers
  1. Ino
    Ino avatar
    4 posts
    Member since:
    Jul 2012

    Posted 29 Oct 2015 Link to this post

    I have tried to locate a solution for this but not been able to find a clear solution

     What i am trying to do is

    I got at kendolistview with template, defined as "<li>sometext</li>, on a <ul> and getting data from webservice defined {ID,Name}

    I then got SignalR Event that calls function on page sometimes with an ID and in this function i have to somehow get the relevant item from the listview and change etc. innerHTML on that item


    Should be simple i think... Or maybe i am using the wrong tools for this?
  2. Kiril Nikolov
    Kiril Nikolov avatar
    2598 posts

    Posted 02 Nov 2015 Link to this post

    Hello Ino,


    You can set the id as a data attribute in the template, so you can use a jQuery selector to get the element, and then perform the manipulations. For example:



    Kiril Nikolov
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top