Trying to implement a view selection function in my gantt chart. In the documentation https://frappe.io/gantt it shows the example:
gantt.change_view_mode(\'W