Unplanned
Last Updated: 05 Nov 2024 13:35 by Martin Ivanov

The Clear Filters option in the FieldFilterControl cannot be selected when the DefaultOperator1 is set in the FilterOperatorsLoading event of RadGridView. The FieldFilterControl is the element shown under the column header when the FilteringMode property of RadGridView is set to FilterRow. Setting e.DefaulteOperator1 in the FilterOperatorsLoading properly selects the corresponding filter in the drop down, but after that you cannot select Clear Filters when clicking on this option.

To work this around, you can use the CellLoaded event instead of FilterOperatorsLoading. This will allow you to get the FieldFilterControlViewModel and set its SelectedOperatorViewModel property.

private void manualGridView_CellLoaded(object sender, CellEventArgs e)
{
    if (e.Cell is GridViewHeaderCell && e.Cell.Column.UniqueName == "MyColumn")
    {
        Dispatcher.BeginInvoke(new Action(() =>
        {
            var fieldFilter = e.Cell.FindChildByType<FieldFilterControl>();
            var viewModel = (FieldFilterControlViewModel)fieldFilter.DataContext;
            viewModel.SelectedOperatorViewModel = viewModel.AvailableOperatorViewModels.FirstOrDefault(x => x.FilterOperator == FilterOperator.IsLessThan);
        }));
    }
}

Unplanned
Last Updated: 24 Oct 2024 10:33 by Stenly
Not all cells that contain the searched word are displayed when searching columns that are bound to enum properties.
Unplanned
Last Updated: 16 Oct 2024 07:05 by Stenly
When the EnableStickyGroupHeaders property is set to True, calling the ScrollIntoViewAsync method does not take into account the sticky group row.
Completed
Last Updated: 13 Nov 2024 17:31 by ADMIN
Release Telerik UI for WPF 2024.4.1111 (2024 Q4)
In a scenario with multiple GroupDescriptors (3,4,5 or more) - data operations like sorting a group, sorting a column or filtering can be slower when the RadGridView is populated with a large amount of data. 
Unplanned
Last Updated: 11 Oct 2024 07:05 by Martin Ivanov

The height of the column footer is not updated properly to autofit the footer's content. Actually, this works when the footer content becomes bigger than the current (or the default) value, but if you change the content with a smaller one, the bigger height remains. In other words, the footer height autofits when the content becomes bigger but it doesn't decrease when the content becomes smaller after that.

To work this around, you can subscribe to the CellLoaded event and use reflection to update one of the internal properties of the panel that draws the footer cells.
private void gridView_CellLoaded(object sender, CellEventArgs e)
{
    if (e.Cell is GridViewFooterCell)
    {
        var row = e.Cell.ParentRow;
        Dispatcher.BeginInvoke(new Action(() =>
        {
            var aggregatesList = row.ChildrenOfType<AggregateResultsList>(); // the exact type of children that should be used to get the new height may vary based on your column Footer contents
            if (aggregatesList.Count() > 0)
            {
                var height = aggregatesList.Max(x => x.ActualHeight);

                var cellsPanel = e.Cell.ParentOfType<GridViewCellsPanel>();
                PropertyInfo minRowHeightProp = cellsPanel.GetType().GetProperty("MinRowHeight", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic);
                object minRowHeightPair = minRowHeightProp.GetValue(cellsPanel);
                PropertyInfo heightProp = minRowHeightPair.GetType().GetProperty("Second");
                heightProp.SetValue(minRowHeightPair, height);
            }
        }));
    }
}

 

Declined
Last Updated: 25 Oct 2024 10:42 by ADMIN
When filtering with distinct values grouping - only one value is shown as result which is incorrect. 
Unplanned
Last Updated: 12 Aug 2024 15:01 by Stenly
Currently, the DistinctValuesDisplayMode="Tree" property of the columns supports only values of the type of DateTime and DateTime?, which the filtering control will display in a tree-like manner.

The DateOnly and DateOnly? types are not supported, however, we can try to add such support.
Completed
Last Updated: 12 Nov 2024 08:17 by ADMIN
Release Telerik UI for WPF 2024.4.1111 (2024 Q4)
A column bound to a DataView with square brackets is no longer sortable or filterable.
Unplanned
Last Updated: 05 Jul 2024 13:47 by Martin Ivanov
The horizontal scrollbar of the GridViewScrollViewer automaticall scrolls slightly to the left when the layout is updated and the HorizontalOffset was at the end of the GridView before the update. A layout update in this context can be resize of the RadGridView control or a vertical scroll action in a child RadGridView element.
Completed
Last Updated: 07 Aug 2024 08:11 by ADMIN
Release 2024.3.806 (2024 Q3)
Grouped grid columns cannot be expanded or collapsed by clicking the row in the Windows 11 theme with XAML binaries.
Completed
Last Updated: 12 Nov 2024 08:17 by ADMIN
Release Telerik UI for WPF 2024.4.1111 (2024 Q4)
Alternating Rows feature is not working when a column is sorted and the Equals method is overridden in the business object.
Won't Fix
Last Updated: 03 Jul 2024 10:22 by ADMIN
InvalidOperationException with a grouped grid in Windows11 theme (Animation Invalid DefaultValue). 
Unplanned
Last Updated: 27 Jun 2024 13:04 by Martin Ivanov

