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
190
converter for a cell, string values (Y/N) to bool values (true/false)
posted

 Hello all,

into a xamdatagrid I have a "IsTrue" field that can have values Y or N. I want this field to be off checkbox type.

I suppose that is needed a converter from string ( "Y" )  to bool ( true ), in order the XamCheckEditor to set right values ( checked/unchecked).

I know that converters can be added on a Binding, but how to implement this, here?

<igDP:Field Name="IsTrue"  >
             <igDP:Field.Settings>
                    <igDP:FieldSettings EditAsType="{x:Type sys:Boolean}"
                             EditorType="{x:Type igEditors:XamCheckEditor }"/>
             </igDP:Field.Settings>
</igDP:Field>

 

 

Parents
No Data
Reply Children
No Data