This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
When DataGrid is not set to a height, dynamically adding rows will not widen the height #16016
Labels
by-design
The behavior reported in the issue is actually correct.
Describe the bug
When I was using DataGrid, I did not set the height, and the set for initializing the binding was empty. By clicking the button to add rows, there was data in the set, but it did not expand the height of the DataGrid, which led me to think that there was a problem with the binding at one point.
To Reproduce
Expected behavior
When dynamically adding data, if the height of the DataGrid is not set, it should automatically expand to display the latest data
Avalonia version
11.0.10
OS
Windows, macOS
Additional context
No response
The text was updated successfully, but these errors were encountered: