Unplanned
Last Updated: 17 Apr 2024 06:09 by Jason
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.
Unplanned
Last Updated: 08 Apr 2024 09:17 by Luis Henrique

The UI is not updated when an item is replaced in the bound ListCollectionView. 

Workaround: Remove the item and add a new one.

Unplanned
Last Updated: 27 Mar 2024 11:38 by Ribo
The validation tooltip border remains visible when scrolling with the scroll thumb.
Unplanned
Last Updated: 25 Mar 2024 16:03 by Stenly

Column groups may disappear when the RadGridView control is hosted in a TabItem of TabControl. These column groups can disappear when new GridViewColumnGroup instances are created.

Furthermore, resizing a column of RadGridView will result in a NullReferenceException.

To work this around, set the EnableColumnGroupsVirtualization property of RadGridView to False.

Unplanned
Last Updated: 13 Mar 2024 11:39 by Martin Ivanov

The cell content gets clipped when the width of the previous column changes at runtime. This happens in the Windows11 and Office2019 themes (possibly in others) and only if the clipped cell is position before the right frozen columns area.

To work this around, you can call the Rebind() method of RadGridView, after the column width changes.

Unplanned
Last Updated: 01 Mar 2024 11:08 by Sheng
Created by: Sheng
Comments: 0
Category: GridView
Type: Bug Report
0
The CellStyle cannot be changed at runtime.  
Unplanned
Last Updated: 29 Nov 2023 14:34 by Martin Ivanov

The vertical scrolling seems to become very slow and even unresponsive, when the following conditions are met:

  • left and right frozen columns count is 0
  • the summary width of all columns is smaller than the width of the RadGridView element

To minimize the issue, you can set the GroupRenderMode property of RadGridView to Nested.

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 height of the row is changed dynamically.
Unplanned
Last Updated: 03 Jul 2020 07:25 by ADMIN
GridViewSpreadStreamExport throws exception exporting the control whit nested column groups and EnableColumnGroupsVirtualization set to False.
Unplanned
Last Updated: 17 Jan 2020 15:27 by ADMIN

We noticed that RadGridView does not get garbagecollected sometimes.
So i fired up  a memory analyzer to see what is going on.

This is the graph that shows that the RadGridView is causing a leak. The only references that keep the GridView from getting collected are those two WeakEventListeners

To further investigate i decompiled GridViewDataControl and could identify the culprit.

private void SubscribeToDispatcherShutdown()
    {
      if (this.dispatcherShutdownListener != null)
        this.dispatcherShutdownListener.Detach();
      this.dispatcherShutdownListener = new WeakEventListener<GridViewDataControl, object, EventArgs>(this);
      this.dispatcherShutdownListener.OnEventAction = (Action<GridViewDataControl, object, EventArgs>) ((grid, source, eventArgs) => grid.OnDispatcherShutdownFinished(source, eventArgs));
      this.dispatcherShutdownListener.OnDetachAction = (Action<WeakEventListener<GridViewDataControl, object, EventArgs>>) (weakEventListener => this.Dispatcher.ShutdownFinished -= new EventHandler(this.dispatcherShutdownListener.OnEvent));
      this.Dispatcher.ShutdownFinished += new EventHandler(this.dispatcherShutdownListener.OnEvent);
    }

In the second line from the botton

... weakEventListener => this.Dispatcher.ShutdownFinished -
... you are using 'this.Dispatcher...' which causes the leak since the Action will implicitly capture the 'this' reference.
Which kind of defeats the prupose of having a WeakReference inside your WeakEventListener.

Sadly i cannot figure out how it happens, but i think its only when Detach (FrameworkElement.Unloaded ultimately) is not called.
While this is the actual issue, i thought I'd share this with you so you.

Unplanned
Last Updated: 25 Nov 2019 14:00 by ADMIN
Scrollviewer is not updated when row details are collapsed.
Unplanned
Last Updated: 16 Sep 2019 12:21 by ADMIN

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

1 2 3 4 5 6