Scheduler sections

What should be the right way to modify the sections (timeline view)?
Make use of the addSection / deleteSection or should I use serverList and updateCollection.

I’ll need to create a list of sections and be able to add and delete many times during the day.
I know how to do it but I’m not sure which one is the best solution.

Thanks

Hi @Contente

If you delete/add same sections to show several constant lists of options, I think updateCollection will be beter way in this case.

If you delete/add different sections each time - it will be easier to implement by addSection / deleteSection.

I have you give you right. Add/delete section is much efficient and easy to handle new entries. Is there any filter option to order the sections asc or desc or by a customized value?

Forgot to mention that using deleteSection, it’s also much easier to check if there are some tasks still assigned to that particular section.
Thank you very much for your help :slight_smile:

@Contente

Unfortunately no, you should update the array with sections and reload it to change the section order.

1 Like

Great… thank you very much. :slight_smile: