Completed
Last Updated: 25 Apr 2024 11:53 by ADMIN
Release 2024 Q2 (May)

Bug report

Grid throws error when partial update is executed and selection is persisted

Reproduction of the problem

  1. Open the following dojo.
  2. Select a row.
  3. Place it into edit mode.
  4. Make some changes and click on the Save command button.
  5. Try to select another row.

Current behavior

The Grid throws an error when the partial update is executed and the selection is persisted.

Expected/desired behavior

The Grid should not throw an error when the partial update is executed and the selection is persisted.

Environment

  • Kendo UI version: 2024.1.319
  • Browser: [all]
Completed
Last Updated: 24 Apr 2024 10:53 by Martin
Release R1.2024-Increment.2(31.Jan.2024)

Bug report

In a Grid with popup editing, saving/cancelling the changes shows hidden columns for a short time.

Regression with v 2023.2.829

Reproduction of the problem

  1. Open this Dojo example - https://dojo.telerik.com/icarOBim/6
  2. Open the browser console
  3. Edit a field and press the save button

Current behavior

The hidden ID column is shown for a short time

Expected/desired behavior

The hidden column should remain hidden

Environment

  • Kendo UI version: 2023.3.1114
  • Browser: [all]
Pending Review
Last Updated: 23 Apr 2024 05:51 by Michael D

Consider the following scenario: There is a sortable Kendo-UI grid with a corresponding dataSource. Initially, the dataSource contains some items. When updating the dataSource to an empty array, all items disappear from the grid - so far, so good. However, if a column header is clicked afterwards to sort that column, the removed data reappears again.

We created a small "walkthrough" in this DOJO to demonstrate the issue.

FYI: The issue can be avoided by using a custom implementation of dataSource.transport.read which always returns the latest data.

Unplanned
Last Updated: 17 Apr 2024 13:29 by Kevin

Bug report

When the loaderType is set to skeleton and the user edit the cells in the Grid, when saving the Grid is displayed empty.

Reproduction of the problem

  1. Open the Dojo - https://dojo.telerik.com/@NeliK/AGATEWAR
  2. Edit a record and click the 'Save changes' button.

Current behavior

The Grid does not display any data. The Grid is displayed as expected when the default loaderType is set.

Expected/desired behavior

The updated data should be displayed

The issue is a regression introduced with 2024.1.319 version

Workaround - https://dojo.telerik.com/@NeliK/OyIXIHuJ

sync: function(e){
           $("#grid").data('kendoGrid').refresh()
 },

Environment

  • Kendo UI version: 2024.1.319
  • Browser: [all ]
Unplanned
Last Updated: 08 Apr 2024 11:34 by Bradley

Bug report

In a navigatable Grid with a custom ComboBox cell editor, clicking the clear button closes the cell instead of clearing the value in the ComboBox.

Regression introduced with 2023.2.606

Reproduction of the problem

  1. Open this Dojo example - https://dojo.telerik.com/OgEBOGoz/2
  2. Edit a cell
  3. Click the ComboBox clear button

Current behavior

The cell exits the edit mode when the button is clicked and the value is not cleared

Expected/desired behavior

The cell should remain in edit mode and the value should be cleared

Environment

  • Kendo UI version: 2024.1.319
  • Browser: [all]
Planned
Last Updated: 03 Apr 2024 13:20 by ADMIN
Scheduled for 2024 Q2 (May)

Bug report

When the selectable option is set to "multiple cell" and the user tries to select the content of a single column, the content of the entire row is selected.

Reproduction of the problem

  1. Open the Dojo - https://dojo.telerik.com/@NeliK/AzirANuT
  2. Try to select the text in the France cell and drag down to select only the content in the ShipCountry column.

Current behavior

The content of the other columns is selected as well - https://somup.com/cZeXIvpRzk

Expected/desired behavior

The behavior is expected when the allowPaste option is enabled. However, once the allowPaste option is disabled only the content of the selected column should be selected.

Workaround

kendo.ui.Selectable.fn._allowPreventDefault = () => true;
Dojo - https://dojo.telerik.com/@NeliK/eTocoBOL

Environment

  • Kendo UI version: 2024.1.130
  • jQuery version: x.y
  • Browser: [all ]
Completed
Last Updated: 03 Apr 2024 11:36 by ADMIN
Release 2024 Q2 (May)

Steps:

  1. https://dojo.telerik.com/URaJeSEk
  2. Click the "Change Price" button

