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
790
XamGrid Cancell adding row
posted

Hello,

I have a xamGrid with a dynamic columns. In my Xaml i don't know what column i will have in my ItemsSource. It might contain ComboBox column and DateTime column (with DatePicker).

I want the functionality that only on Enter click the new row will be added or Edit finished. And on escape - adding/editing will be cancelled. Clicking outside the XamGrid Won't do nothing. 

How can i do it?

I search in your forums- i found something similar- but there the XamGrid columns are not dynamic as in my case.