MVVM binding does not work properly on Nested Templates with collections

3 posts, 0 answers
  1. fbaptiste
    fbaptiste avatar
    19 posts
    Member since:
    Apr 2007

    Posted 01 Oct 2014 Link to this post

    Hello I have the following simplified scenario written in JSFIDDLE:


    In the following example I'm trying to:
    1. remove the first item from the main panels collection (works well).
    2. remove the first sub panel from panel1 only (not working).

    It's interesting to note that i saw this working on an earlier Kendo version number v2012.1.322 but not on the later ones.
  2. fbaptiste
    fbaptiste avatar
    19 posts
    Member since:
    Apr 2007

    Posted 01 Oct 2014 in reply to fbaptiste Link to this post

    and here is the link:
    http://jsfiddle.net/kob490/L5zd1c8g/10/
  3. Kendo UI is VS 2017 Ready
  4. Petyo
    Admin
    Petyo avatar
    2439 posts

    Posted 02 Oct 2014 Link to this post

    Hello Fred,

    I replied to your support ticket regarding the same issue. For your convenience, I am pasting the answer here, too:

    mixing jQuery plugin instantiation with MVVM behavior is not recommended, and may have worked by accident in earlier versions. The recommended way to implement such behavior would be like this

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