Hello,
I am currently migrating from Telerik MVC, and I haven't found the answer for my problem in the migration documents.
I have a treeview which originally used the OnDataBinding event, which I have now mapped to the RequestStart event of the datasource. Now, in my javascript handler, i originally had something simliar:
I am currently migrating from Telerik MVC, and I haven't found the answer for my problem in the migration documents.
I have a treeview which originally used the OnDataBinding event, which I have now mapped to the RequestStart event of the datasource. Now, in my javascript handler, i originally had something simliar:
onDataBinding: function(e) {
e.preventDefault();
var div = $(e.target).closest(MyDivSelector);
...
}
Since originally it was a jquery event object, i was able to check the e.target for the html element of the sender. However,
with Kendo events, I don't find anything similar (inside e.sender).
What can I use to get the html element of the sender?