Unplanned
Last Updated: 26 Sep 2023 19:08 by alex
ADMIN
Created by: Stefan Nenchev
Comments: 2
Category: GridView
Type: Feature Request
6

			
Completed
Last Updated: 11 Sep 2023 10:26 by ADMIN
Release LIB 2023.2.918 (18 Sep 2023)
DisplayIndex is not the correct one when reordering visible and invisible columns.
Completed
Last Updated: 29 Aug 2023 07:03 by ADMIN
Release LIB 2023.2.821 (21 Aug 2023)
An InvalidOperationException can be thrown when adding and removing items from the collection bound to the RadGridView from different threads. 
Unplanned
Last Updated: 28 Aug 2023 09:25 by Martin Ivanov
Created by: Martin Ivanov
Comments: 0
Category: GridView
Type: Feature Request
1
Add HeaderStringFormat property in the GridViewColumn class. This will allow the developer to use a string format, similar to the ContentStringFormat of ContentControl.
Unplanned
Last Updated: 24 Aug 2023 07:42 by Stenly
Applying alternation count does not alternate rows correctly when having both pinned/unpinned rows.
Unplanned
Last Updated: 09 Aug 2023 14:15 by Stenly
Created by: Stenly
Comments: 0
Category: GridView
Type: Feature Request
2
Add support for binding to properties of type GUID.
Completed
Last Updated: 07 Aug 2023 10:27 by ADMIN
Release LIB 2023.2.807 (7 Aug 2023)
Items in ViewModel are asynchronously removed and added from the collection bound to GridView ItemsSource.
While clicking in the GridViewRows, some items might appear selected although they are not foreign group and SelectionChanged is not fired for them being as added items.
Unplanned
Last Updated: 01 Aug 2023 06:52 by Tobias
Search As You Type Text-Highlighting is does not work with dynamic objects.
Unplanned
Last Updated: 25 Jul 2023 14:35 by Martin Ivanov

Currently, if RadGridView is bound to a INotifyCollectionChanged collection and the collection class raises the CollectionChanged event with NotifyCollectionChangedAction set to Add, Remove or Insert, RadGridView is not updating its items properly when the OldItems or NewItems collections contain more than 1 items.

Add support for this scenario.

Unplanned
Last Updated: 25 Jul 2023 11:06 by Martin Ivanov
Copied values are not pasted in the proper cells. This makes it seems that the pasted values occur in random cells. 
The issue occurs when the ClipboardPasteMode enum property contains the AllSelectedRows value and the SelectionUnit property is Cell or Mixed.

To work this around, avoid using the AllSelectedRows ClipboardPasteMode. Or the SelectionUnit values Mixed and Cell.
Unplanned
Last Updated: 24 Jul 2023 00:12 by Richard
*Original title: Cross thread exception with empty hierarchical headers*

I already have a work-around and I don't have time to craft an example.

 

When running two dispatchers in different threads, ie launching the following code twice:

public void LaunchInThread()
        {
            Thread _thread = new Thread(() =>
            {
              Application app = new Application();
              app.Run(new Window());
            });
            _thread.SetApartmentState(ApartmentState.STA);
            _thread.Start();
        }

And setting column hierarchical column headers to some but not all columns by code, ie:

if( ! first_column){
   column.ColumnGroupName = "groupName";
   if (radGridView.ColumnGroups.FirstOrDefault(x => x.Name == "groupName") != null) return;
   radGridView.ColumnGroups.Add(new GridViewColumnGroup { Header = "groupName", Name = "groupName" });
}
When the radGridView is displayed on the second thread, the code will crash with a cross-thread access validation exception, on GridViewColumnGroup.Name

My guess is that when no header is set, by default an static empty GridViewColumnGroup is reused. And as it's non-freezable it crashes.

Completed
Last Updated: 13 Jul 2023 06:59 by ADMIN
Release R2 2023 SP1
NullReferenceException when using HighlightTextBlock in a data template.
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: 30 Jun 2023 07:55 by Martin Ivanov
Currently, the position and size of the merged cell can be fetched via the numeric position and length properties of the MergedCellInfo class. This allows you to implement custom code that iterates the Columns collection of RadGridView and extract—Ā the parent GridViewColumn(s).

Add a property that allows you to get the columns hosting the merged cell. The property should be able to get a single column (when the cells are merged vertically) and multiple columns when (when merged horizontally).
Completed
Last Updated: 28 Jun 2023 13:29 by ADMIN
Release LIB 2023.1.703 (3 Jul 2023)
When using XAML binaries and applying the Windows 11 theme, the group expander feature in GridView is not working.
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.
Unplanned
Last Updated: 02 Jun 2023 12:07 by ADMIN
Created by: alex
Comments: 1
Category: GridView
Type: Feature Request
1

Hello,

Regarding this forum question, it will be good if you add the attached property VisibleColumnsCount or IsAnyColumnVisible so I can hide the rows when there are 0 columns. Please read the following link for full information:

https://www.telerik.com/forums/radgridview---hide-rows-when-columns-are-not-visible

 

I have a license ok behalf my company

Completed
Last Updated: 25 May 2023 13:36 by ADMIN
1 2 3 4 5 6