Add User Editable Input Matrix

I am trying to add an editable table that is two columns wide and a user defined length. So a user can edit its length depending on needed number of inputs. I want the value to be a list of key value pairs/

I added a data grid to my form but there does not seem to be a way to make it user editable.

I also dont want to make this a data table if possible I just need nice formatted key value pairs to result from it

Welcome to the Forum!

I can highly recommend a look at this series of quick Tutorials:

The series includes not only how to display tabular data, but to make it end-user editable.