bryntum / support

An issues-only repository for the Bryntum project management component suite which includes powerful Grid, Scheduler, Calendar, Kanban Task Board and Gantt chart components all built in pure JS / CSS / TypeScript
https://www.bryntum.com
54 stars 6 forks source link

Error when clicking zoomToFit with infiniteScroll enabled and gantt chart collapsed #9888

Closed ghulamghousdev closed 2 months ago

ghulamghousdev commented 2 months ago

Forum post

When enabling infinitescroll there are an error that happen with zoom to fit.

Steps to reproduce:

  1. Open Gantt
  2. Collapse gantt
  3. Click 'Zoom to fit button'
  4. Expand gantt
  5. ERROR: All rows are removed (it looks like application crashed)

I was able to reproduce this issue in your advanced example, here https://bryntum.com/products/gantt/examples/advanced/ by adding below config:

    infiniteScroll : true

Screenshot: Screenshot 2024-08-27 083824.png

In your demo and my application the error is "Uncaught Error: Invalid time axis configuration or filter, please check your input data

Screenshot 2024-08-27 at 12 00 42 PM