data-bind events dynamic add/remove

Thread is closed for posting
3 posts, 0 answers
  1. velu
    velu avatar
    6 posts
    Member since:
    Feb 2016

    Posted 02 Jun 2016 Link to this post


    Is there any way of removing/adding data-bind events dynamically to HTML elements.




  2. Tsvetina
    Tsvetina avatar
    2481 posts

    Posted 07 Jun 2016 Link to this post

    Hello Velu,

    You can learn more about attaching event handlers dynamically here:
    Kendo UI Widget Events 

    As the article states, event handlers, which are attached during widget initialization, will be executed every time the event is fired (applied to declarative events assignment, too). If you need the handler to be executed only once, then attach it after the widget initialization with the one method:
    var listview = $("#listView").data("kendoMobileListView");
    // attach an event handler that will be executed only the first time the event is fired"click", function(e) {
          console.log("click event handler");


    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

  3. velu
    velu avatar
    6 posts
    Member since:
    Feb 2016

    Posted 18 Jul 2016 in reply to Tsvetina Link to this post

    Thanks Tsvetina :)
Back to Top