Completed
Last Updated: 17 Oct 2022 14:05 by ADMIN
Release R1.2023-Increment.1(09.Nov.2022)
Frode Christian Hansen
Created on: 17 Aug 2022 06:12
Category: Grid
Type: Bug Report
1
Adding a new record to filtered and grouped Grid throws an error

Bug report

When the data in a Grid is filtered and grouped and then we try to add a new record an error is thrown

Reproduction of the problem

  1. Open the Dojo example.
  2. Filter a column (ex. filter ProductName that contains 'a')
  3. Group by UnitPrice
  4. Click the external 'add' button.

Current behavior

The following error appears in the broswer console: Uncaught TypeError: Cannot read properties of undefined (reading 'length')
The error appears no matter if dataSource.add() method or gridData.splice(0, 0, newData); is used

Expected/desired behavior

There should be no error when an item is added to the Grids dataSource

The issue is a regression starting with 2022.2.621

Environment

  • Kendo UI version: 2022.2.802
  • Browser: [all ]
0 comments