What is the meaning of Grammatically?

In a grammatical manner.

Concerning grammar.

Source: wiktionary.org