The DataGrid will crash when there is a bunch of CollectionChanged events with Grouping enabled. This happens in 6.6.0, 6.7.x and 6.8.x versions of the Telerik DataGrid.
When cell is in edit mode, pressings enter key calls infinitely CommitEdit Execute method in custom scenario.
1. When new item is added to the DataGrid source, the cell goes in edit mode
2. Pressing enter key executes additional logic and CommitEdit Execute method calls infinitely.
Workaround:
Inside the CommitEdit CanExecure method, call the default can execute logic
public override bool CanExecute(object parameter)
{
return this.Owner.CommandService.CanExecuteDefaultCommand(DataGridCommandId.CommitEdit, parameter);
//return true;
}
Behavior on MacCatalyst:
1. Enter in Edit mode in any cell
2. Press Enter
3.Value is committed, but not moved to the next row
Additional note: The KeyDownCommand execute method does not fire on MacCatalyst when cell is in edit mode and Enter is pressed.
This is how it works on Windows
1. Enter in Edit mode in any cell
2. Press Enter
3. Values is committed and the current cell is moved to the next row cell in edit
Run SDKBrowserMaui example on WinUI
Navigate to DataGrid->LoadOnDemandCategory->LoadOnDemandExmaple
Start scrolling the grid using the scrollbar
Crash occurs on WinUI.
Add text wrap formatting as the normal windows DataGrid control.
The DataGrid Search As You Type feature provides search text highlighting through the CellContentStyle property of the columns.
CellContentStyle is taken into account only for the default columns, so when you specify a custom CellContentTemplate or use a TemplateColumn currently the search text highlighting is not applied.
Hi Team,
I would like to see this feature implemented for the UI for Maui DataGrid => WPF DataGrid - Save/Load Settings - Telerik UI for WPF
I want my users to be able to save their current grouping/filtering/etc. settings just like the PersistenceFramework can do it for the WPF GridView.
Thank you,
Clint
<ContentPage.Resources>
<ResourceDictionary>
<Style TargetType="telerik:RadBusyIndicator" x:Name="busy">
<Setter Property="BackgroundColor" Value="Red"/>
</Style>
</ResourceDictionary>
</ContentPage.Resources>
<telerik:RadDataGrid IsBusy="True"/>
<telerik:RadDataGrid x:Name="dataGrid" AutomationId="dataGrid" AutoGenerateColumns="False">
<telerik:RadDataGrid.Columns>
<telerik:DataGridTextColumn PropertyName="Country" HeaderText="HighlightedLabel">
<telerik:DataGridTextColumn.CellContentTemplate>
<DataTemplate>
<telerik:RadHighlightLabel UnformattedText="{Binding Country}"
HighlightText="{Binding Source={x:Reference searchEntry}, Path=Text}"
HighlightTextColor="Red"/>
</DataTemplate>
</telerik:DataGridTextColumn.CellContentTemplate>
</telerik:DataGridTextColumn>
</telerik:RadDataGrid.Columns>
</telerik:RadDataGrid>
Actual: The highlighted text doesn't get updated and stays the same.
Hi Team,
I would like to be able to obtain a reference to a data item in the DataGrid when another UI element (outside of the DataGrid) is dragged and dropped onto it.
This feature request is to add the plumbing necessary to achieve that.
Thank you,
Tony