Unplanned
Last Updated: 01 Nov 2022 08:12 by Martin Ivanov
Created by: Martin Ivanov
Comments: 0
Category: GridView
Type: Feature Request
0

Currently, you can set the data format string of the cells in a GridView column by using the DataFormatString property of the column.

Add a mechanism to select the DataFormatString per cell. For example, this can be done using the CellStyleSelector and a new property in the GridViewCell. Or by introducing DataFormatStringSelector property.

Completed
Last Updated: 28 Oct 2022 12:17 by ADMIN
Release LIB 2022.3.1031(31 Oct 2022)
The following exception is thrown when selecting the IsNull operator and the column is bound to a nullable Enum:

"ArgumentException: Must specify valid information for parsing in the string."

The exception is handled internally but results in the filtering not being applied.

Completed
Last Updated: 13 Oct 2022 08:26 by ADMIN
Release LIB 2022.3.1017 (17 Oct 2022)
An empty are before the row appears when you collapse its row details. This happens if the GroupRenderMode is set to Flat and the control is hosted in a RadExpander control. To recreate this, the RadGridView also should have its scrollbars displayed and a RowHeight set to a value bigger then 30 (ex: 35). Note that the row height may increase also if the height of the content in the row is bigger. 
Additionally, to reproduce this, the content of the row details should exceed the viewport.

To work this around, you can set the GroupRenderMode to the legacy Nested layout. Alternatively, you can use the native Expander control instead of RadExpander. Or you can ensure that the contents in the row is less then 35.
Unplanned
Last Updated: 12 Oct 2022 08:38 by Alexander
Currently, when access to the SearchViewModel is needed, it can be achieved through the Loaded event of the RadGridView and Telerik's ChildrenOfType extension to first find the respective GridViewSearchPanel and then its DataContext which is of type SearchViewModel.
Completed
Last Updated: 11 Oct 2022 11:00 by ADMIN
Release LIB 2020.1.203 (02/03/2020)

SearchStateManager property is null when trying to change any of the properties of the SearchStateManager object in the Loaded event. This behavior is observed when the ShowSearchPanel property is not set to true initially.

Won't Fix
Last Updated: 06 Oct 2022 09:48 by ADMIN
Can be observed in FirstLook demo of the RadGridView.
While resizing the demos window, radgridview's horizontal scrollbar might flicker when demos viewport size is close to the gridview size.
Completed
Last Updated: 30 Sep 2022 05:42 by ADMIN
Release LIB 2022.3.1003(3 Oct 2022)

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

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