In the context of MVVM bindings, it would be great to have a way to evaluate certain conditions/expressions, especially within template bindings, by "navigating" to other properties of the ViewModel, or to other properties of the currently iterated object. For example: <ul data-role="listview" data-bind="source: anObservableObject" data-template="some-template"></ul> <script id="some-template" type="text/x-kendo-template"> <li data-bind="text: whatever, visible: $source.someProperty == $data.otherProperty"></li> </script> In this example, $data refers to the current iteration data, and $source refers to the source. So the visible binding would be true/false according to the expression which would evaluate an arbitrary property on the source and an arbitrary property on the iterated object. This is similar to Knockout's mechanism and it allows for greater flexibility within templates.
See this forum post for details: http://www.kendoui.com/forums/framework/mvvm/getting-access-to-array-index-while-binding-an-array-source.aspx
Hi Team,
I would like to request the functionality to include data flags within the Kendo UI DataSource similar to the JQuery Data Tables. They allow you return multiple flags and messages so long as you always name the display list the same name in the JSON. I would rather not use Form Data.
Thank you!
https://developer.mozilla.org/en-US/docs/Web/API/Broadcast_Channel_API
Hi
I was just wondering if there was a message bus /Broadcast Channel component that was part of kendoUI.
I am thinking you could use your Observables or or something like the MVVM tooling.
just that the mozilla example does not work, it may be way out of date
thanks in advance
Doug
Provide a data source setting and functionality that all the dates be created as UTC replacing the need to write the requestEnd code everywhere:
It would be very helpful not to have to do this in every scenario that requires using UTC dates and have the data source create the dates in UTC as they reach the client.
When using aggregates, it should be possible to define your own aggregate function, or even set it globally for kendo, so it could be used in other places. i.e. currently you can only specify the function name like 'sum', 'avg', etc. with this idea you could give the whole function like function(arguments...) {} Also from what I saw it would be nice to have the `functions` object from kendo.data.js accessible, so you could add your custom functions, like: `kendo.data.aggregate_functions['median'] = function(arguments...) {}`