You are using an older version of AG Grid. To upgrade, please see the migration guide.
Full Error Text
Server Side Row Model does not support Dynamic Row Height and Cache Purging. Either a) remove getRowHeight() callback or b) remove maxBlocksInCache property. Purging has been disabled.
To show this error text in the dev console, import the ValidationModule.