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
When we have ListenForNestedPropertyChange property set to true and at some point Clear of the ItemsSource is called the newly added items to the collection stop to listen for PropertyChanged.
In order to make ListenForNestedPropertyChange work again toggle the value of the property. First set it to false and after that back to true.
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.
I have the following issues when there is a DataGrid inside RowDetails template
1. The + does not change to - after expanding the details
2. Clicking the header in the inner data grid of line 2 does not work (seems disabled)
3. Sometimes cannot edit the inner DataGrid. tapping 2 times on the cell does not enter in edit mode
When uprating the row details data, the data does not update in the UI. You have to resize the window, or collapse then expand the row details to see the updated value.
The behavior happens in 7.0.0 version. In 6.8.0 it works as expected.
1. Apply filtering to the DataGrid using the distinct values in the Filtering UI,
2. Clear the filter descriptors from external UI.
3. Open the same Filtering UI
Actual: the distinct values in the Filtering UI are still checked.
Expected: The distinct values should be cleared.