Support a nested scenario?

4 posts, 0 answers
  1. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 03 May 2012 Link to this post

    Does kendo MVVM support this type of scenario?

    http://jsfiddle.net/stevescotthome/sqbXP/3/

    Where the "Add new" and "Edit" are popup windows to edit\add sites.

    I have this working in knockout, but I like the kendo datasource implementation a bit better than having to use a separate mapping plugin.

    Like I don't see any $root. or $parent style binding samples to let me link an element to a viewmodel calculated function

    (Also, it supports this type of stuff right?)
    viewModel.selectedSite = ko.observable();
    viewModel.editItem = function (item) {
            viewModel.selectedSite(item);
    };
  2. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 08 May 2012 Link to this post

    Hello,

     Kendo MVVM does not support $root and $parent in the template binding. Right now it will check the current item and the root view model when binding events. This is demonstrated here: http://demos.kendoui.com/web/mvvm/source.html 

     In the next official release (the service pack) all parents of the current item (the context of the template) will be checked when resolving the event handler.

    Regards,
    Atanas Korchev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Kendo UI is VS 2017 Ready
  4. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 08 May 2012 Link to this post

    Any idea of an ETA on the SP?...we talking within the month, week? :)
  5. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 08 May 2012 Link to this post

    Hi,

     The service pack is expected by the end of this month.

    All the best,
    Atanas Korchev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top
Kendo UI is VS 2017 Ready