how to make the dynamically added fields in the grid as readonly in Ax4?

Hi All,

I have the requirement that to give the ability to user to add any fields dynamically from front end.It is achieved by default in ax.But now they want that field should be read only.How I have to do that?Can any one help me?it is urgent.