A renderer is intended for read-only formatting of a grid columns data, not real-time rendering of editable data.

You'll most likely need to capture the validateedit event of the Ext.grid.plugin.CellEditing plugin, then strip out the line feeds there (where you may also want to do a replace on regex /\r/ to catch carriage returns).