Completed
Last Updated: 24 Mar 2020 17:11 by ADMIN
Release 2020.R1.SP.next
Akshay
Created on: 18 Mar 2020 08:08
Category: Spreadsheet
Type: Bug Report
1
Spreadsheet's range.select() doesn't work if the passed cells' range is outside the currently visible area

Bug report

The select method of the range in the Spreadsheet component throws an error when we have a selected cell in the visible area of the component and try to select a range that is outside of this visible area.
The bug is replicable both when the range is passed as exact cells or row-column pair:

  • sheet.range(3,2,3,3).select();
  • sheet.range("C4:E6").select();

** This is a regression from the R3 2019 release

Reproduction of the problem

  1. Open this Dojo
  2. Scroll to row 70+ and select a random cell
  3. Press the "Select range" button

Current behavior

The following error appears in the browser's console
image

If you scroll to the top rows of the Spreadsheet there is a visual selection of the cells that are passed in the range

Expected/desired behavior

On "Select range" click the "C4:E6" cell range should be selected and the Spreadsheet should be automatically scrolled to this selection.

Here is a working demo: https://dojo.telerik.com/uRERUxOm

Environment

  • Kendo UI version: 2020.1.219
  • jQuery version: x.y
  • Browser: [all]
0 comments