Currently, when you cancel the Filtering event the field filter (displayed when FilteringMode="FilterRow") will clear any entered text and the funnel icon won't change its color (like when the filter is active). Add an option in the Filtering event, similar to the Sorting event which allows you to manually set the sorting state of the column which will affect the UI (showing and changing the sort indicator icon).

In the case with the Filtering event, there should be an option if the funnel icon should be highlighted. In other words the setting should allow you to manually say if the filter is active or not. Also, the input text in the field filter should be preserved and possible an option to change this value may be added in the event arguments. This will allow you to implement custom filtering and keep the UI state of the field filter.

Unplanned
Last Updated: 07 Jun 2024 12:51 by Martin Ivanov

The column group headers are not displayed when the DisplayIndex property of the GridViewColumn objects is set before the control is loaded.

To work this around, you can set the DisplayIndex of the columns after the RadGridView is loaded.

Completed
Last Updated: 01 Jul 2024 11:22 by ADMIN
Release 2024.2.701 (Preview)

Arrow keys (up and down) don't scroll the first row which is outside of the viewport. One way to reproduce this is to scroll down, then select the topmost visible row and press the Up arrow key in order to select the row above. This should scroll the view a bit up in order to see the previous row which is now selected.
Currently, this doesn't work when using a custom implementation of the GridViewCell class.
The issue is reproducible when GroupRenderMode is set to Flat.

To work this around, you can manually scroll to the row.

public MainWindow()
{
	InitializeComponent();
	this.gridView.AddHandler(RadGridView.KeyUpEvent, new KeyEventHandler(OnGridViewKeyUp), true);
}

private void OnGridViewKeyUp(object? sender, System.Windows.Input.KeyEventArgs e)
{
	if (e.Key == Key.Up || e.Key == Key.Down)
	{
		Dispatcher.BeginInvoke(new Action(() =>
		{
			var currentCell = gridView.CurrentCell;
			var row = currentCell.ParentRow;

			// Since the VisualOffset proeprty is protected and you are already inheriting the GridViewRow class, you can just expose it through an extra property in the CustomGridViewRow, instead of using reflection like in this example.
			var visualOffsetPropInfo = typeof(Visual).GetProperty("VisualOffset", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic); 			
			var offset = (Vector)visualOffsetPropInfo.GetValue(row);
			if (offset.Y < 0)
			{
				row.BringIntoView();
			}
		}));
	}
}

Completed
Last Updated: 01 Jul 2024 11:22 by ADMIN
Release 2024.2.701 (Preview)

InvalidCastException is thrown when the DropIndicatorThickness property of the GridViewHeaderCell is set. Or whenever the DropIndicatorBrush property is accessed. This happens when using the Windows 7 theme. Also, the EnableColumnVirtualization property should be set to False.

System.InvalidCastException: 'Unable to cast object of type 'System.Windows.Media.LinearGradientBrush' to type 'System.Windows.Media.SolidColorBrush'.'

To work this around, you can use an implicit style targeting the GridViewHeaderCell in order to set its DropIndicatorBrush to a SolidColorBrush value.

 <telerik:RadGridView.Resources>
     <Style TargetType="telerik:GridViewHeaderCell">
         <Setter Property="DropIndicatorBrush" Value="White" />
         <Setter Property="DropIndicatorThickness" Value="10" />
     </Style>
 </telerik:RadGridView.Resources>

Completed
Last Updated: 01 Jul 2024 11:22 by ADMIN
Release 2024.2.701 (Preview)
When the selection mode is Extended the grid keeps a reference to a data item that is removed from the source.
Completed
Last Updated: 07 Aug 2024 08:11 by ADMIN
Release 2024.3.806 (2024 Q3)
Exception when changing ItemsSource when it's a CollectionViewSource and grouping is applied.
Unplanned
Last Updated: 16 Apr 2024 12:36 by Martin Ivanov

Empty cells appear when the RadGridView contains many cells in the viewport and the view gets resized.

To work this around you can extract and modify the ControlTemplate of GridViewCell, in order to set the MinHeight property of the "PART_ContentPresenter" element to a number close to the RowHeight of the RadGridView control.

Unplanned
Last Updated: 15 Apr 2024 14:35 by Martin Ivanov
Created by: Martin Ivanov
Comments: 0
Category: GridView
Type: Bug Report
0
The CellUnloaded event of RadGridView is not invoked consistent compared to CellLoaded. For example, when you scroll up and down, the CellLoaded event is invoked for each new cell that appears in the view port. However, CellUnloaded is not invoked for cells going outside of the viewport.
1 2 3 4 5 6