Premium support for our pure JavaScript UI components


Post by Howard »

Hi,

I'm in the process of learning about the config and events system implemented in Gantt and am trying to use the example shown in the following doc entry: https://www.bryntum.com/docs/gantt/api/Core/mixin/Events#config-listeners

I cannot get this to work as written, but if I return an object from configurable containing the listener config it starts working. This seems to be consistent with how you are using the configurable property within the Gantt source code.

Am I misunderstanding how configurable works, or is this a problem in the docs?

Also, where is the best place to start in the docs for understanding configs and events?

Thanks


Post by alex.l »

You're right about a configurable, it's a mistake in docs which we'll fix with the nearest release. Thanks for notifying us!
Regarding to guides about configs, I can suggest you to read https://bryntum.com/docs/gantt/guide/Core/advanced/classes
For events you're in correct place, also may be helpful to check https://bryntum.com/docs/grid/guide/Grid/basics/events

All the best,
Alex


Post by Howard »

No worries, and thanks for the suggestions.


Post Reply