How can I implement text wrapping in an Aggrid table?

My program works with ip addresses and displays them using aggrid. It would be much more informative to display the addresses one in a line, that is, replace the comma with “\n”, but this does not work. Are there any ways to implement this?