You are using an older version of AG Grid. To upgrade, please see the
migration guide.
Full Error Text
Calling gridApi.resetRowHeights() makes no sense when using Auto Row Height.
To show this error text in the dev console, import the ValidationModule.