Delete section in bar view mode


In tree mode I know there is the deleteSection function, is there anything I can use in bar view mode to delete a section.

My section is a list of people who match a certain criteria because they are assigned a task on a project. If I delete that assignment on the project they should not show in the list of people on the y axis. Rather than have to refresh the entire scheduler, is there a way I can just remove them?



Hi @jezzerwebb,

Please clarify which view you mean by “bar view mode”. Is it Timeline view?

If it is, please use updateCollection method to update the list of section and remove that you want to hide.
Simple examle of usage: