I am using the Task Board React component but I am not able to update the column store dynamically.
g.columns.removeAll();
g.columns.add(columns);
"g" here is a reference to the Taskboard instance and columns is an array of objects with id and text
Unfortunately the UI doesn't reflect the changes and doesn't update itself with the new columns. I need to force the update of the component but I don't know how to do that
Thanks for the hard work
Re: Task Board | update columns Store dynamically
Posted: Fri Dec 31, 2021 9:44 am
by Animal
This works. If g is actually an instanceof Taskboard.view.TaskBoard