Bind to expand or collapse event programmatically

2 posts, 1 answers
  1. Marco
    Marco avatar
    43 posts
    Member since:
    Jan 2014

    Posted 10 Oct 2017 Link to this post


    How can I bind to the expand or collapse event from code? I tried:


     $("#collapsibleDiv").on("expand", function () {


    without sucess. 

    Kind regards,









  2. Answer
    Ivan Danchev
    Ivan Danchev avatar
    1847 posts

    Posted 11 Oct 2017 Link to this post

    Hi Marco,

    Here's a dojo example, which demonstrates how you can bind the Collapsible's expand and collapse events through the widget's bind method.

    Ivan Danchev
    Progress Telerik
    Try our brand new, jQuery-free Angular 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