You are using an older version of AG Grid. To upgrade, please see the migration guide.
Full Error Text
Excel table export does not work with undefined. The exported Excel file will not contain any Excel tables.
Please turn off undefined to enable Excel table exports.
To show this error text in the dev console, import the ValidationModule.