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.
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: 01 May 2024 09:14 by Martin Ivanov

The horizontal scrollbar of RadTreeListView is displayed even the setup suggest that it should not be. For example, this happens if you have a single column with its Width set to * which means that the RadGridView should span in the available space without the need of displaying a horizontal scrollbar. To recreate this the RowIndicatorVisibility property should be set to Collapsed. Additional to that there should be a hierarchy and the items should be expanded.

To work this around, you can set a fixed Width for the column. If you want this to be dynamic you can calculate the width on SizeChanged of RadTreeListView

 

Duplicated
Last Updated: 02 Apr 2025 08:11 by ADMIN
The formatting is not applied to the second level when the grid is bound to two types of items.
1 2 3 4 5