why Balance columns can't sortable In CheckbookManager sample?

Jun 18, 2009 at 1:27 AM

In CheckbookManager sample ,I found Balance columns can't sortable! Others can sort. Why

some code like:

 <dg:DataGridTemplateColumn Width="SizeToCells" Header="Balance" ClipboardContentBinding="{Binding TotalBalance}">
                    <dg:DataGridTemplateColumn.CellTemplate>
                        <DataTemplate>
                            <TextBlock Foreground="{Binding TotalBalance,Converter={StaticResource BalanceDisplayConverter}}" Text="{Binding TotalBalance, StringFormat=C}" />
                        </DataTemplate>
                    </dg:DataGridTemplateColumn.CellTemplate>
                </dg:DataGridTemplateColumn>

 

please help me!

Thanks!

Jun 20, 2009 at 1:18 AM

please help me!