How to set DataSource's handlers through k-on Attribute? Is there a way to achieve it like this:
3 Answers, 1 is accepted
answered on 11 Aug 2017, 10:13 AM
It is not possible to use k-on attributes for declaring Kendo UI DataSource events, because unlike the widgets, which may be declared with markup, the datasource is declared in script only. Thus, its events may be set as follows:
I am afraid this is not possible for the datasource. My initial response was wrong, as it targets widgets with markup initialization, which is not the case with DataSource. So I updated the response to avoid confusion. Please check the updated response above.