Unplanned
Last Updated: 25 Nov 2021 08:24 by ADMIN
Kendo UI
Created on: 25 Nov 2021 08:17
Category: Grid
Type: Feature Request
1
Measure rowHeight automatically

Current behavior

The developer must measure the Grid row height in the browser and set it to the `rowHeight` in order for virtual scrolling to work correctly. Setting an incorrect value can lead to subtle errors - glitches during scrolling or inability to scroll down to the last row.

The row height may change as a result of a styling adjustments and is not guaranteed to be identical across browsers and devices. This makes the current workflow tedious and error-prone.

One of the following approaches can be used to solve this issue:

  • The Grid should take accurate measurements of the row height at run-time. The developer should still be aware that row height is constant . This is the preferred approach as it does not change current behavior, instead the set `rowHeight` value is ignored.
  • The set `rowHeight` should be applied as inline styles. This is a more risky approach as it will change the appearance of the Grid.
0 comments