How to format ag-grid columns individually?(Ag-grid react)

Documentation: https://www.ag-grid.com/react-data-grid/

let’s consider that the ag-grid table has 5 columns with colId of ‘t1’, ‘t2’, ‘t3’, ‘t4’, ‘t5’.

How do I format each column such that when the user pastes values(1 2 3 4 5) in the first row and clicks enter, the values should automatically go to thier respective rows.

Ex: User pastes 1 2 3 4 5 in first row of first column(t1).

The first value(1) is the data in first row of first column.

The second value(2) is the data in second row of first column.
and so on..

The first column should look like

t1

1
2
3
4
5

How can this be done?