Skip to content

JavaScript error thrown on pasting data to a Spreadsheet's sheet with one column #6783

@PekoPPT

Description

@PekoPPT

Bug report

When pasting content to a Spreadsheet that has only one column(columns: 1), the data is not pasted in the targeted cell and a JS error appears in the browser's console.

The issue appears only in scenarios where the columns configuration is set to 1.

  • The reported behavior is a regression bug introduced in 2021 R1 SP1 - version 2021.1.224
    Here is a Dojo example with 2021 R1 in which the described above issue is not replicable.

Reproduction of the problem

  1. Open this project and run it
  2. Copy random text
  3. Select a random cell(do not double click the cell) and press Ctrl + V to paste the copied content

Current behavior

No data is pasted in the selected cell and the below error appears in the console:
Cannot read properties of undefined (reading 'row')
image

Expected/desired behavior

The user should be able to paste content in a Spreadsheet cell in all component scenarios - with one or multiple columns.

Environment

  • Kendo UI version: 2022.1.301
  • Browser: [all]

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions