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

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: 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: 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: 21 Nov 2022 08:18 by ADMIN
Release LIB 2022.3.1121 (21 Nov 2022)
When a column is bound to a nullable Enum and the null value is selected in the field filter RadComboBox, when the popup is reopened this value is cleared from the UI even though the filtering remains unchanged.
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: 18 Nov 2022 06:12 by ADMIN
Release LIB 2022.3.1121 (21 Nov 2022)

The aggregate values shown in the group headers are wrong when scrolling. This happens when the EnableColumnVirtualization property is set to False and ColumnAggregatesAlignment is NextToGroupKey or BelowGroupKey.

To work this around, set the EnableColumnVirtualization property to True or ColumnAggregatesAlignment to NoAlignment. 

Completed
Last Updated: 19 Jan 2023 14:50 by ADMIN

Filtering the data by distinct value using the filter query optimization doesn't work properly when adding more than 500 distinct values. To reproduce this, set the OptimizeDistinctFilterQuery property of the corresponding column to True. The distinct values should be filtered using the ColumnFilterDescriptor and the AddDistinctValue method of the DistinctFilter.

In that case, the filter can get reversed and remove the selected distinct values from the data view, instead of adding only them, as would be expected. Or the filter can stop working at all and display all values from the ItemsSource.

To work this around, instead of using the ColumnFilterDescriptor and the AddDistinctValue method, add a composite filter descriptor manually in the FilterDescriptors of RadGridView.

radGridView.FilterDescriptors.SuspendNotifications();
var distinctValuesFilter = new CompositeFilterDescriptor();
distinctValuesFilter.LogicalOperator = FilterCompositionLogicalOperator.Or;
for (int i = 0; i < 5000; i++)
{
	object disctincValue = i;
	var filter = new FilterDescriptor("Id", FilterOperator.IsEqualTo, disctincValue);
	distinctValuesFilter.FilterDescriptors.Add(filter);                
}
radGridView.FilterDescriptors.Add(distinctValuesFilter);
radGridView.FilterDescriptors.ResumeNotifications();

Won't Fix
Last Updated: 19 Jan 2023 14:25 by ADMIN
The mouse-over highlight color is not applied to the correct row when the rows are navigated via the keyboard arrows.
Unplanned
Last Updated: 03 Jan 2023 11:38 by ADMIN

Setting ShowDistinctFilters for a RadGridViewColumn hides the distinct values from the filter popup as expected.

But the grid still queries the ItemsSource for distinct values of said column when showing thje popup - it calls something like

MyQueryable.Select(item => item.SomeColumn).Distinct().OrderBy(item => item).Take(1000))
It looks like a (small) performance hit, especially when custom IQueryable implementation makes calls to external services to query the data.  Which is my case.
Unplanned
Last Updated: 16 Feb 2023 15:30 by Quentin

Special chars '+', '-'. '""  modify the default search criteria in the search as you type feature.

https://docs.telerik.com/devtools/wpf/controls/radgridview/features/search-as-you-type#modifying-the-searching-criteria

Add option to disable this behavior. It would be useful in scenarios with strings starting with + or -.
Also option should be available for setting in MultiColumnComboBox.

Completed
Last Updated: 20 Mar 2023 06:03 by ADMIN
Release LIB 2023.1.320 (20 Mar 2023)

Pixel bug in Lightweight Templates of RadGridView in VisualStudio2013 and Office2013 themes:

No horizontal grid lines when cell has background color:

Most likely bottom margin of PART_CellBorder not set in VisualStudio2013 Theme. In Office2016 PART_CellBorder.Margin="0 0 0 1"

Unplanned
Last Updated: 27 Mar 2023 09:35 by Martin Ivanov
Convert the Mask property of GridViewMaskedInputColumn to a DependencyProperty in order to be bindable.
Unplanned
Last Updated: 27 Apr 2023 08:40 by Maurizio
When placed in FixedDocument one of the GridView parents is not a UIElement and this throws internal caught exception in ParentOfType methods used in GridView logic. This leads to performance issues in scenarios with many GridViews in documents.

The aim of this bug fix is to avoid such exceptions by default or with some API.
Duplicated
Last Updated: 11 Jul 2023 14:04 by ADMIN

I have a GridView, with  ClipboardCopyMode set to "Cells, Header" and defined event CopyingCellClipboardContent :

private void RadGridView1_CopyingCellClipboardContent(object sender, GridViewCellClipboardEventArgs e)
{
// _excludedcolumns = columns excluded from copy operation set in logic before
if (_excludedcolumns.Contains(e.Cell.Column))
{
e.Cancel = true;
}
}

Header cells are empty, not skipped like ordinary cells.

Regards
Janez

 

Completed
Last Updated: 11 Jul 2023 11:06 by ADMIN
Release R2 2023 SP1

The result string contains wrong header positions and some headers could be missing when the copy of cells (including the header cells) of a column is cancelled using the CopyingCellClipboardContent event. This happens when the ClipboardCopyMode is set to "Cells,Header". 

To work this around, you can override the Copied event and replace the string part from the clipboard that contains the headers, with your custom variant.

private void RadGridView_Copied(object sender, Telerik.Windows.RadRoutedEventArgs e)
{
	string copiedData = Clipboard.GetText();
	int headerEndIndex = copiedData.IndexOf("\r\n");
	string headerString = copiedData.Substring(0, headerEndIndex) + "\r\n";
	copiedData = copiedData.Remove(0, headerEndIndex);

	var gridView = (RadGridView)sender;
	var filteredColumns = gridView.Columns.OfType<Telerik.Windows.Controls.GridViewColumn>()
		.OrderBy(x => x.DisplayIndex)
		.Where(x => x.IsVisible && !excludedColumns.Contains(x));
	// Where excludedColumns list contains the columns that shouldn't be copied. In this example, this collection is used in the CopyingCellClipboardContent event handler to remove the corresponding columns from the clipboard copy process.

	string newHeader = string.Empty;
	for (int i = 0; i < filteredColumns.Count(); i++)
	{
		var column = filteredColumns.ElementAt(i);
		newHeader += column.Header.ToString();
		if (i < filteredColumns.Count() - 1)
		{
			newHeader += "\t";
		}

	}
	copiedData = newHeader + copiedData;
	Clipboard.SetText(copiedData);
}

Unplanned
Last Updated: 28 Jun 2023 08:14 by alitvinov
Suppose GridView has 4 columns A, B, C (invisible), D.
Copy all cells below the visible columns A B and D.
Pasting the values results in incorrectly pasted empty rows and empty column header around the copied cells values.