Wijmo UI for the Web
nodeCollapsing Event
wijmo.tree.wijtree Namespace > options type : nodeCollapsing Event
jQuery Event object
The node widget that relates to this event.
The nodeCollapsing event fires before a node collapses. This event can be canceled, if return false
Syntax
$(function () {
    // Set nodeCollapsing event handler function
    $(".selector").wijtree({
        nodeCollapsing : function (e, data) {
     
        }
    });
});
nodeCollapsing = function ( 
   e : jQuery.Event,
   data : object
) { };

Parameters

e
jQuery Event object
data
The node widget that relates to this event.
See Also

Reference

options type
wijtree jQuery Widget