Skip to content

[Bug][Grid] Selecting a row and clearing a filter makes the KendoReact Grid empty under virtualization #3350

@filipKovachev

Description

@filipKovachev

Description

When using the KendoReact Grid with virtualization enabled, selecting a row near the end of the dataset and then applying and clearing a filter causes the Grid to render blank.

Plan

KendoReact

Steps To Reproduce

  1. Open this example: https://stackblitz.com/edit/react-aas1lpxx-edurysr1?file=app%2Fapp.tsx
  2. Scroll to the end of the grid.
  3. Select any row at the end of the grid.
  4. Enter the letter "q" into the filter of the column "Product Name" - the grid will be filtered out, the scroll will disappear, because there will be only 3 items in the grid.
  5. Delete the entered value from the filter - the grid will scroll down to the selected element, the grid will be displayed (img 1).
  6. Repeat steps 3 and 4.
  7. The result is that the grid is scrolled down, but the grid is not displayed

Screenshots or video

No response

Actual Behavior

When using the KendoReact Grid with virtualization enabled, selecting a row near the end of the dataset and then applying and clearing a filter causes the Grid to render blank.

Expected Behavior

After clearing a filter, the Grid should correctly reset its virtualization state and display all available rows again, regardless of which row was previously selected or how many times the filter/clear cycle is repeated.

Browser

Chrome

Browser version

latest

OS type

MacOS

OS version

Ticket ID: 1697022

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions