How can i have checkbox as unbound column
The checkbox checked/unchecked depends upong other db column value(can this be done using valueconverter?)
Thanks that works
Hi,
First set a ValueConverter on the UnboundColumn that calculates a bool value. Then in the ItemTemplate of the column set the checkbox's IsChecked property with a binding to a property called value, which is part of the DataContext of the DataTemplate:
<CheckBox IsChecked="{Binding Value}"/>
And that would be all you'd really need to do.
Here's a link to a help topic that explains everything you need to know about the UnboundColumn:
http://help.infragistics.com/NetAdvantage/Silverlight/2010.3/CLR4.0/?page=xamGrid_Unbound_Column.html
Hope this helps,
-SteveZ