DataGrid - Cells blocked on validation error.

Jan 10, 2012 at 3:30 PM

Hi!

I'm stucked with the datagrid because if a single cell of the datagrid is not valid, the whole datagrid is blocked and I cannot enter a value to another cell. First I have to correct the wrong value in order to be able to edit other cells in the datagrid.

It's possible to allow the edition of other cells although one value of the data grid is wrong? (with wrong I mean, not valid using IDataErrorInfo).

Thanks in advance!

P.S.: I observed that a similar question reamain still unanswered on the following address: http://wpf.codeplex.com/discussions/209410 .

Feb 27, 2012 at 7:17 AM

I'd like to add, that, when the faulty row with the cell in question gets deleted - you are pretty much stuck with cells, which you can't edit. ( and the last resort is to tamper with the validation flag inside of the datagrid control ). It is possible to turn off editing blocking, but what if you want to keep the blocking mechanism working...