Disable Gantt view for project tasks

Hi ,
Is there a way to disable the Gantt View or make it only active if someone clicks on it?
specifically for the project tasks under Projects