Jurors have heard of drunken mayhem in a town centre bar as police deployed Captor spray on a crowded dance floor.