Avalonia.Controls.TreeDataGrid
Avalonia.Controls.TreeDataGrid copied to clipboard
[TreeDataGrid] Row selection needs improving
Describe the bug
On the TreeDataGrid when one clicks on a row it will only be selected if the user clicks on the rendered column element. For example, if using a TextColumn only clicking on the text will cause the row to select. One should be able to select any part of the row to select it.
To Reproduce
- Create a
TreeDataGridwith any number of columns. - Click on the white space of the row
- Observe that the row is not selected.
- Click on the rendered element, such as the text in a column
- Observe that the row is selected.
Expected behavior
One should be able to click on any part of a row to select it.
Avalonia version
Avalonia: 11.3.0, Avalonia.Controls.TreeDataGrid: 11.1.1
OS
No response
Additional context
No response