Hello,
i've got a problem with overloaded classes like XamCheckEditor while AllowRecordFiltering is set to true. I get an exception "The expected typ was XamCheckEditor but was XamCheckEditorEx". Any idea?
Thank you
I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.
If the above suggestion helped you solve your issue please verify the thread as answered so other users may take better advantage of it.
I have been looking into your issue and was able to reproduce the behavior you described by setting the EditorStyle property to a Style targeting my XamCheckEditorEx class. The reason you are getting the error is because by default the XamDataGrid choses one of the XamEditors to be used base on the value type. For bool values this is the XamCheckEditor and such a mismatch is detected as error. In order to overcome this you can set the EdytorType property like so:
<igDP:Field Name="IsPerson" >
<igDP:Field.Settings>
<igDP:FieldSettings EditorType="{x:Type local:XamCheckEditorEx}" >
<igDP:FieldSettings.EditorStyle>
<Style TargetType="{x:Type local:XamCheckEditorEx}" >
<Setter Property="Opacity" Value="0.4" />
</Style>
</igDP:FieldSettings.EditorStyle>
</igDP:FieldSettings>
</igDP:Field.Settings>
</igDP:Field>
Please let me know if you require any further assistance on the matter.