Completed
Last Updated: 08 Nov 2024 13:20 by ADMIN
Release 2024 Q4 (Nov)

Bug report

When kendo.observable is updated based on a selected TreeView node an error VM6996:1 Uncaught SyntaxError: "undefined" is not valid JSON is thrown.

Reproduction of the problem

  1. Open the Dojo - https://dojo.telerik.com/CESnRsTi
  2. Click on the first button
  3. Click in the input filed and type some text
  4. Press 'Enter' or click otuside the input to blur

Current behavior

An error Uncaught SyntaxError: "undefined" is not valid JSON is thrown.

Expected/desired behavior

There should be no error and the observable should be updated correctly.

The issue is a regression starting with 2024.3.806

Environment

  • Kendo UI version: 2024.3.1015
  • Browser: [all ]
Unplanned
Last Updated: 14 Dec 2023 14:45 by Martin
Created by: Martin
Comments: 0
Category: Data Source
Type: Feature Request
1

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. 

DataSource

      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!

Completed
Last Updated: 23 Feb 2024 14:24 by ADMIN
Created by: Vedad
Comments: 1
Category: Data Source
Type: Bug Report
2

Bug report

The performance when using the filter method to filter the data in DataSource and Hierarchical datasource is decreased.

Reproduction of the problem

  1. Open the following Dojo example and test it with different Kendo versions: - https://dojo.telerik.com/@NeliKondova/UGomaNEX

Current behavior

There is a perfromance decrease when using the filter method with the latest Kendo version:
image

Expected/desired behavior

The performance of the filter method should be improved.

Environment

  • Kendo UI version: 2023.2.829
  • Browser: [all]
Completed
Last Updated: 10 Oct 2023 14:54 by ADMIN

Bug report

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.

Reproduction of the problem

  1. Open the Dojo - https://dojo.telerik.com/@NeliKondova/EmOCUqiq and observe the browser console
  2. Open and close the popup without selecting a value.

Current behavior

The change event is fired.

Expected/desired behavior

The change event should not be fired when the value is set through the value method.

Environment

  • Kendo UI version: 2023.2.606
  • Browser: [all ]
Unplanned
Last Updated: 22 Mar 2023 14:27 by Nathan

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]

Unplanned
Last Updated: 03 Mar 2023 18:54 by Nathan
Created by: Nathan
Comments: 0
Category: Data Source
Type: Feature Request
1

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!

Unplanned
Last Updated: 18 Feb 2022 12:02 by ADMIN
Created by: Jonas
Comments: 1
Category: Data Source
Type: Bug Report
0

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.

Unplanned
Last Updated: 18 Nov 2021 15:45 by Travis Cotton
Created by: Travis Cotton
Comments: 2
Category: Data Source
Type: Feature Request
0

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.

Unplanned
Last Updated: 14 Oct 2021 10:26 by ADMIN

We use a DataSource with a custom transport and read method to filter some data on the server.


