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
53 stars 6 forks source link

`lazyLoad` with TreeGrid hangs #9797

Closed ExtAnimal closed 3 weeks ago

ExtAnimal commented 1 month ago

Forum post

This is because the store's lazyLoad property is being accessed before the plugin instance is assigned to the lazyLoad property.

treeStoreLazyLoadPlugin#doLazyLoad needs a .catch(error => {... me.trigger('exception'...) }) which would have caught this.

The plugin itself need to inject itself into its client store as lazyLoad during its startup.