Welcome to the Xceed Community Sign in | Join | Help
Community Search  

StatRow: Why default StatCell on bool-columns?

Sort Posts: Previous Next
  •  05-08-2008, 1:07 PM Post no. 12097

    StatRow: Why default StatCell on bool-columns?

    Hi,

     

    I have added an empty StatRow to the FixedFooters of the Grid's view:

    <xcdg:DataGridControl x:Name="myGrid" Height="400">

    <xcdg:DataGridControl.View>

    <xcdg:TableView>

    <xcdg:UIViewBase.FixedFooters>

    <DataTemplate>

    <xcdg:StatRow>

    </xcdg:StatRow>

    </DataTemplate>

    </xcdg:UIViewBase.FixedFooters>

    </xcdg:TableView>

    </xcdg:DataGridControl.View>

    </xcdg:DataGridControl>

     

    The grid contains a column of type "bool":

    _dataGridCollectionView.ItemProperties.Add(new DataGridItemProperty("Cancellation", "Cancellation", typeof(bool), true));

     

    The other columns are of types: int, int?, decimal, datetime?, string.

    When I run my program, the StatRow displays a True-image (a checked checkbox) in the "Cancellation" column.

    All other cells of the StatRow are empty as expected.

     

    Why so? How can I get rid of the unwanted checkbox?

     

    Can you confirm this behaviour?

     

    Michael.

     

View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2008 Xceed Software Inc.