When using the grid in a kendo-window the databound event is not triggered. When using the same grid outside of the kendo window the event is triggered like expected.
Has anyone else experienced issues like this? Any solutions for this problem?
4 Answers, 1 is accepted
I was unable to reproduce the issue on my end. Could you demonstrate it in small runnable example, so I could inspect it locally?Regards,
The problem was a bit more complicated than I described before. When wrapping the kendo grid in a custom directive having defined a databound event this event was not triggered when the grid was displayed in a kendo window.
I found that this was related to which kendo UI libraries I was using.
The problem was discovered when using 2015.1.318 without referring angular-kendo.js, which defines the kendo.directives. But this is already defined in Kendo UI 2015.1.318, so this should not be necessary, right?
I attached an example where you can try this out if you change these references:
the events are triggered as expected. Should I have to reference "angular-kendo.js", or is this a bug?
I found that using angular-kendo together with the later versions of Kendo UI threw this error from time to time:
e.element is null
So using Angular-Kendo bindings together with the newer versions of Kendo UI does not seem to be an option.
Using both the kendo-grid directive and the custom b2e-kendo-grid directive like in the current implementation is not recommended. I would suggest to leave only the custom one and initialize the Grid widget inside of it using the constructed options.
Additionally when setting the data of the dataSource, I would recommend using it's data() method.
For convenience I updated the provided sample code. You could find it attached to the post.