JavaScript Data GridAG Grid Error #33

Full Error Text

stateItem.aggFunc must be a string. if using your own aggregation functions, register the functions first before using them in get/set state. This is because it is intended for the column state to be stored and retrieved as simple JSON.
To show this error text in the dev console, import the ValidationModule.