Unplanned
Last Updated: 08 Dec 2023 15:42 by Martin Ivanov

By default the AutoExpandItemsAfterFilter property of RadTreeListView is set to True, which means that when you filter the data, the parents of all found child items will be expanded automatically. However, if you call the CollapseAllHierarchyItems method this functionality stops working.

To work this around, you can reset the ItemsSource property instead of using the CollapseAllHierarchyItems.

 

Completed
Last Updated: 07 Nov 2023 06:57 by ADMIN
Release R3 2023 SP1
When the last column's Width is set to "*", applying a filter will resize the columns.

A possible workaround would be the following one:
private void RadTreeListView_Filtering(object sender, Telerik.Windows.Controls.GridView.GridViewFilteringEventArgs e)
{
    var treeListView = sender as RadTreeListView;
    var internalColumns = treeListView.GetType().GetProperty("InternalColumns", System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance).GetValue(treeListView);
    internalColumns.GetType().GetProperty("ColumnWidthsCalculationPending", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic).SetValue(internalColumns, true);
}

private void RadTreeListView_Filtered(object sender, Telerik.Windows.Controls.GridView.GridViewFilteredEventArgs e)
{
    Dispatcher.BeginInvoke(new Action(() =>
    {
        var treeListView = sender as RadTreeListView;
        var internalColumns = treeListView.GetType().GetProperty("InternalColumns", System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance).GetValue(treeListView);
        internalColumns.GetType().GetProperty("ColumnWidthsCalculationPending", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic).SetValue(internalColumns, false);
    }), System.Windows.Threading.DispatcherPriority.Loaded);
}
Unplanned
Last Updated: 24 Apr 2023 09:01 by Martin Ivanov
The gray background that is shown when you hover an item is not hidden when the pointer leaves the item. That happens when you scroll on a touch device. 

To work this around, you can hide the pointer over background completely. To do this, you can edit the ControlTemplate of RadListView item and remove the Setter from the PointerOver Visual State.
Declined
Last Updated: 29 Nov 2022 14:21 by ADMIN
Performance is degraded when a large number of columns are added dynamically by binding the Columns collection via an attached behavior.
Completed
Last Updated: 13 Oct 2022 11:06 by ADMIN
Release LIB 2022.3.1017 (17 Oct 2022)

If you press Ctrl+Up/Down to change the selection and currency in TreeListView, the CurrentCellChanged event is fired. However, the e.NewCell property of the event arguments is null.

To get the new cell, use the CurrentCellInfo property of RadTreeListView.

private void RadTreeListView_CurrentCellChanged(object sender, GridViewCurrentCellChangedEventArgs e)
{
	var treeListView = (RadTreeListView)sender;
	GridViewCellInfo currentCell = treeListView.CurrentCellInfo;
}

Declined
Last Updated: 17 May 2022 09:35 by ADMIN

I am using a RadTreeListView with MaterialDesign theme in a Windows WPF application. By default the selected cell is indicated by a grey line at the bottom of the cell. I don't want an indication for the selected cell and used the advise from forum to change the style as follows:


  <Style TargetType="telerik:GridViewCell" BasedOn="{StaticResource GridViewCellStyle}">
    <Setter Property="CurrentBorderBrush" Value="Transparent"/>
  </Style>

This works fine.

But if changing the Windows application with Alt+Tab and then back to my application with Alt+Tab the cell selection (grey underline) is displayed.

Completed
Last Updated: 06 Apr 2022 10:25 by ADMIN
Release LIB 2022.1.406 (06 April 2022)
If the data items of RadTreeListView implement the IEditableObject interface, their EndEdit method is fired on begin cell edit in some cases. This usually happens when you click on a cell to start its editing and previously the focus was on another row (than the clicked one).
Completed
Last Updated: 21 May 2021 06:39 by ADMIN
Release LIB 2021.2.525 (25/05/2021)
When the TreeListView lines are set to a column after a hidden one, they are not positioned correctly.
Completed
Last Updated: 06 Oct 2020 05:46 by ADMIN
Release LIB 2020.3.1012 (10/12/2020)
When the IsExpandedBinding property is bound to a custom property, and we use it to collapse and expand specific items, the rows inside the control will disappear.
Completed
Last Updated: 27 Jul 2020 10:55 by ADMIN
Release LIB 2020.2.2707
In some scenarios the hierarchy expand button is not visible when the HierarchyColumnIndex and FrozenColumnCount are equal.
Completed
Last Updated: 12 Oct 2022 12:14 by ADMIN
Release LIB 2022.3.1017 (17 Oct 2022)

