When kendo.observable is updated based on a selected TreeView node an error VM6996:1 Uncaught SyntaxError: "undefined" is not valid JSON
is thrown.
An error Uncaught SyntaxError: "undefined" is not valid JSON
is thrown.
There should be no error and the observable should be updated correctly.
At the moment, the DataSource only uses one field for its ID property (if you enter several, then only one is used, apparently). This doesn't reflect reality, in that in many cases (where one record is a child of another), the key field for a database table is a composite (from 2 or more fields). The existing situation causes problems in inline editing of the KendoUI grid, because default values need to be set for foreign key fields, but if these are set to a valid value, then spurious calls to the Inline_Create method occur because the DataSource treats the record as a new record when it is not. In any case, allowing multiple fields would simply reflect reality.
The performance when using the filter method to filter the data in DataSource and Hierarchical datasource is decreased.
There is a perfromance decrease when using the filter method with the latest Kendo version:
The performance of the filter method should be improved.
Hi Team,
I would like to request a way to use the Kendo UI DataSource with a flag set to state that it is returning a singular record. For my case, my dataSource is using OData V4, and it requires utilizing an Ajax request to retrieve an individual entity.
var dataSource = new kendo.data.DataSource({
type: "odata-v4",
transport: {
read: function(options) {
$.ajax({
//makes a request for an individual entity by ID
url: "https://demos.telerik.com/kendo-ui/service-v4/odata/Products(1)",
//....
}
},
//....
});
It would be nice if there was a better way to do this.
Thank you!
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.
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]
Hi Team,
I would like to request the functionality to set the dataSource.model.id with a function handler rather than just a string.
The usefulness behind this in my case is the mixing of dataTypes in the Kendo UI PanelBar. We are trying to mix the data in the results returned and do not currently have a common structure/object representing the data.
Thank you!
When the grid is configured for working with UTC on the server-side, the value sent from the filter menu on the client-side would not be properly sent to the server.
If the stringifyDates option of the transport of the data source is set, the value would still be sent in a localized date format without information for the time zone, for instance, GMT(+0300).
In case the value sent from the client is modified, the parameterMap would be called afterward and would override the modified value.
Moreover, the Kendo UI Binder on the server-side is not configured to be working with dates that have additional data for the time zone appended to the end. Therefore, sending the modified data would not be parsed correctly and FormatException error would be thrown.
see Ticket ID: 981260 var dataSource = new kendo.data.DataSource({ type: "odata-v4", }); works correct, but if you just define parameterMap the payload of parameters is not "odata-v4" it changes to old odata with this: var dataSource = new kendo.data.DataSource({ type: "odata-v4", transport: { parameterMap: function(data) { return data; } } }); This feels like I set dataType JSON for transport, and if I just define beforeSend in Ajax Request, I suddenly becomes XML just by defining a overwrite function.
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.
Currently there is now implementation to support Guid data types. There is a workaround to use parameter mapping but this is not working when using custom methods for read\update... methods. I am heavily using web.ai driven odata endpoints and therefore I need custom transport methods and I am not able to filter Guids because auf these limitations.
Datasource result support querying the entities with ef directly column names present in the class.There should be a way to filter the entities with lazy loading them and firing the filters on them ..like if the entity candidate contains the list of interviews the ,then the canidate.interviews should be passed in the filter and value and operator should be passed
Add full support for syncing of changes made to the HierarchicalDataSource in a TreeView and Grid. Currently, sync() does not perform the correct sequence of CRUD operations that represent the changes made to the data source or control.
It would be good user interaction when multiple node selection is implemented.It saves lot of rework
When you have multiple spreadsheet components on the same HTML page, allow them to cross reference each other, similar to the existing referencing capability across multiple tabs (like worksheets) but across completely separate objects (like workbooks) - of course they would need to be on the same page.
As it stands only during a read the aggregate are fetched from the server via the dataSource. This is incomplete behavior. A grid should, if requested by the programmer, fetch the aggregates on each update of a row in the grid. That way the aggregates will always reflect the sum(), etc.. correctly.
I want to see a sample that uses MySQL as the datasource. Sample shoulse use views to get the data and stored procedures to update the datasource. Stored procedures exists already in the DB no ORM procedures creation needed.
Is there any way to listen spreadsheets filter or bind one more event after spreadsheet filter method?
In MDX you can sort the data you query for using the order function, specifying a set, a value to sort by (most commonly a measure) and the direction and whether to break hierarchy or not. I appreciate that hierarchy-breaking sorting might be quite difficult to pull off nicely, but I believe the MDX could be generated in such a way to support sorting, by specifying one of the members on an axis and the measure.