Uids in HTML does not match Uids in datasource

2 posts, 0 answers
  1. Wolfgang
    Wolfgang avatar
    2 posts
    Member since:
    Oct 2011

    Posted 16 Dec 2013 Link to this post

    Hi,


    we encountered a very strange issue. We update inner nodes of a tree view using loaded(false) and load() as suggested in another thread. However, after loading the nodes, the uids of the datasource and those present in the HTML does not match any more for the reloaded items.  The method treeView.findByUid(uid) does not find any item and the requested uid is in fact not present in the HTML. Is there any chance to update not only the model but also the HTML or to use an value present on the items that are loaded from server as uid and thus to have stables uids? 


    Best regars & many thanks


  2. Daniel
    Admin
    Daniel avatar
    2231 posts

    Posted 18 Dec 2013 Link to this post

    Hello Wolfgang,

    I am not sure if I understand correctly by which uids you are searching for the nodes. Could you provide the code that you are using? The uid value cannot be assigned from the server and it is generated internally when creating a new observable object but the uids in the data should always match the elements uids.

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