Completed
Last Updated: 05 Aug 2019 11:11 by ADMIN
Release 2019.R3
Created by: Eduard Töws
Comments: 2
Category: Kendo UI for jQuery
Type: Bug Report
3

Bug report

An error occurs on components' initialization when using a custom Kendo UI build which includes PDFviewer

Reproduction of the problem

  1. Go to Kendo UI Custom Download page
  2. In the "WEB" section select random components including the Grid and PDFviewer
  3. Download the custom build(kendo.custom.min.js file) and put it in the same folder with an HTML file with the following structure.
<!DOCTYPE html>
<html>

<head>
    <style>
        html {
            font-size: 14px;
            font-family: Arial, Helvetica, sans-serif;
        }
    </style>
    <title></title>
    <link rel="stylesheet" href="https://kendo.cdn.telerik.com/2019.2.514/styles/kendo.default-v2.min.css" />

    <script src="https://kendo.cdn.telerik.com/2019.2.514/js/jquery.min.js"></script>
    <script src="./kendo.custom.min.js"></script>
</head>

<body>
    <div id="example">
        <div id="grid"></div>
        <script>
            $(document).ready(function () {
                $("#grid").kendoGrid({
                    dataSource: {
                        type: "odata",
                        transport: {
                            read: "https://demos.telerik.com/kendo-ui/service/Northwind.svc/Customers"
                        },
                        pageSize: 20
                    },
                    height: 550,
                    groupable: true,
                    sortable: true,
                    pageable: {
                        refresh: true,
                        pageSizes: true,
                        buttonCount: 5
                    },
                    columns: [{
                        template: "<div class='customer-name'>#: ContactName #</div>",
                        field: "ContactName",
                        title: "Contact Name",
                        width: 240
                    }, {
                        field: "ContactTitle",
                        title: "Contact Title"
                    }, {
                        field: "CompanyName",
                        title: "Company Name"
                    }, {
                        field: "Country",
                        width: 150
                    }]
                });
            });
        </script>
    </div>
</body>
</html>
  1. The following error appears:
    Uncaught TypeError: Cannot read property 'Toolbar' of undefined

Current behavior

grid_pdf

Expected/desired behavior

A Grid should be initialized properly and without errors if a custom build is including the PDFviewer

Environment

  • Kendo UI version: 2019.2.514
  • jQuery version: x.y
  • Browser: [all]
Completed
Last Updated: 08 Mar 2019 15:21 by ADMIN
Created by: DDL
Comments: 0
Category: Kendo UI for jQuery
Type: Bug Report
2

When a ContextMenu is opened for the first time, the animation is not executed. Every consequent open trigger the animation successfully.

The issue can be observed in the following Dojo.

Steps to reproduce:

  • Open the ContextMenu and notice there is no animation.
  • Open the ContextMenu again and notice the default animation is triggered.

Completed
Last Updated: 16 Apr 2019 09:55 by ADMIN
Created by: Reqs
Comments: 0
Category: Kendo UI for jQuery
Type: Bug Report
1

Video: https://www.youtube.com/watch?v=8pnFjgzdaJ8&feature=youtu.be

1. Navigate to: https://dojo.telerik.com/@milena/uZaGuZol (open the dojo sample in edit mode, but not in FullScreen)

2. Scroll Grid to the last item.

3. Open for editing ProductName cell.

4. Open for editing Discontinued cell.

Result: 'Discontinued' cell of the second item will be opened for editing.

Expected: 'Discontinued' cell of the last item should be opened for editing.

Completed
Last Updated: 02 Apr 2019 13:20 by ADMIN

When showOn assumes its default value(to work with hold event on touch devices), the ContextMenu cannot be displayed by tapping and holding over the target elements.

The iсsue can be reproduced with the ContextMenu Demo.

Completed
Last Updated: 06 Oct 2020 14:07 by ADMIN
Release 2019.R2.SP1
In cases when incell editing is enabled, grid is scrollable it is possible that a cell from the last row is not switched to edit mode as expected. Please refer to the attached source code and the steps below to replicate the issue. The problem can be observed only with a 2019.1.403 version of the Kendo scripts (an internal build). Please test the example with 2019.1.403 version of the scripts to replicate the issue. 
Completed
Last Updated: 16 May 2019 07:20 by ADMIN

Dear Telerik,

