In Development
Last Updated: 27 Sep 2022 12:52 by ADMIN

Hi Telerik,

I have created a sample project for an issue I have found:

Please see the code behind of the sample.

When removing a column from a grid where the display index was changed, and rows are selected, I do get an ArgumentOutOfRangeException. 

Any help is appreciated!

Thank you!

Thomas

Completed
Last Updated: 16 Sep 2022 05:21 by ADMIN
Release LIB 2022.3.919 (19 Sep 2022)
When adding distinct values with a delay after the DistinctValuesLoading event, the RadGridView is not filtered correctly when they are checked.
Completed
Last Updated: 18 Aug 2022 13:34 by ADMIN
Release LIB 2022.2.822 (22 August 2022)
Column widths are not calculated correctly when star-width columns are added dynamically which leads to the appearance of a horizontal scrollbar when it is not required.
Unplanned
Last Updated: 11 Aug 2022 15:36 by Stenly
We could add an option to group the dates in the FilteringControl similar to how Excel groups them.
Completed
Last Updated: 11 Aug 2022 11:48 by ADMIN
Release LIB 2022.2.815 (15 August 2022)
If you add a column with IsReorderable set to False and then drop another column over it, nothing should happen. However, sometimes the drop is executed and the not reorderable column is moved to another index.

To work this around, cancel the reordering in the ColumnReordering event if the drop target column cannot be reordered.

private void RadGridView_ColumnReordering(object sender, Telerik.Windows.Controls.ColumnReorderingEventArgs e)
{
	int notResizeableColumnIndex = 1;
	if (e.NewDisplayIndex == notResizeableColumnIndex)
	{
		e.Cancel = true;
	}
}
Unplanned
Last Updated: 03 Aug 2022 10:38 by Martin Ivanov

Currently, when you click F2 or double mouse click in order to start editing a cell (with a TextBox editor) its text gets selected. This happens because the SelectAll() method of the underlying TextBox is called. Add a property that allows to disable this behavior and to avoid selecting the text.

At this point you can get this effect by creating a custom column and overriding its PrepareCellForEdit() method as shown here: https://docs.telerik.com/devtools/wpf/knowledge-base/kb-gridview-prevent-f2-text-selection 

Unplanned
Last Updated: 02 Aug 2022 10:03 by Martin Ivanov
Currently, the Control Panel button is placed in the same row like the group panel. This means that if you hide the group panel, but keep the Control Panel button, then you will end up with a single button an a considerable empty area on top of the GridView. This is noticeable mostly when you also display also the search panel. 

Add a property that allows you to move the position of the Control Panel button from the group panel's Grid row to the search panel's row. This way you can make the GridView more compact by placing the button in the search panel's area.
Unplanned
Last Updated: 21 Jul 2022 07:41 by ADMIN
Created by: Christopher
Comments: 1
Category: GridView
Type: Feature Request
0
We are using telerik:RadGridView.RowDetailsTemplate in our GridView and we need the ability to expand or contract all rows at the press of a button.  As in the demo code under Hierarchy, we need to do this from our ViewModel.  Can the IsExpandedBinding be implemented for this use case in addition to when using hierarchical data?  
Completed
Last Updated: 08 Jul 2022 15:31 by ADMIN
Release LIB 2022.2.711 (11 July 2022)
NullReferenceException is thrown when you open the FilteringControl of a RadGridView column.
Completed
Last Updated: 07 Jul 2022 07:18 by ADMIN
Release LIB 2022.2.711 (11 July 2022)
Created by: Martin Ivanov
Comments: 0
Category: GridView
Type: Bug Report
0

The GridView allows you to drag-to-reorder its columns. When start dragging the clicked element is accessed and a screenshot is made from it. Then the drag visual shows an image of the dragged column header. In some cases the drag visual gets clipped.

To work this around, you can subscribe the GridViewHeaderCell elements to the DragDropManager's DragInitialize event and replace the default drag visual with a custom one.

private void RadGridView_CellLoaded(object sender, Telerik.Windows.Controls.GridView.CellEventArgs e)
{
	if (e.Cell is GridViewHeaderCell)
	{
		Dispatcher.BeginInvoke(new Action(() =>
		{
			DragDropManager.AddDragInitializeHandler(e.Cell, OnHeaderCellDragInitialize, true);
		}));
	}
}

