Approved
Last Updated: 30 Apr 2019 15:17 by ADMIN

Add a property to the RadGridView that provides a distinct template for adding a new row.

Sometimes you have classes with no default constructor. Those classes may have properties that are read-only after construction. This cannot be handled in the RadGridView, because you only have the choice of a CellEditTemplate. (I'm envisioning something akin to the RowDetailsTemplate.)

Example: I have a class that defines a invoice match for payment application. Once the invoice is set it cannot be changed. The user can still edit the match, but they're only allowed to edit the amount to be applied.

Approved
Last Updated: 17 Apr 2019 08:04 by ADMIN

If you have the following model, the columns that show the Test and Date properties (in the derived class) cannot be sorted or filtered.

 

public class RowModel
{
    public int Id { get; set; }
    public Bar FredBar { get; set; }
}
 
public class Fred : Bar
{
    public DateTime Date { get; set; }
    public string Test { get; set; }
}
 
public abstract class Bar
{
    public string Title { get; set; }
    public double Value { get; set; }       
}

<telerik:RadGridView.Columns>
    <telerik:GridViewDataColumn DataMemberBinding="{Binding Id}" />               
    <telerik:GridViewDataColumn DataMemberBinding="{Binding FredBar.Title}" />
    <telerik:GridViewDataColumn DataMemberBinding="{Binding FredBar.Value}" />
    <telerik:GridViewDataColumn DataMemberBinding="{Binding FredBar.Date}" />
    <telerik:GridViewDataColumn DataMemberBinding="{Binding FredBar.Test}" />
</telerik:RadGridView.Columns>

To work this around, set the IsCustomSorting property of the corresponding columns and implement a custom sorting in the Sorting event of RadGridView.

Approved
Last Updated: 16 Apr 2019 12:56 by ADMIN
When the RadGridView is bound to a collection of DynamicObject and runtime we add a new property to the objects, this new property will not be respected. The columns will not be refresh.
Completed
Last Updated: 12 Apr 2019 11:53 by ADMIN
Release LIB 2019.1.415 (04/15/2019)
Approved
Last Updated: 11 Apr 2019 14:52 by ADMIN
Created by: Martin Ivanov
Comments: 0
Category: GridView
Type: Bug Report
1

This happens only if there are many columns outside of the viewport (a scrollviewer is shown), with their TabStopMode property set to Skip.

In this case, the navigation needs some time in order to get to the next row and select the first available cell.

A possible workaround for this would be to implement a custom Keyboard Command Provider, and to replace the MoveNext command with a custom one, that moves the current cell, by setting the CurrentCellInfo property of RadGridView.

Approved
Last Updated: 08 Apr 2019 12:32 by ADMIN
After a cell is edited, a tooltip set through a style trigger is not shown.
Completed
Last Updated: 05 Apr 2019 10:55 by ADMIN
Release LIB 2019.1.408 (04/08/2019)
If your data contains uint, long or any numeric type different than Int32 or Decimal, the searching doesn't work.
Won't Fix
Last Updated: 04 Apr 2019 13:57 by ADMIN

The content of the cell is set from .LoadContent() method and is returned from the CreateCellElement method of the column. 

One possible scenario for a fix is to change that behavior and apply directly the template as WPF DataGrid does. However, this is a huge breaking change with CreateCellElement method is widely used. The second approach is to leave the code as it is right now, return the element from method of DataTemplate and set the ContentTemplate property of the cell to that DataTemplate. This will cause the content to be loaded twice. Which will degrade the  

So, as it turns out the solution is either to introduce breaking change or degrade the performance. Both of them are against our believes and efforts to improve the controls. 

Our suggestion is to use a workaround -  setting triggers directly to the style. We do hope you understand our concerns. 
Approved
Last Updated: 02 Apr 2019 13:23 by ADMIN
Created by: Carl Herlitz
Comments: 0
Category: GridView
Type: Feature Request
2
 
Completed
Last Updated: 01 Apr 2019 10:48 by ADMIN
Release LIB 2019.1.401 (04/01/2019)
Approved
Last Updated: 25 Mar 2019 09:15 by ADMIN
When format cell is copying from Excell, only the formatted value is passed into the RadGridView.
Completed
Last Updated: 14 Mar 2019 12:05 by ADMIN
When all columns are readonly, the NewRowPosition is Bottom, a new row is added through the UI and the Tab key is pressed, an InvalidOperationException is thrown.

As a workaround, you can call the CommitEdit method inside a Dispatcher with a low priority in the AddingNewDataItem event:
private void Grid_AddingNewDataItem(object sender, Telerik.Windows.Controls.GridView.GridViewAddingNewEventArgs e)
        {
            Dispatcher.BeginInvoke(new Action(() =>
            {
                this.Grid.CommitEdit();
 
            }), DispatcherPriority.ApplicationIdle);
        }
Approved
Last Updated: 11 Mar 2019 14:39 by ADMIN
ADMIN
Created by: Ivan Ivanov
Comments: 0
Category: GridView
Type: Bug Report
2
Unhandled exception System.InvalidOperationException: The calling thread cannot access this object because a different thread owns it.
   at System.Windows.Threading.Dispatcher.VerifyAccess()
   at System.Windows.DependencyObject.GetValue(DependencyProperty dp)
   at Telerik.Windows.Data.SortDescriptorBase.get_SortDirection()
   at Telerik.Windows.Data.Expressions.SortDescriptorCollectionExpressionBuilder.Sort()
   at Telerik.Windows.Data.QueryableExtensions.Sort(IQueryable source, IEnumerable`1 sortDescriptors)
   at Telerik.Windows.Data.QueryableExtensions.Sort(IQueryable source, SortDescriptorCollection sortDescriptors)
. . .
Approved
Last Updated: 06 Mar 2019 13:54 by ADMIN
When there are 1000 (reproduce with 500) distinct values in the Popup filter and we try to select all of them it took 15 seconds and more when using ICustomPropertyProvider.
Approved
Last Updated: 05 Mar 2019 17:39 by ADMIN
ADMIN
Created by: Dimitrina
Comments: 0
Category: GridView
Type: Feature Request
2
As a user I would like to have Unfocused state for selected GridViewCells when SelectionMode="Cell". 
Similar to the Unfocused state for selected GridViewRows (you can check this article as a reference: http://​www.telerik.com/help/wpf/gridview-selection-unfocused-state.html).
Completed
Last Updated: 25 Feb 2019 09:38 by ADMIN
Setting GridViewCell content template by Style is not working with R1 2019. 
Won't Fix
Last Updated: 22 Feb 2019 15:56 by ADMIN


The fix for this issue will be available with the next LIB (version 2018.3.1224) expected on Monday, December 24.
Approved
Last Updated: 18 Feb 2019 17:12 by ADMIN
Completed
Last Updated: 18 Feb 2019 11:12 by ADMIN
This behavior is reproducible when the SelectionUnit property of the RadGridView is set to "FullRow".
SelectedCells collection is not of the selected row updated when new columns are added runtime. For example, you have selected the first row which has 3 cells. Then you add 2 new columns. Now the row has 5 cells but the selected cells collection still have 3.

A possible workaround which can be used is to reset the SelectedItem property of the RadGridView.

var selectedItem = testGrid.SelectedItem;
testGrid.SelectedItem = null;
this.testGrid.Columns.Add(new GridViewDataColumn() { Header = "Value3", DataMemberBinding = new Binding("Value3"), Width = 100 });
this.testGrid.Columns.Add(CreateColumn("Value4", "Value4"));
testGrid.SelectedItem = selectedItem;