Welcome to the Xceed Community | Help
Community Search  
More Search Options

ver. 4.3.xxx do not correctly positions StatCell to correct column ?

Sort Posts: Previous Next
  •  03-12-2012, 5:00 AM Post no. 31829

    ver. 4.3.xxx do not correctly positions StatCell to correct column ?

    After update of Datagrid from ver. 4.2.11480.14340  to version 4.3.xx (I have try 4.3.11623.12010 and 4.3.12124.14150 ), there appears strange behaviour - the StatCell appears in footer of wrong column. When there is only one StatCell defined than it is OK, but if there are more than one, than some of them is shown in first (from left) column footer where matches datatype of column and it ignores FieldName defined in StatCell.

    <!--Columns-->

    <xcdg:DataGridControl.Columns>

    <xcdg:Column FieldName="Bezeichnung" Title="Bezeichnung"

    IsMainColumn="True"/>

    <xcdg:Column FieldName="Bemerkung" Title="Bemerkung"

    />

    <xcdg:Column FieldName="Einzelpreis" Title="Einzelpreis"

    CellContentTemplate="{StaticResource DecimalTo2DecPlacesText}" />

    <xcdg:Column FieldName="Anzahl" Title="Anzahl" />

    <xcdg:Column FieldName="Mengeneinheit" Title="Mengeneinheit" />

    <xcdg:Column FieldName="Vorsteuer" Title="Vorsteuer"

    CellContentTemplate="{StaticResource DecimalTo2DecPlacesText}" />

    <xcdg:Column FieldName="NettoBetrag" Title="NettoBetrag"

    CellContentTemplate="{StaticResource DecimalTo2DecPlacesText}"

    />

    <xcdg:Column FieldName="BruttoBetrag" Title="BruttoBetrag"

    CellContentTemplate="{StaticResource DecimalTo2DecPlacesText}"

    />

    </xcdg:DataGridControl.Columns>

     

    <

    xcdg:DataGridControl.View>

    <xcdg:TableflowView UseDefaultHeadersFooters="False" >

    <xcdg:TableView.FixedHeaders >

    <DataTemplate>

    <xcdg:ColumnManagerRow />

    </DataTemplate>

    <DataTemplate>

    <xcdg:FilterRow />

    </DataTemplate>

    </xcdg:TableView.FixedHeaders>

    <xcdg:TableView.Footers>

    <DataTemplate>

    <xcdg:StatRow >

    <xcdg:StatCell FieldName="NettoBetrag" ResultPropertyName="SumOfNettoBetrag"

    Style="{StaticResource tableViewTotalStatCellStyle}"

    ContentTemplate="{StaticResource DecimalTo2DecPlacesText}"

    />

    <xcdg:StatCell FieldName="BruttoBetrag" ResultPropertyName="SumOfBruttoBetrag"

    Style="{StaticResource tableViewTotalStatCellStyle}"

    ContentTemplate="{StaticResource DecimalTo2DecPlacesText}"

    />

    </xcdg:StatRow>

    </DataTemplate>

    </xcdg:TableView.Footers>

    <!--<xcdg:TableView.Theme>

    <xcdg:AeroNormalColorTheme />

    </xcdg:TableView.Theme>-->

    </xcdg:TableflowView>

    </xcdg:DataGridControl.View>

     

    Does somebody else discovers similar problem? Solution?

  •  03-12-2012, 1:08 PM Post no. 31830 in reply to 31829

    Re: ver. 4.3.xxx do not correctly positions StatCell to correct column ?

    Hi Daniel, 

    This behavior is not expected. Could you send us a basic sample that demonstrates this in order to investigate this in more detail?

    You can send it to support@xceed.com.

    Please include a reference to this forum post in your email.  


    Best Regards,

    Michel Dahdah
    Technical Support
    Xceed Software inc.
  •  03-13-2012, 3:48 AM Post no. 31834 in reply to 31830

    Re: ver. 4.3.xxx do not correctly positions StatCell to correct column ?

    Hi Michel,

    I send test aplication with source to your support e-mail (subject "FW: Xceed DataGrid for WPF ver. 4.3.12124 do not correctly positions StatCell in StatRow"). I hope this will help to find reason for that behaviour.

    best regards
    Daniel

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