Hi,
I'm new to Syncfusion libs, and got very confused with docu and components design.
Any way...
trying to bind to ejTreeView events for e.g.
as per documentation I tried to do like:
function checkCallback() {
console.log('check', arguments);
}
var myTree = $('#treeDiv').ejTreeView({
fields: { id: "id", parentId: "pid", text: "name", hasChild: "hasChild", dataSource: outlookicons, expanded: "expanded" },
allowEditing: true,
allowDragAndDrop: true,
check: 'checkCallback' // <- NEVER fired - strange way of binding callbacks
});
Does Syncfusion components support standard way of binding to the events?
myTree.on('check', function(){});
myTree.un('check', function(){});
myTree.on('dropped', function(){});
myTree.on('beforedrop', function(){});
etc.
Any help appreciated.
Andrzej