return new kendo.data.DataSource({
    pageSize: 10,
    serverPaging: true,
    serverSorting: true,
    serverFiltering: true,
    type: "json",
    sort: {
      field: "name",
      dir: "asc"
    },
    transport: {
      read: function (options) {}....

 

As the user types we issue a read request but it would be nice to have a way to cancel the last read request with a method call (ie. abortRequest() or abortReadRequest() ). We can implement a work around as shown here https://dojo.telerik.com/@Dimitar-Goshev/IxaLUtIw but I think it would be reasonable feature to simply have this internalized into the DataSource code so that the abort logic is internal to the DataSource class.

Unplanned
Last Updated: 15 Jun 2021 20:53 by ADMIN
Created by: Mark
Comments: 0
Category: Data Source
Type: Feature Request
1

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!

Completed
Last Updated: 17 Jan 2022 09:29 by ADMIN
Created by: Elvis
Comments: 0
Category: Data Source
Type: Bug Report
0

Bug report

The dataSource filter configuration only accepts string as value.

Reproduction of the problem

  1. Open the Dojo example - https://dojo.telerik.com/@martin.tabakov@progress.com/uVAgAYem
  2. Open the MultiSelect.

Current behavior

An error is thrown and the MultiSelect does not open.

Expected/desired behavior

There should be no error and the MultiSelect should open.

Environment

  • Kendo UI version: 2021.2.511
  • Browser: [all]
Unplanned
Last Updated: 15 Feb 2021 13:40 by ADMIN
Created by: Doug
Comments: 1
Category: Data Source
Type: Feature Request
0

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

 

Unplanned
Last Updated: 11 Jan 2021 07:42 by palhal
Trigger change only once for all items in an array passed to the DataSource.pushUpdate() method. That would result in improved performance of the operation.
Completed
Last Updated: 02 Feb 2021 16:53 by ADMIN
Created by: Joshua
Comments: 1
Category: Data Source
Type: Feature Request
0

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. 

 

Unplanned
Last Updated: 28 Apr 2020 07:30 by ADMIN
Created by: Jeff
Comments: 0
Category: Data Source
Type: Feature Request
1

Provide a data source setting and functionality that all the dates be created as UTC replacing the need to write the requestEnd code everywhere:

https://docs.telerik.com/aspnet-mvc/html-helpers/data-management/grid/how-to/editing/utc-time-on-both-server-and-client

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.

Unplanned
Last Updated: 03 Nov 2022 09:27 by ADMIN
Created by: SAM
Comments: 4
Category: Data Source
Type: Feature Request
9

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.

Declined
Last Updated: 18 Jun 2021 08:14 by ADMIN
Created by: Barry Burton
Comments: 2
Category: Data Source
Type: Feature Request
1

This is more of a feature request...

If I want to refresh a datasource every 60 seconds, be it a grid, a dropdown, etc., I have to add a snippet of code something like this:

var interval = 60000;

         setInterval(function()

         {
             $("#my-grid").data("kendoGrid").dataSource.read();
         }, interval);

Yes, I realize this is trivial, but it would be nice if you could add an AutoRefresh function directly to the DataSource API that handled all of this under the covers.  Example:

           .DataSource(dataSource => dataSource
               .WebApi()
               .PageSize(20)
               .Model(model =>
               {
                   model.Id(m => m.StoreId);
               })
               .Read(read => read.Url(Url.HttpRouteUrl("GetData", null)).Data("additionalData"))
               .AutoRefresh(60) // seconds
               .Events(e => e.Error("onError"))
           )
Declined
Last Updated: 22 Jun 2021 13:58 by ADMIN
Created by: Zachary
Comments: 2
Category: Data Source
Type: Feature Request
4

http://odata.github.io/WebApi/#04-26-InOperator

 

OData v4 now supports the IN operator as a short hand for multiple or queries (as of http://docs.oasis-open.org/odata/new-in-odata/v4.01/cn01/new-in-odata-v4.01-cn01.html#_Toc485385090 ). This could help to change code such as:


var selectedStations = $("#cmbStations").data("kendoMultiSelect").dataItems();
            var stationIds = [];
            for (var i = 0; i < selectedStations.length; i++) {
                stationIds.push({
                    field: "StationId",
                    operator: "eq",
                    value: stationId
                });
            }
            dataSource.filter({
                logic: "or",
                filters: stationIds
            });

into a much cleaner:


var selectedStations = $("#cmbStations").data("kendoMultiSelect").dataItems();
            var stationIds = [];
            for (var i = 0; i < selectedStations.length; i++) {
                stationIds.push(selectedStations[i].StationId);
            }
            dataSource.filter({
                field: "StationId",
                operator: "in",
                value: stationId
            });

Declined
Last Updated: 26 Aug 2021 12:01 by ADMIN
Created by: Imported User
Comments: 2
Category: Data Source
Type: Feature Request
7
The DataSource schema must be given a total value in order to page correctly. However, DataSource expects this value to come from a response body field. In some cases, we must work with systems that return the total value as a custom field in the response header. We need a way to read custom response header values. 

Yes, the DataSource transport uses jQuery.ajax, so we can implement a custom complete function to read the response headers from the jqXHR. However, complete fires AFTER schema.total is set so it does no good.
Completed
Last Updated: 24 Jan 2020 11:04 by ADMIN
Created by: Imported User
Comments: 1
Category: Data Source
Type: Feature Request
12
We use the new version of SignalR which is 2.2.3 currently and it seems the Kendo DataSource cannot bind to it. It would be awesome if Kendo supported it. 
Here is a link: https://www.nuget.org/packages/Microsoft.AspNet.SignalR.Core/
1 2 3 4 5 6