Binding Nullable Bool to GridViewDataColumn

1 posts, 0 answers
  1. Sharada
    Sharada avatar
    43 posts
    Member since:
    Mar 2009

    Posted 29 Dec 2010 Link to this post


    I am binding bool datatype to a column in TreeListView
    It shows checked Checkbox for TRUE and unchecked Checkbox for FALSE which is good.
    But for NULL values it shows checkbox in disabled format.
    I dont want to show checkbox for NULL values.
    How can I achive this ? Please suggest.




    telerik:GridViewDataColumn DataMemberBinding="{Binding ManSprd}" Header="Man Sprd" IsVisible="{Binding Converter={StaticResource RelativeBlocksValueConverter2}, ConverterParameter=2}" />

    I tried with  IsVisible property but it is also not giving desired output.

Back to Top