Can there be a dynamic AppendTo?

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

    Posted 08 Apr 2015 Link to this post

    In my MVVM template each repeated data item has a div where I want notifications to appear.

     So do I have to make multiple kendoNotification objects for each repeater item, or can I just have one global one and set\change the appendTo object as needed?

     

    Thoughts?

  2. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 08 Apr 2015 Link to this post

    Got it to work

    onSavePdrState: function (e) {
                var notificationZone = $(e.currentTarget).closest(".pod-wrapper").find(".notification");
                $notification.options.appendTo = notificationZone;
                $notification.show("Saved");
            },

  3. Kendo UI is VS 2017 Ready
Back to Top