Uncaught TypeError: gantt.resetLayout is not a function

code:
Snipaste_2020-11-10_16-55-09

Hello, I have solved this problem and deleted the subject