Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
473
Unable to set cell value error when tried to set the blank value inside XamDataGrid text editor
posted

Hi,

I am using XamDataGrid. This grid is assigned a DataSource of Type ObservableCollection<string>. Now if I try to edit the Grid cell and delete all the text inside the editor and try to focus out of the test editor. It is giving me error -

Data Error - Unable to set cell value.

I think it is trying to st the null value to the Grid cell and throwing this error.

Any suggestions on this?

Sample is attached here.

Steps to reproduce -

1. Run the sample

2. It will show a datagrid with two rows.

3. Select any row. This will show the editor. Delete the text from the text editor

4. Try to focus out of the editor by using Tab key. The error will be thrown.

Regards,

Sachin

TestForControl.zip