Expected: kendoConsole logs the dataItem info in the top message
Actual: dataItem() doesn't find the model even though it exists in the Grid dataSource

In the Grid source code in the refresh function, _data is set to dataSource.view() if partialUpdate is true. For a grouped dataSource, view() will return the parents. This breaks the dataItem function since it relies on the flat array for retrieval.

It looks like this issue was introduced in version 2024.1.319 as it doesn't seem to affect 2024.1.130.

Unplanned
Last Updated: 01 Apr 2024 14:05 by Rich

Describe the bug
With LESS themes on iOS devices when the user taps and holds an icon in the Grid the following system popup appears
image

With the SASS themes the popup is not displayed.

To reproduce

  1. Open the Dojo on an iOS device - https://dojo.telerik.com/@NeliK/oSODAvAz
  2. Tap and hold one of the images

Expected behavior
The popup for saving/copying the image should be displayed.
The same example using LESS themes - https://dojo.telerik.com/IsOvIjef

The issue might be due to the usage of -webkit-touch-callout

Workaround

<style>
      .k-grid{
        -webkit-touch-callout: unset !important;
      }
    </style>

Affected package

  • theme-default
  • theme-bootstrap
  • theme-material
  • theme-tasks

Affected suites

  • Kendo UI for jQuery

Affected browsers

  • All

Build system information

  • OS: [iOS]
Completed
Last Updated: 21 Mar 2024 07:31 by ADMIN
Release 2024 Q2 (May)

Bug report

Get a scenario where we have a Grid with the following configs:

  1. There is a selectable column in the Grid
  2. There are one or more locked columns
  3. The reorderable.row value to true

Having the above configuration, try to reorder random rows. The value in the Drag Hint shows a number of files that is twice the number of the selected for reordering rows.

  • Note: In a scenario with a selectable column to be able to reorder rows, we have to select these rows at first

