How to differentiate clearAll & single button clear event in kendo multiselect 'deselect' event

2 posts, 0 answers
  1. pandiselvam
    pandiselvam avatar
    1 posts
    Member since:
    Jul 2017

    Posted 29 Sep Link to this post

    Hi,
     I need to differentiate clearAll & single button clear in kendo multiselect. when i remove single item or clearAll items from multiselect.
  2. Misho
    Admin
    Misho avatar
    161 posts

    Posted 02 Oct Link to this post

    Hi,

    There is no built in mechanism for distinguishing the clearAll from the single button clear operation. A possible approach for such implementation could be attaching a click event handler to close button element of the items in the multiselect and apply your custom logic:
    $('span.k-select > span').click(function() {
      console.log("Close Single item")
    })

    I hope this helps.

    Best Regards,
    Misho
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top