An exception is thrown when you try to update the items source of RadTreeListView in an async method.

The following error is observed.
InvalidOperationException: The calling thread cannot access this object because a different thread owns it

To work this around ensure that only the main UI thread updates the item source.

Completed
Last Updated: 26 May 2020 08:34 by ADMIN
Release LIB 2020.2.525 (5/26/2020)
The Visibility of the DropPossibleIconElement inside the ControlTemplate of the TreeListViewDragCue is not collapsed when the drop is not possible in newer themes. 
Completed
Last Updated: 13 Mar 2020 09:44 by ADMIN
Release LIB 2020.1.316 (03/16/2020)

The selected rows of TreeListView are not returned when calling SelectionPattern.GetSelection method.

The problem can be reproduced with RadGridView as well.

Completed
Last Updated: 10 Mar 2020 12:15 by ADMIN
Release LIB 2020.1.316 (03/16/2020)
When expanding or collapsing an item fast, mouse over effect or expand/collapse appears on a different row. The row needs to be the recycled one. This means that you need to have more items in the viewport and scroll to the bottom for example.
Completed
Last Updated: 18 Mar 2020 09:58 by ADMIN
Release LIB 2020.1.323 (03/23/2020)
The icon of the expand button seems truncated when the horizontal scrollbar is used.
Completed
Last Updated: 20 Jan 2020 12:40 by ADMIN
Release LIB 2020.1.120
Hi,

    I found a bug when use MergeCells in grid view and tree list view, I am the license account, my support is out of date,But I still want to feadback the bug to you , I make a vedio in attachment

When use in radtreelistview , I can not explict set the MergedCellsStyle, maybe MergedCellsStyleSelector also have the bug.I just try MergedCellsStyle.

Completed
Last Updated: 19 Oct 2020 10:22 by ADMIN
Release R3 2020 SP1
Selecting a large number of items through the UI or programatically with the Select method when in Extended SelectionMode leads to a degraded performance. As a workaround the Multiple SelectionMode can be used instead.
Completed
Last Updated: 14 Jan 2020 16:31 by ADMIN
Release R1 2020
Created by: Martin Ivanov
Comments: 0
Category: TreeListView
Type: Bug Report
1

The JAWS screen reader cannot read the RadTreeListView and also its rows and cells.

This reproduces after the 2019.3.917 release.

To work this around create a custom RadTreeListViewAutomationPeer:

public class CustomTreeListView : RadTreeListView
{
	protected override AutomationPeer OnCreateAutomationPeer()
	{
		return new CustomTreeListViewAutomationPeer(this);
	}
}

public class CustomTreeListViewAutomationPeer : RadTreeListViewAutomationPeer
{
	public CustomTreeListViewAutomationPeer(RadTreeListView owner) 
		: base(owner)
	{
		var methodInfo = typeof(RadTreeListViewAutomationPeer).GetMethod("GetItemPeers", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic);
		methodInfo.Invoke(this, null);
	}

	protected override List<AutomationPeer> GetChildrenCore()
	{
		var frameworkPeer = new FrameworkElementAutomationPeer((FrameworkElement)this.Owner);
		return frameworkPeer.GetChildren();
	}
}

Completed
Last Updated: 19 Feb 2020 15:35 by ADMIN
Release R1 2020 SP1
Completed
Last Updated: 04 Nov 2019 11:11 by ADMIN
Release LIB 2019.3.1104 (11/04/2019)
The behavior is reproducible when the TreeLines are visible and we have frozen columns. When the RadTreeListView is scrolled the TreeLines in the Frozen column is also scrolled.
1 2 3