Unplanned
Last Updated: 16 Apr 2025 09:36 by Stenly

In the case where some of the columns are hidden and all of the columns' display indexes are changed, applying grouping could result in some of the cells from the columns that have custom CellTemplate to not receive it.

To work this around, you could manually change the widths of the columns by iterating the Columns collection as shown below:

foreach (var column in this.GridView.Columns)
{
    GridViewLength length = column.Width;

    if (length.IsAbsolute)
    {
        column.Width = new GridViewLength(length.Value + 0.00001);
    }
}

Unplanned
Last Updated: 14 Apr 2025 14:48 by Stenly
When a RadGridView is filtered, grouped, and sorted, some of the rows cannot be selected when the SelectionMode is set to Extended and the SelectionUnit is set to Mixed.
Unplanned
Last Updated: 25 Feb 2025 09:05 by Darren
Using a VirtualQueryableCollectionView as an item source will not maintain selection after a sort.
Unplanned
Last Updated: 16 Dec 2024 15:10 by Stenly
In a touch scenario, the rows are not pinned as expected compared to when working with a mouse.
Unplanned
Last Updated: 22 Nov 2024 06:53 by Niklas
GridView: Context Menu Opens at Incorrect Position via Keyboard Shortcut.
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.
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);
            }
        }));
    }
}

 

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.
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.

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.
Unplanned
Last Updated: 09 Oct 2023 11:35 by Antonio
 The filtering stops working after the previous filters are cleared and Windows 8 theme is used.
Unplanned
Last Updated: 24 Aug 2023 07:42 by Stenly
Applying alternation count does not alternate rows correctly when having both pinned/unpinned rows.
Unplanned
Last Updated: 25 Jul 2023 11:06 by Martin Ivanov
Copied values are not pasted in the proper cells. This makes it seems that the pasted values occur in random cells. 
The issue occurs when the ClipboardPasteMode enum property contains the AllSelectedRows value and the SelectionUnit property is Cell or Mixed.

To work this around, avoid using the AllSelectedRows ClipboardPasteMode. Or the SelectionUnit values Mixed and Cell.
Unplanned
Last Updated: 28 Jun 2023 08:14 by alitvinov
Suppose GridView has 4 columns A, B, C (invisible), D.
Copy all cells below the visible columns A B and D.
Pasting the values results in incorrectly pasted empty rows and empty column header around the copied cells values.
Unplanned
Last Updated: 27 Apr 2023 08:40 by Maurizio
When placed in FixedDocument one of the GridView parents is not a UIElement and this throws internal caught exception in ParentOfType methods used in GridView logic. This leads to performance issues in scenarios with many GridViews in documents.

The aim of this bug fix is to avoid such exceptions by default or with some API.
Unplanned
Last Updated: 03 Jan 2023 11:38 by ADMIN

Setting ShowDistinctFilters for a RadGridViewColumn hides the distinct values from the filter popup as expected.

But the grid still queries the ItemsSource for distinct values of said column when showing thje popup - it calls something like

MyQueryable.Select(item => item.SomeColumn).Distinct().OrderBy(item => item).Take(1000))
It looks like a (small) performance hit, especially when custom IQueryable implementation makes calls to external services to query the data.  Which is my case.
Unplanned
Last Updated: 02 Jun 2022 14:52 by Stenly
An empty row appears when using grouping and the EnableStickyGroupHeaders="True", and the RowHeight property is set to a value bigger than the default row height (which is usually 25px, but it may vary based on the applied theme).
1 2 3 4 5 6