Please check this example. The single difference than the original one from the demos section, is that I deleted the tasksDataSource.schema.model.fields.parentId.defaultValue". Now the default value of the parentId will be 0 instead of null. If you try to add a new task, the logic will break because of inifinity loop caused by the new task with id=0 and parent=the same task(parentId=0).

I checked the documentation at https://docs.telerik.com/kendo-ui/api/javascript/data/ganttdatasource/configuration/schema and this obligation is missing. It is something small that can save an hour to someone else. 

Best Regards, Boyan.

Completed
Last Updated: 20 Nov 2019 11:45 by ADMIN

Hi,

I'm not sure this will be a bug in your mind but I just wanted to make sure I understood how things work. We have a grid definition which includes the dataSource.schema.model definition. One of the fields (TradeDate) in the schema has a type = "date". In addition, we assign local json data to the "data" property of the dataSource. Our JSON data comes in with dates in the ISO format (a string with the "T" in it). When the grid is initially created everything works fine. We notice that the TradeDate field in the dataSource.data() is converted to an actual javascript date. I assume this is happening because of the schema definition. Later we retrieve new data via an ajax call and apply it to the grid using the grid.dataSource.data(newJson) command. However this does not seem to process the TradeDate field and convert it into a real javascript date. This causes problems because we have filters applied based on the TradeDate. It works fine the first time but fails any time the data is refreshed (because the field value is a string). We tried the schema.parse function but that also is only called the first time. Ultimately we coded the grids "dataBound" event and everything worked. It gets called each time the data is refreshed. I was just wondering if I could be doing something differently so that the schema handled the conversion all the time.

       

self._grid = grd$.kendoGrid({
columns: [...],
        dataSource: {
schema: {
                        model: {
                            id: "somekey",
                            fields: {
                                NewTradeFlag: { editable: false },
                                TradeDate: { editable: false, type: "date" },
...
                            }
                        }
                    },
                data: self.ViewModel.DisplayData.TransactionData
         }
...
})

Later on we do this

self._grid.dataSource.data(newJsonData);

P.S. we originally were using MVVM binding straight to the ViewModel but that didn't work either.

Thank you in advance, Jim.

Completed
Last Updated: 06 Oct 2020 13:07 by ADMIN
Release 2020.R3.SP.next

See dojo at https://dojo.telerik.com/@GaloisGirl/akAlaDIP .

The first DateTimePicker is set as readonly and has also aria-readonly manually set to true. It is correctly read by my screen reader (NVDA).

The second DateTimePicker is only set as readonly. It is read by the screen reader editable. It is not marked as readonly in the accessibility tree (per Firefox Developer Edition 71).

I can't find a formal specification, but this page says an input with ARIA role="combobox" needs to have "aria-readonly" set in addition to "readonly".

I'm documenting this for the DateTimePicker , but the same problem occurs for ComboBox ( https://dojo.telerik.com/@GaloisGirl/egeLOxIt ) and possibly other widgets that use the ARIA role combobox.


 

Completed
Last Updated: 22 May 2020 15:07 by ADMIN
Created by: cortex
Comments: 9
Category: Kendo UI for jQuery
Type: Bug Report
0

Hi,

I'm using the Grid version 2019.3.1023 but changelog for newer version doesn't seem to show this has been fixed.

 

Using Html.Kendo().Grid().Columns(columns => colums.ForeignKey(x => x.ForeignCol, data, "value", "label"));

 

If data contains html, it will not be escaped when the javascript for the kendoGrid component is rendered, and thus is exposed to XSS.

This should be either fixed or documentation and samples must tell explicitly we need to html encoded the data, as this is not the case for the model itself.

 

 

 

 

Completed
Last Updated: 09 Oct 2020 12:15 by ADMIN
Release 2020.R3.SP.next
Created by: Drew
Comments: 0
Category: Kendo UI for jQuery
Type: Bug Report
0

Bug report

There is no definition of type in the WorkbookSheetRow definition (line 21897 in kendo.all.d.ts):

interface WorkbookSheetRow {
	cells?: WorkbookSheetRowCell[];
	index?: number;
	height?: number;
}

The values of the sheets.rows.type: https://docs.telerik.com/kendo-ui/api/javascript/ooxml/workbook/configuration/sheets.rows.type

Reproduction of the problem

Current behavior

Expected/desired behavior

Environment

  • Kendo UI version: 2020.3.915
  • jQuery version: x.y
  • Browser: [all]