Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Get DataTable row number on CellEditEnding event.

$
0
0

Hi

I have DataGrid which ItemsSource is DataView of DataTable. When CellEditEnding happens on DataGrid I got DataGrid row number.

Row number which is not DataTable row number. So I must use values from DataGrid which are previous value before CellEditEnding ends.

If I understand well I should work on data layer and on this level modify value of columns. But how should I know DataTable rows numer? Should I filter it depending of some item value from DataGridRow?

Best Regards

Przemysław Staniszewski



Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>