When working with related data and odata you can you something like http://local/get/Contact//?$expand=ContactType Where Contact is the primary record and ContactType is n-1 to Contact also need to support 1-n So the schema needs to be able to handle complex relations right now it is flatted out so I cant specifiy ContactType as a related entity with its own fields in the current schema implementation. Unless the hierarchical datasource can handle this and bind to more than just the treeview widget, but I can't tell from the docs on the hierarchical datasource. But really this is more for using this in the model definition such as kendo.data.Model.define({ Thanks,
this.dataSource.sync().done(function(){//fire after...}).fail(function(){//any time on fail...});
Instead of using JSON to create a pie chart in Dataviz, it would be so much easier to use an SQLDataSource, So that the pie chart can be dynamically updated.
Add a Kendo UI Mobile Listview with real time cross domain data binding and this could be a simple modification of your current listview demo, where instead of using the hard coded data, use the real time data which is hosted on a website (i.e. google or twitter) and bind that data (json) to the listview...
IMHO it would be good to separate the DTOs and the serializer/deserializer into separate assembly packages and document the protocols used to communicate with telerik components as developers may create multi layered applications without having to deploy the full telerik package eg. in business logic layers or data access layers
It would be nice to be able to specify in a datasource filter two fields and an operator for the sake of data reporting. For example, where "completed date" is greater than "promised date" or "Actual cost" is greater than "estimated cost."
This sort of thing can be accomplished by calculated fields; a filter of where "cost overage" is greater than 0. The down side of the calculated field approach is all comparisons need to be pre-defined.
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
The dataSource filter configuration only accepts string as value.
An error is thrown and the MultiSelect does not open.
There should be no error and the MultiSelect should open.
I selected the grid widget for this ticket, but the question is for all widgets with a remote filter service. I'm not finding a way to configure the DataSource to send the field data types, as defined in the schema, along with the filter request. The filter request array includes the field name, field value and ignore case values. It needs to also include the field data type, from the perspective of the DataSource.
I know that I can parse values on the server side to try to guess the data type, as with the example applications, but that's not reliable in all cases, and I don't want to do that. It's better to know the field type based on the perspective of the widget.
Hopefully I'm just missing the DataSource configuration option to 'Include Field Data Types in Filtering Requests'. If that doesn't exist, please add it as an enhancement request, and let me know the most effective way to accomplish this that will work for all widget and data source combinations. I figured out that I can do this with a grid:
parameterMap: function (data, type) {
var fields = $("#grid").data("kendoGrid").dataSource.options.schema.model.fields;
var types = {};
for (let key in fields) {
types[key] = fields[key].type;
}
return $.extend({types}, data);
}
But I also have a Kendo Form with a form field edit of type MultiColumnComboBox, and the same approach will probably work, but I have to figure out how to get at the schema configuration in that case, and probably other combinations in the future.
See DoJo
This calls the DataSource read() method 10 times, but after 10 seconds only 2 of them are resolved (and actually only 2 requests are recorded in dev tools).
This is really annoying when relying on logic in a .then() block, because it is never called in the remaining cases.
Bug report
Insert on a node's children when using index of 0, аppends item wrongly to PanelBar
Reproduction of the problem
Dojo: https://dojo.telerik.com/iruWAwoy
Click the Insert button to see where the item in the PanelBar goes.
Environment
Kendo UI version: [all]
In a DropDownList with local data and virtualization enabled. when the value is set after initialization using the value method, the change event is fired when the component is opened and closed, without actually changing its value.
The change event is fired.
The change event should not be fired when the value is set through the value method.