If you have the following model, the columns that show the Test and Date properties (in the derived class) cannot be sorted or filtered.
public
class
RowModel
{
public
int
Id {
get
;
set
; }
public
Bar FredBar {
get
;
set
; }
}
public
class
Fred : Bar
{
public
DateTime Date {
get
;
set
; }
public
string
Test {
get
;
set
; }
}
public
abstract
class
Bar
{
public
string
Title {
get
;
set
; }
public
double
Value {
get
;
set
; }
}
<
telerik:RadGridView.Columns
>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding Id}"
/>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding FredBar.Title}"
/>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding FredBar.Value}"
/>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding FredBar.Date}"
/>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding FredBar.Test}"
/>
</
telerik:RadGridView.Columns
>
Bind a grid to a DataView
Start editing and change the values of a few cells.
Press Escape twice to cancel the edit of the entire row.
Expected: the values return to the old values
Actual: the values remain the last entered ones
When we make frozen column width bigger than the window will hide other columns. Scrolling is applied only to not frozen columns. So we can't scroll to see other columns. A possible workaround is to set MaxWidth property of the column.
When the ItemsSource of the RadGridView is reset, disctinct values remain checked in the Filtering Popup.
For a workaround, check the attached project.
Users reported that the Text Search feature is misbehaving for certain columns in their grid.
We found that that if we take the Telerik example “DeferredSearching_WPF.sln", and change the "int" field+property to "long" , text search for a number indeed falls over.
Can you reproduce this?
Kind regards, Bertus Distributie ICT
The following exception is observed in certain cases:
at Telerik.Windows.Controls.GridView.GridViewVirtualizingPanel.FlatLayoutStrategy.RealizeMergedCells(Double frozenOffset, IEnumerable`1 mergedCells)
at Telerik.Windows.Controls.GridView.GridViewVirtualizingPanel.FlatLayoutStrategy.CalculateMergedCells(Boolean shouldInvalidateMeasure)
at Telerik.Windows.Controls.GridView.GridViewVirtualizingPanel.CalculateMergedCells(Boolean shouldInvalidateMeasure)
at Telerik.Windows.Controls.GridView.GridViewCellsPanel.ArrangeOverride(Size finalSize)