I think grammar is important to having complete understanding of a language. However, I don't think it's extremely important if you only need the language for a trip/ vacation. Grammar is vital for in depth conversations, writing, and jobs. Also, if you plan to move to a country you should definitely try to perfect the grammar.