datatable issue, after adding a new column, it is not allow to edit data

I am trying to add column pragmatically. After adding column at first location always, it is not allowing me to edit that whole column, where as I am able to edit other columns which were loaded earlier. what is going wrong?

When you are adding new column, does it

  • have unique id
  • have edtitor property

?