Re: Model#toJSON doesn't populate field that added dynamically
Posted: Fri Aug 05, 2022 11:37 am
by takafumi ohtake
In addition, I found another issue.
When I add a aggregate type column dynamically, parent rows doesn't refresh automatically.
It can be reproduced with the demo https://bryntum.com/examples/gantt/aggregation-column/ using the code below.
Re: Model#toJSON doesn't populate field that added dynamically
Posted: Fri Aug 05, 2022 1:05 pm
by alex.l
Thank you for the report. Fields which dynamically added to Model class will be available only for new created instances and won't be catch by already created records. That causes both problems you reported. I've opened a ticket to fix this moment. https://github.com/bryntum/support/issues/5008