just an alternative to disable the datagrid because of the said problem during editing......