I would like to display "Yes" or "No" for a Boolean in RadGridView instead of a checkbox. I would like to implement this changes in xaml. Columns are generating dynamically. This is how it's created now:
<telerik:RadGridView x:Name="Data" Grid.Row="3" Margin="5" AutoGenerateColumns="False" CanUserSortColumns="True" IsFilteringAllowed="True"
I am new in Silverlight coding. Will really appreciate if someone can help.
5 Answers, 1 is accepted
I'm attaching a sample project based on your requirements. All I've done is added a BooleanToYesNo converter and set it as the Converter for the respective binding. Please have a look and let me know whether this works for you.
I am not sure that I can understand your question. May I ask you to share more details? An image would be helpful.
The blue sign you're referring to is the undetermined state of the Tri-State CheckBox.
One way to get rid of it, if applicable, is to make the respective boolean property of your business object non-nullable so that a default value of false is set.
Your other option is to style the CheckBoxColumn, and more specifically - the IndeterminatePath of its Indeterminate visual state, to your liking.
I hope you find these suggestions helpful.