When the selectable is set to "multiple, row", the default editable mode is enabled and the user tries to edit a cell, the editable cell is not closing
The first time the cell is closed as expected. However, every second edited cell is not closing.
The edited cell should close.
Reproduction steps:
Try to expand a group in this dojo:
Workaround:
Appending the following script right after loading the kendo scripts:
kendo.ui.Grid.original_groupable = kendo.ui.Grid.prototype._groupable;
kendo.ui.Grid.prototype._groupable = function() {
let that = this;
kendo.ui.Grid.original_groupable.call(that);
if (!kendo.support.isRtl(that.element)) {
return;
}
if (that._isLocked()) {
that.lockedTable.on("click.kendoGrid", ".k-grouping-row " + "a[class*='-i-caret-alt-right']", that._groupableClickHandler);
} else {
that.table.on("click.kendoGrid", ".k-grouping-row " + "a[class*='-i-caret-alt-right']", that._groupableClickHandler);
}
}
Bug report
Copy Paste to Search Panel with `allowPaste` set to `true` in the grid is not working
Regression since 2024.1.130
Reproduction of the problem
Dojo: https://dojo.telerik.com/EnUpigUf/2
Try pasting a value in the Search input
Current behavior
The expand arrow disappears.
Expected/desired behavior
User shall be able to paste values to the search panel
Environment
Kendo UI version: 2024.1.130 or newer
jQuery version: 3.4.1
Browser: [all]
When the Add new Record
button is clicked multiple times, the newly added row is not saved, when the 'Save' button is clicked.
The row freezes and is not closed. If after clicking the 'Save' button the user clicks again the 'Add new record' the row is saved.
The row should be saved and closed when the 'Save' button is clicked, even if the 'Add new record' is clicked multiple times.
Bug report
Regression with 2024.1.319
Footer on a scrollable grid with sticky column not aligned when columns are resized
Reproduction of the problem
Dojo: https://dojo.telerik.com/OrIwemEP
1. Resize the column "age"
2. Then resize the column "name", and here is the outcome.
Expected/desired behavior
Fotter shall be aligned with the columns
Environment
Kendo UI version: 2022.1.301 or newer
jQuery version: []
Browser: []
When the Grid is grouped and there is a locked column set, the grouping columns and the locked column have incorrect widths.
The width of the locked column is 103px although the configured width is 50px. The grouping columns have a width of 66px although the width applied from the theme is 32px.
The width of the locked column should be according to the value set in the configuration of the Grid. The grouping column should have a width as applied by the themes.
In a Grid with locked columns, if the last of the locked columns is non-editable, trying to navigate to the next cell focuses the wrong cell.
Regression introduced with 2022.3.913
Navigating to the next cell focuses the cell in the City column on the next row.
The next cell on the same column should be focused.
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.
When the loaderType is set to skeleton and the user edit the cells in the Grid, when saving the Grid is displayed empty.
The Grid does not display any data. The Grid is displayed as expected when the default loaderType is set.
The updated data should be displayed
sync: function(e){
$("#grid").data('kendoGrid').refresh()
},
Grid throws error when partial update is executed and selection is persisted
Save
command button.The Grid throws an error when the partial update is executed and the selection is persisted.
The Grid should not throw an error when the partial update is executed and the selection is persisted.
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
The cell exits the edit mode when the button is clicked and the value is not cleared
The cell should remain in edit mode and the value should be cleared
Steps:
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.
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
The footer cells shift to the right.
The footer cells shouldn't shift to the right after updating a cell.
With the introduction of the Columns tools in the Grid toolbar, if the columnMenu is set to tabbed, the menu is missing the Column Visibility and Autosize options.
Regression introduced with 2024.1.130
The Column Visibility and Autosize options are missing
The Column Visibility and Autosize options should be visible.
When all columns have set width in pixels resizing of the columns does not work as expected and the cursor is not aligned with the columns.
The column becomes much wider and the cursor is not aligned with the column border - screencast - https://somup.com/c0lqlFkjLc
The column should be resized along with the movement of the cursor.
Note: The issue starts to appear with Kendo version 2023 R2 SP1 (2023.2.718). Before this version the issue was reproducible only when the pixels are mentioned in the width setting - example: { field: "name", width: "20px" }, - Dojo - https://dojo.telerik.com/@NeliKondova/IdEsagig
Bug report
copySelectionToClipboard() throws an error when the Grid has hidden column/s
Also if false is passed to the method - grid.copySelectionToClipboard(false); - not all GUID columns are copied to the clipboard
Reproduction of the problem
Dojo: https://dojo.telerik.com/OpiBoDaH
Select a row/rows
Click on the Select and copy button
Expected/desired behavior
Error should not be present and copy to clipboard shall copy correct data
Environment
Kendo UI version: [all]
Browser: [all]
The rendering of the Grid header for a command column is different than the one for the default header.
Regression introduced with 2023.3.1114
The rendering of both headers should be the same.
When there is a sticky column in Grid and the column is unsticked, it can not be dragged for reordering.
The column can not be dragged and reordered
It should be possible to reorder the column after it is unsticked.
When a column is unsticked either through the built-in context menu or through the unstickColumn method all the casses from the cells in that column are removed, even the 'k-table-td' class.
All classes in that column are removed
<td class="" style="" role="gridcell">Boulevard Tirou, 255</td>
Note: Initially the cells have the k-table-td class twice which is also not expected
<td class="k-grid-content-sticky k-table-td k-table-td" style="left: 0px; right: 0px;" role="gridcell">Boulevard Tirou, 255</td>
Only the 'k-grid-content-sticky' class should be added or removed when sticking/unsticking a column.
In a Grid with popup editing, saving/cancelling the changes shows hidden columns for a short time.
Regression with v 2023.2.829
The hidden ID column is shown for a short time
The hidden column should remain hidden