Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grid with frozen columns and horizontal scrolling throws error when you attempt to destroy it #7455

Closed
gdenchevprog opened this issue Jul 26, 2023 · 0 comments
Assignees
Labels
Bug C: Grid FP: Completed Sync status with associated Feedback Item jQuery SEV: Low
Milestone

Comments

@gdenchevprog
Copy link
Contributor

Bug report

When a Grid has frozen columns and the horizontal scrollbar of the "unlocked" area is scrolled to the right, an error is thrown when you attempt to call the grid.destroy() method.

Reproduction of the problem

Run the following Dojo:

https://dojo.telerik.com/@gdenchev/ogimiXUn

Scroll the horizontal bar the right

image

Click on the "Destroy" button and observe the browser console.

image

Current behavior

The Grid throws an error when you try to destroy it.

Expected/desired behavior

The Grid should not throw an error when you attempt to destroy it.

Workaround

https://dojo.telerik.com/@gdenchev/iBEzeNuK remove the scroll event handler before destroying the Grid.

Environment

  • Kendo UI version: 2023.2.718
  • jQuery version: 3.4.1
  • Browser: [all]
@github-actions github-actions bot added the FP: Unplanned Sync status with associated Feedback Item label Jul 26, 2023
@github-actions github-actions bot added FP: Completed Sync status with associated Feedback Item and removed FP: Unplanned Sync status with associated Feedback Item labels Nov 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug C: Grid FP: Completed Sync status with associated Feedback Item jQuery SEV: Low
Projects
None yet
Development

No branches or pull requests

3 participants