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

Declined
Last Updated: 17 Jan 2020 15:22 by ADMIN

Hi Telerik-Team,

 

When creating a new item in the GridView by either mouse or insert button the row is not selected or highlighted.

I guess this is a bug, since a cell in the new row has focus but not the row.

 

Best regards,

Mats

Approved
Last Updated: 16 Jan 2020 10:45 by ADMIN
There is a bug overriding the method ProvideCommandsForKey(Key key) in DefaultKeyboardCommandProvider.
When pressing F10, the received key is Key.System.

Approved
Last Updated: 08 Jan 2020 09:32 by ADMIN
Created by: Dinko
Comments: 0
Category: GridView
Type: Feature Request
1
There is not a dedicated UI that allows hiding showing columns. You can achieve this using Control Panel functionality.
Approved
Last Updated: 23 Dec 2019 07:22 by ADMIN
Created by: Dinko
Comments: 0
Category: GridView
Type: Feature Request
2
A property like FilterMemberPath could be created. This way, we can control which property will be used by the Search As Type functionality.
Approved
Last Updated: 18 Dec 2019 15:51 by ADMIN

The search box TextBox element used with the search-as-you-type feature is not focused when you press the Tab key. This happens because the search box is excluded from the tab order (IsTabStop=False).

Use the ChildrenOfType extension method to get the TextBox element and set its IsTabStop to True.

private void gridView_Loaded(object sender, RoutedEventArgs e)
{
	var searchBox = this.gridView.ChildrenOfType<TextBox>().FirstOrDefault(x => x.Name == "PART_SearchAsYouTypeTextBox");
	searchBox.IsTabStop = true;
}

Approved
Last Updated: 18 Dec 2019 15:35 by ADMIN

The ItemsControl that holds the control panel of RadGridView should not be included in the tab order. Its IsTabStop property should be False. Only the items inside of it should be included in the tab order.

To work this around, use the ChildrenOfType extension method to get the ItemsControl and set its IsTabStop property. Optionally, you can exclude also the ControlPanelItemControl elements from the tab order.

private void gridView_Loaded(object sender, RoutedEventArgs e)
{
	var controlPanel = this.gridView.ChildrenOfType<ItemsControl>().FirstOrDefault(x => x.Name == "PART_ControlPanelItemsControl");
	controlPanel.IsTabStop = false;
}

Completed
Last Updated: 18 Dec 2019 06:10 by ADMIN
Release Lib 2019.3.1223
Clicking on the hyperlink does not open the link in .Net Core.
Approved
Last Updated: 17 Dec 2019 10:06 by ADMIN
When a frozen column is resized to fill the entire RadGridView, there isn't an option to reduce its size in order to bring the other columns into view.
Completed
Last Updated: 04 Dec 2019 11:40 by ADMIN
Release LIB 2019.3.1209 (12/09/2019)

When the ItemsSource is not set: ArgumentOutOfRangeException is thrown

When the ItemsSource is set to an empty collection: DivideByZeroException is thrown

Completed
Last Updated: 03 Dec 2019 11:49 by ADMIN
Created by: Dinko
Comments: 0
Category: GridView
Type: Bug Report
1
Fix Section 508 Compliance accessibility errors. 
Approved
Last Updated: 25 Nov 2019 14:00 by ADMIN
Scrollviewer is not updated when row details are collapsed.
Completed
Last Updated: 25 Nov 2019 11:48 by ADMIN
ADMIN
Created by: Dinko
Comments: 1
Category: GridView
Type: Feature Request
1

FluentPalette's ScrollBarMode provides the ability to customize ScrollBar appearance in the Fluent theme. Its default value is Auto and can be set to Normal or Compact depending on the desired constant ScrollBar size.

The property is available with LIB version 2019.1.0121 released on Monday, January 21.
Completed
Last Updated: 18 Nov 2019 09:34 by ADMIN
Release LIB 2019.3.1118
ADMIN
Created by: Dilyan Traykov
Comments: 0
Category: GridView
Type: Feature Request
6

			
Completed
Last Updated: 08 Nov 2019 15:13 by ADMIN
Release LIB 2019.3.1111

The designer throws an error when the default style of a control which has a RadSplitButton/RadDropDownButton in its control template is extracted in a ResourceDictionary and then merged in App.xaml. There must be a custom style which is based on the extracted one to reproduce the error. This behavior is only present in 2019 R3.

The error is "This feature requires service 'Microsoft.Windows.Design.Services.ValueTranslationService' to be present, but it could not be located."

Approved
Last Updated: 04 Nov 2019 12:59 by ADMIN

Hi,

I have been working wit the RadGridView for about 6 years now and it works great!

The only thing that still bugs me after all these years is the GridViewComboBoxColumn. The sorting and "Search as you type" features are not working for us. The fact that it uses the DataMemberBinding is something we do not get.

The fact that it is not ordered or searched into the shown value instead of the DataMemberPath is beyond me.

I mean, why would I, as a user, want to search into or sort a value that is not visible to me?

 

Adding a feature like a string property on the GridViewComboBoxColumn that is used for displaying, searching, filtering and sorting would be awesome!

The filter's distinct values work well, but the field filters show the enum value and that's not good.

 

I have attached a sample project to demonstrate the problems with sorting, filtering and searching.

There are also print screens attached to clarify each feature mentioned

Thanks!

 

Completed
Last Updated: 04 Nov 2019 12:44 by ADMIN
Release LIB 2019.3.1104
If the DataMemberBinding of a GridViewMultiColumnComboBoxColumn points to a nested property, the value of that property is displayed in view mode and the DisplayMemberPath is not respected.
1 2 3 4 5 6