'tree.on('enable', function (e, node) {
'alert(node.text() + ' is enabled.');
'});
'tree.on('disable', function (e, node) {
'alert(node.text() + ' is disabled.');
'});
'tree.on('expand', function (e, node, id) {
'alert('expand is fired.');
'});
'tree.on('select', function (e, node, id) {
'alert('select is fired for node with id=' + id);
'});
'tree.on('unselect', function (e, node, id) {
'alert('unselect is fired for node with id=' + id);
'});
'tree.on('checkboxChange', function (e, $node, record, state) {
'alert('The new state of record ' + record.text + ' is ' + state);
'});