What listener(s) should I use on a check column?
The documentation says you can have a listener on the columns, but I could not find the list of raised events.
My Code thus far:
Event is called "toggle". Docs here: https://www.bryntum.com/docs/scheduler/ ... ent-toggle
Could you please point me out to the place where you saw that "The documentation says you can have a listener on the columns, but I could not find the list of raised events."? I'll update that place.
That's a bug! Thanks for the report! "listeners" config doesn't work for columns. I've created a ticket to get it fixed: https://app.assembla.com/spaces/bryntum/tickets/7628
As a temporary workaround I can suggest you to add listeners after its creating:
I suppose when you look into this, you may want to also consider this.
The state of the variable which I am binding to, is not getting changed until after the toggle event is fired.
I am using this as an event to reload data on the grid, and toggle is happening before it sets the new data change, and thus my scheduler does not reflect the right data.
In my version of your code, I changed the order of execution in the onCheckboxChange function on CheckColumn class, so the variable changes first, it works as it should in my case, you may consider making the same update to the core code too