Hi
I have problems when exiting from edit mode. I need to use filtering using a menu and I set the key property of the column to read-only property, the property will be updated in control which defined in the template.I attached an example to good understanding of my problem. I didn't add the custom control in the template because this issue also appears in more simple way :)
Do you know how can i handle this?
Hello Boris,
You have a template column bound to a read-only property and in the same time you have editing enabled. As a result when you commit a new value the control throws an exception that it cannot save the new value in a read-only property. The binding defined in the editor template is only used to display a value when you start editing. When you commit a new value however the binding in the "Key" property is used. I think this is the reason why you cannot exit from edit mode. You need to either disable editing for this column or define a setter for this property.
Regarding filtering you can read this topic which explains how to create a custom filter if the built-in filtering is not enough for you:https://ko.infragistics.com/help/wpf/xamgrid-create-a-custom-filter
Let me know if I may be of any further assistance.
Sincerely,Radko KolevSenior Software Developer