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.
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.
As of Telerik v7.0.0 this started to happen. In v6.8.0 the issue doesn't occur. The customer uploaded a sample project in the support ticket.
Issue description:
When the grid contains, after filtering out ,no rows the "Empty template" is not used/displayed.
Tested on Windows, with "Telerik_UI_for_dot_NET_Maui_7_1_0_Dev\Examples\ControlsSamples", Example "Empty Template".
Steps to reproduce:
Expected behavior:
Display/Use "Empty template" when there are no visible records.
...or to make it more consistent with the current implementation - add new option "ItemsSourceNullOrEmptyOrFilteredOut" to the enum "EmptyContentDisplayMode":
namespace Telerik.Maui.Controls;
//
// Summary:
// Defines the modes for displaying empty content.
public enum EmptyContentDisplayMode
{
//
// Summary:
// Displays the empty content view only when the ItemsSource is null.
ItemsSourceNull,
//
// Summary:
// Displays the empty content view when ItemsSource is null or when the source is
// empty (has zero items).
ItemsSourceNullOrEmpty,
+ //
+ // Summary:
+ // Displays the empty content view when ItemsSource is null or when the source is
+ // empty (has zero items) or when all items are filtered out. (either by filter or by search)
+ ItemsSourceNullOrEmptyOrFilteredOut
}
Best regards,
Peter
For example we have set RowHeight to 26 with GridLineThickness = 1, GridLinesVisibility = Horizontal, and RowBackgroundStyle and AlternateRowBackgroundStyle with BorderThickness = 0.
The first row is 26px, the middle rows are 25px and the last row is 24px. So it seems the grid lines are included in the calculation of the RowHeight.
I want to strikethrough the text in the row based on a value.
i checked and the column cell content style DataGridTextCellAppearance class does not expose such property.
Begin editing the first cell firs column
Without closing the cell editor, scroll down to the last cell, the first cell should exit the viewport.
Start editing the last cell.
Scroll back up to the first cell
The content inside the first cell is missing.
The content should be there.
When using ImageButton inside a CellTemplate, the image does not display initially. When you resize the window image is displayed.
Workaround:
Use Image instead of ImageButton