Reproduction of the problem

  1. Open this Dojo example
  2. Select two random rows in the Grid by checking their checkboxes
  3. Use the Contact Title column to start the row dragging(We need this column because the rows' reorder cannot start from a locked column)

Current behavior

The text inside the Drag Hint is "4 items selected"

Expected/desired behavior

The text inside the Drag Hint should correspond to the number of the selected rows. In the above scenario, the text should be "2 items selected"

Environment

  • Kendo UI version: 2022.2.802
  • jQuery version: x.y
  • Browser: [all]
Completed
Last Updated: 19 Mar 2024 12:38 by ADMIN

Bug report

In a Grid with a hidden column, the aggregates in the footer shift to the right if you edit a cell.

Regression introduced with 2023.2.829

Reproduction of the problem

  1. Open this Dojo example - https://dojo.telerik.com/EXOmOcAs
  2. Scroll to the bottom to see the footer
  3. Edit a cell

Current behavior

The footer cells shift to the right.

Expected/desired behavior

The footer cells shouldn't shift to the right after updating a cell.

Environment

  • Kendo UI version: 2024.1.130
  • Browser: [all]
Unplanned
Last Updated: 19 Mar 2024 11:18 by ADMIN

Bug report

In a Grid with virtual row and column scrolling enabled, if there are large number of hidden columns, the horizontal scrolling is very slow.

Reproduction of the problem

  1. Open this Dojo example - https://dojo.telerik.com/EWeVaQOc/12
  2. Try to scroll horizontally

Current behavior

Horizontal scrolling is slow

Expected/desired behavior

Horizontal scrolling should be smooth

Environment

  • Kendo UI version: 2023.3.1114
  • Browser: [all]
Unplanned
Last Updated: 18 Mar 2024 10:54 by ADMIN

The Kendo-UI Grid supports the concept of locked columns that are always on the left side of the screen (in a non-RTL-world) and do not scroll. This makes it necessary to split the underlying HTML-table into two parts (one is locked and one is not). Kendo-UI takes care of syncing the height of the rows between those two tables.

However, if there are empty cells in the locked part, this logic produces results that make the row grow larger (higher) than if there was content. This DOJO demonstrates the behaviour. Using the Browser's DEV-Tools, you can see that rows without content in column A are 37px high, while those with content are only 36px high.

Unplanned
Last Updated: 14 Mar 2024 11:26 by ADMIN
Created by: AGB
Comments: 5
Category: Grid
Type: Bug Report
2

Hiding the first column in Grid will show a 2 pixels left border instead one.

Dojo Sample to replicate the issue: https://dojo.telerik.com/ubaLiYEN

Steps:

1. Hide the first column (OrderID) from the Column Menu.

2. Notice the doubled left-border on the left hand side of the Grid.

Completed
Last Updated: 14 Mar 2024 09:11 by ADMIN
Release 2024 Q2

Bug report
Row filter Clear icon does not clear the autocomplete in Grid since 2022.1.119

Reproduction of the problem
Open the demo: https://demos.telerik.com/kendo-ui/grid/filter-row

Type V in the Ship Name filter input, then click the clear button (X).
It will toggle the mode and display the Filter clear button outside of the autocomplete edit box but will not clear the filter.



Expected/desired behavior
AutoComplete shall be cleared

The issue is introduced with 2022 R1 (2022.1.119)
Environment
Kendo UI version: 2022.1.119 or above
Browser: [all]

Completed
Last Updated: 13 Mar 2024 15:34 by ADMIN
Created by: Support
Comments: 0
Category: Grid
Type: Bug Report
0

We are using the columns.filterable.ui to initialize a kendoTextArea, if we write something and use the enter key to filter the value is ignored. 

Example:

https://dojo.telerik.com/iSElEkUL 

Completed
Last Updated: 13 Mar 2024 13:10 by ADMIN
Release 2024 Q2

Hello,

 

we have the following problem:

In the dojo https://dojo.telerik.com/uJUGEQuh clicking on a row from the skleton loader in the grid causes an error. It seems like you want to access the "id" field from the datasrouce model which doesn't exist in the loading animation.

model:
{
	id: "Id",
	fields: 
	{
		ProductName: { type: "string" },
		Id: { type: "number" }
	}
}

 

If you rename the "id" field to for exmaple "XXXX" the error message changes

from:

Uncaught TypeError: Cannot read properties of undefined (reading 'Id')

to:

Uncaught TypeError: Cannot read properties of undefined (reading 'XXXX')

 

We attached a gif of the problem and the code snipped of the dojo. The browser is Chrome Version 109.0.5414.120 (Official Build) (64-Bit)

 

Greetings

Ingo E.

Completed
Last Updated: 12 Mar 2024 08:04 by ADMIN
Release 2024 Q1

Bug report

When the value of a cell in the Grid is set using the model.set method, and there is already a dirty cell in the Grid, the .k-dirty-cell class is added to multiple cells.

Reproduction of the problem

  1. Open the Dojo - https://dojo.telerik.com/@NeliKondova/OhoPEPoh
  2. Change the value in an arbitrary cell in the Grid.
  3. Press the setValue button (The set value button is setting the value of the third cell in the ProductName column using the API set method)

Current behavior

The k-dirty-cell class is applied to multiple cells (the background is changed to green).

Expected/desired behavior

The .k-dirty-cell class should be applied only to the cells with changed value.

The issue is a regression starting with the 2023 R1 (2023.1.117) version.

Environment

  • Kendo UI version: 2023.3.1010
  • Browser: [all ]
Completed
Last Updated: 07 Mar 2024 15:00 by ADMIN
Release 2024 Q2

Bug report

When filtering is enabled in the Grid, the autoFitColumns method does not work.

Reproduction of the problem

  1. Open this Dojo example - https://dojo.telerik.com/AsaNeqOc
  2. Compare the column width of the two Grids

Current behavior

The filterable Grid's columns are not auto-fitted

Expected/desired behavior

The filterable Grid's columns should be auto-fitted

Environment

  • Kendo UI version: 2023.2.606
  • Browser: [all]
Unplanned
Last Updated: 06 Mar 2024 08:26 by ADMIN
Created by: Rajpradeep
Comments: 6
Category: Grid
Type: Bug Report
1

Bug report

When using the Selection and Export Grid Demo in Safari, and pasting the cells in Excel, there appears to be some extra empty lines below the paste.

Reproduction of the problem

  1. Open the demo URL in Safari browser.
  2. Select few cells and choose Copy option from the context menu.
  3. Open an Excel file and paste the copied items (extra empty lines are pasted at the end).

Expected/desired behavior

The pasted lines should not include any additional empty lines beneath the specific content.

Environment

  • Kendo UI version: 2022.2.802
  • jQuery version: All Supported
  • Browser: all
Completed
Last Updated: 05 Mar 2024 08:35 by ADMIN
Release 2024 Q2
Created by: Lee
Comments: 4
Category: Grid
Type: Bug Report
0

I am trying to change the menu option for a column from false to true and others from true to false when a user selects an item from a dropdown. This isn't working. I'm using getOptions(), changing the menu setting in each column, and then setOptions(options) to set it.

Here is a dojo showing an example. In the example, firstName and lastName are initially hidden. I simulate a user choosing last name from some sort of selector (like a dropdown box). The code should then hide both name columns and unhide the lastName column. Instead it hides both name columns.

It seems to have something to do with setting any of the name columns to hidden on initialization. If I remove this from the column settings on initialization though it only works once and when I choose a different option from the dropdown (dropdown is simulated in the dojo so you can't try this but trust me) it breaks.

<html>
<head>
  <meta charset="utf-8">
  <title>Untitled</title>

  <link rel="stylesheet" href="https://kendo.cdn.telerik.com/2022.1.412/styles/kendo.common.min.css">
  <link rel="stylesheet" href="https://kendo.cdn.telerik.com/2022.1.412/styles/kendo.rtl.min.css">
  <link rel="stylesheet" href="https://kendo.cdn.telerik.com/2022.1.412/styles/kendo.default.min.css">
  <link rel="stylesheet" href="https://kendo.cdn.telerik.com/2021.2.511/styles/kendo.mobile.all.min.css">

  <script src="https://code.jquery.com/jquery-1.12.3.min.js"></script>
  <script src="https://kendo.cdn.telerik.com/2021.2.511/js/angular.min.js"></script>
  <script src="https://kendo.cdn.telerik.com/2021.2.511/js/jszip.min.js"></script>
  <script src="https://kendo.cdn.telerik.com/2021.2.511/js/kendo.all.min.js"></script></head>
<body>
  <div id="myGrid"></div>
  
  <script>
    let tableRows = [
      {
        ID: 1,
        FirstName: "John",
        LastName: "Smith",
        Age: 21
      },
      {
        ID: 2,
        FirstName: "Jenny",
        LastName: "Jones",
        Age: 18
      },
      {
        ID: 3,
        FirstName: "Greg",
        LastName: "Adams",
        Age: 23
      }
    ];
    
   let tableColumns = [
              {
                title: "Employee ID",
                field: "ID",
                width: 100,
                locked: true,
                menu: false
              },
            {
                title: "First Name",
                field: "FirstName",
                width: 150,
              hidden: true,
              attributes: { "class": "name" },
                
            },
            {
                title: "Last Name",
                field: "LastName",
              hidden: true,
                width: 150,
                attributes: { "class": "name", "data-position": "last name" },
                
            },
            {
                title: "Age",
                field: "Age",
                width: 100
            }
        ];

            var grid = $(`#myGrid`).kendoGrid({
            dataSource: {
                data: tableRows,
                schema: {
                    model: {
                        id: "ID",
                        fields: { ID: {type: "number"}}
                    }
                }
            },
            dataBound: function (e) {
                if (e.sender.dataSource.view().length == 0) {
                    var colspan = e.sender.thead.find("th").length;
                    //insert empty row with colspan equal to the table header th count
                    var emptyRow = "<tr><td colspan='" + colspan + "'></td></tr>";
                    e.sender.tbody.html(emptyRow);
                    e.sender.table.width(800);
                }
     
            },
            columns: tableColumns,
              columnMenu: true,
            sortable: true,
            pageable: false
        }).data("kendoGrid");
    
    let options = grid.getOptions();
    let columns = grid.columns;
    let nameColumns = $(".name");
    let lastNameColumn = $("[data-position='last name']");
    let lockedColumnCount = 0;
    for (var i = 0; i < columns.length; i++) {
        if (columns[i].locked) {
            lockedColumnCount++;
        }
    }
    $.each(nameColumns, function (index, element) {
        let elementIndex = $(element).index() + lockedColumnCount;
        //kendoGrids[tableId].showColumn(elementIndex);
        options.columns[elementIndex].menu = false;
        options.columns[elementIndex].hidden = true;
    });
    
    // Let's pretend Last Name was chosen from a select box part of name to show.
    $.each(lastNameColumn, function (index, element) {
        let elementIndex = $(element).index() + lockedColumnCount;
                        options.columns[elementIndex].menu = true;
                        options.columns[elementIndex].hidden = false;
                        //kendoGrids[tableId].showColumn(elementIndex);
                    });
                    
    console.log(options);
                    
                    grid.options = options;
                    grid.setOptions(options);
    
  </script>
  
</body>
</html>

1 2 3 4 5 6