Open
Description
Describe the bug
The rows do not seem to maintain the settings of the DataGrid.RowsBackgroundColorPalette correctly when items are added or deleted.
To Demonstrate
I've modified the standard example to demonstrate the issue. The modified version can be found here:
https://github.com/lendres/Maui.DataGrid
The basic steps to create it were:
- Create a button on the view page.
- Create a delete command in the viewmodel.
- Change the "Teams" property and underlying variables to an ObservableCollection.
I also had to change the targeted Windows version to get it to compile.
To Reproduce
- Compile and run the modified example.
- Turn off the pagination in the settings.
- Click the "Delete" button and observe the rows' background colors. After a click or two, you get 3 rows with the same background color.
Expected behavior
Rows should maintain alternate background colors.
Desktop (please complete the following information):
- OS: Windows 10.0.19041.0
- Version 4.0.2 after pull 171 fix
Metadata
Metadata
Assignees
Labels
No labels