When using a QueryableCollectionView with a FilterDescriptor and a GroupDescriptor, items which are filtered won't be added to the (new) group after being edited programmatically.
For the time being, the Refresh method of the view can be called to reevaluate this or the filter descriptor can be removed and re-added.
If you set a RowHeight value that is smaller than the height of a pinned row, the last row is clipped when you scroll to bottom. Based on the RowHeight and the number of pinned rows, you can have the last row partially clipped or fully clipped. Also, you can have more than one rows that are cut.
To work this around set the Padding and MinHeight properties of the GridViewPinButton.
<telerik:RadGridView.Resources>
<!-- In case you are using NoXaml dlls, set the following property to the Style object: -->
<!-- BasedOn="{StaticResource GridViewPinButtonStyle}" -->
<Style TargetType="telerik:GridViewPinButton">
<Setter Property="MinHeight" Value="0" />
<Setter Property="Padding" Value="2" />
</Style>
</telerik:RadGridView.Resources>
If you reference both Telerik.Windows.Controls.GridView and Telerik.Windows.Controls.Data assemblies and you try to access the ControlPanelItemCollection class in XAML using the "telerik" schema, an error appears. This happens because classes with this name are available in both assembly and both classes are mapped to the "telerik" schema.
To work this around, use a concrete namespace instead of the "telerik" schema. For example:
xmlns:gridView="clr-namespace:Telerik.Windows.Controls.GridView;assembly=Telerik.Windows.Controls.GridView"
Hello,
I believe that I have found a bug with the delete keyboard functionality using the delete key. Below are the steps to reproduce:
Note that if the user selects a new row and then selects the previous row the delete works.
Demo to illustrate is in SDK sample browser.
Grid View Examples - Custom Keyboard Command Provider
Please let me know if you need any additional information.
Thank you.
private void RadGridView_ColumnReordering(object sender, Telerik.Windows.Controls.ColumnReorderingEventArgs e)
{
int notResizeableColumnIndex = 1;
if (e.NewDisplayIndex == notResizeableColumnIndex)
{
e.Cancel = true;
}
}
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.
Currently, the range of the ScaleFactor property is between 0.1 and 4.0. We could include API to allow the user to set minimum and maximum boundaries that are between the default range (0.1 and 4.0).
For example:
GridView allows you to define an AggregateFunction for each column and display the summary information for all cells in the column when there is grouping enabled. This will produce a group header with an aggregate result for each column that has aggreagate functions defined.
Adding and removing columns from the RadGridView's Columns collection doesn't update the aggregate results displayed in the group header.
To work this around, you can remove the GroupDescriptor from the GridView control and add a new instance of the descriptor, when you add/remove an item.
private void RadButton_Click_1(object sender, RoutedEventArgs e)
{
var column = new GridViewDataColumn() { DataMemberBinding = new System.Windows.Data.Binding("Number1") };
column.AggregateFunctions.Add(new SumFunction());
this.gridView.Columns.Add(column);
var descriptor = (GroupDescriptor)this.gridView.GroupDescriptors[0];
this.gridView.GroupDescriptors.Remove(descriptor);
this.gridView.GroupDescriptors.Add(new GroupDescriptor() { Member = descriptor.Member });
}
The current row indicator visual (the right pointing arrow) gets hidden if you enter edit mode of a cell (which shows the cell edit indicator) and then press Esc two times. The first time cancel the cell editing and the second time cancels the row editing.
This reproduces in the VisualStudio2013 theme.
To work this around, extract the ControlTemplate of GridViewRow for the VisualStudio2013 theme and add the following MultiTrigger at the bottom of the template (last in the ControlTemplate.Triggers collection).
<MultiTrigger>
<MultiTrigger.Conditions>
<Condition Property="IsValid" Value="True"/>
<Condition Property="IsCurrent" Value="True"/>
<Condition Property="IsInEditMode" Value="False"/>
</MultiTrigger.Conditions>
<Setter TargetName="NavigatorIndicator" Property="Visibility" Value="Visible"/>
</MultiTrigger>