private void RadGridView_CellUnloaded(object sender, Telerik.Windows.Controls.GridView.CellEventArgs e)
{
	if (e.Cell is GridViewHeaderCell)
	{
		Dispatcher.BeginInvoke(new Action(() =>
		{
			DragDropManager.RemoveDragInitializeHandler(e.Cell, OnHeaderCellDragInitialize);
		}));
	}
}

private void OnHeaderCellDragInitialize(object sender, DragInitializeEventArgs e)
{
	var dragSource = e.OriginalSource as GridViewHeaderCell;
	if (dragSource != null)
	{
		var dragVisual = new Border()
		{
			BorderBrush = Brushes.LightGray,
			BorderThickness = new Thickness(1),
			Background = new SolidColorBrush(Colors.Bisque) { Opacity = 0.4 },
			Width = dragSource.ActualWidth,
			Height = dragSource.ActualHeight,
			Child = new TextBlock() 
			{ 
				Text = (string)dragSource.Column.Header,
				Margin = new Thickness(5, 0, 5, 0), 
				VerticalAlignment = VerticalAlignment.Center }
		};
		e.DragVisual = dragVisual;
	}
}

Completed
Last Updated: 05 Jul 2022 14:55 by ADMIN
Release LIB 2022.2.711 (11 July 2022)

The property changed of the property bound to IsExpandableBinding (property of RadGridView) is not reflected in the row. To reproduce this the IsPropertyChangedAggregationEnabled property of RadGridView should be set to True (which is the default value) and the view model property (bound to IsExpandableBinding) should be updated consequently with other properties of the view model. For example:

myRowModel.Name = "New name";
myRowModel.IsExpandable = false;

To work this around, use the IsExpandable property of GridViewRow. You can data bind it using the RowStyle property of RadGridView. Or alternatively, set the IsPropertyChangedAggregationEnabled property of RadGridView to False.

Unplanned
Last Updated: 01 Jul 2022 09:04 by ADMIN
ADMIN
Created by: Dilyan Traykov
Comments: 4
Category: GridView
Type: Feature Request
3
Add a mechanism to fix the current viewport (scrollbar position) when new items are inserted. Currently, when you insert items before the viewport's start, the scrollbar position is offset.
Completed
Last Updated: 27 Jun 2022 06:15 by ADMIN
Release LIB 2022.2.627 (27 June 2022)

Some of the rows of the RadGridView control are missing, when placed inside a RadPane and one of the newer themes is set via StyleManager.

As a workaround, set the UseLayoutRounding property of the RadGridView control to False.

Unplanned
Last Updated: 22 Jun 2022 10:31 by Martin Ivanov
Currently, the elements in the row details are measured with infinity size. This means that if you want to limit the content within the available space of the row, you will need to set the Width of the content manually. Add a mechanism that allows you to alter this behavior and measure the child content with the available space.
Unplanned
Last Updated: 20 Jun 2022 12:53 by Stenly
The functionality of the Search As You Type feature could be extended so that values of the type string can be filtered by the IsEqualTo operator, rather than the Contains one.
Completed
Last Updated: 06 Jun 2022 12:28 by ADMIN
Release LIB 2022.2.606 (6 Jun 2022)

Currently, to modify the background color of this element, the default control template of the GridViewCell element needs to be extracted, and the VisualState with x:Name="Highlighted" would need to be customized.

We could include an API for modifying the background color of the HighlightTextBlock element, when it is highlighted.

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.
Completed
Last Updated: 30 May 2022 07:30 by ADMIN
Release LIB 2022.2.523 (23 May 2022)

Opening the filter control of the RadGridView control with Xaml binaries in certain themes will throw the following exception:

​System.Windows.Markup.XamlParseException: 'Provide value on 'System.Windows.Markup.StaticResourceHolder' threw an exception.'
Exception: Cannot find resource named 'NullToVisibilityConverter'. Resource names are case-sensitive.

Completed
Last Updated: 26 May 2022 06:15 by ADMIN
Release LIB 2022.2.530 (30 May 2022)

Hi

I have a grid where some rows contain child rows.  In order to control which rows have the "+" expander icon I use the IsExpandableBinding property.  I also have a toolbar which contains a convenience button to collapse all the expanded rows.

This button is bound to a handler which called RasGridView.CollapseAllHierarchyItems(), but this does not have any effect.  I've tried removing the IsExpandableBinding property, and the collapse mechanism then works (but I get unwanted expanders on every row).

 

1 2 3 4 5 6