Hi,
The boolean values are not displayed by default in the grid. When I use a Field of type bool (not bool?), it displays a checkbox sqare with a green square inside, like if it has never been set yet. If I update the value manualy, then it displays a checkmark when the value is true and an empty square when the value is false like expected. Why does'nt it show the check mark or empty sqare at first. Why do I need to update it to see the correct value? Is there something I can do programaticaly to force the value to be correctly displayed.
Thanks
This could be a defect. Can you provide a snippet of the code you are using that I might verify the problem? I've placed a work-around to a similar issue at the following post:
http://forums.infragistics.com/forums/p/7767/34915.aspx#34915
My work-around involved using a standard WPF CheckBox.
Thanks,
Tanks for your help,
I found a work around by my self using a Check Box. Here's what I did. I created a property of type ValueEditorCheckBox like this
private ValueEditorCheckBox useNewModelCheckbox = null;
{
get
this.useNewModelCheckbox = new ValueEditorCheckBox();
this.useNewModelCheckbox.Checked += new RoutedEventHandler(useNewModelCheckbox_Checked);
}
And I use it in my xaml like this
<igDP:Field.Settings>
</igDP:Field.Settings>
</igDP:Field>
It works well
thanks any way!
Karine