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
1690
Access cell value during cell editing
posted

Hi,

I have a a xamDataPresenter as a grid with only one displayed editable column binded to string value in ObservableCollection. Later the value is saved to database as varchar(255). Sometimes users enter very long string values to the cell and they receive error message from Entity Framework. They would like to have count of characters in the cell displayed on the screen. I understand I cannot use CellUpdated event for this because it happened after user leaves the cell. It looks like CellChanged, DataValueChanged and KeyUp/KeyDown events also don't work. Is it possible to do it in xamDataGrid ?

Thanks,

Ed

Parents Reply Children
No Data