Avalonia.Controls.TreeDataGrid icon indicating copy to clipboard operation
Avalonia.Controls.TreeDataGrid copied to clipboard

[TreeDataGrid] Row selection needs improving

Open clintsinger opened this issue 8 months ago • 3 comments

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

  1. Create a TreeDataGrid with any number of columns.
  2. Click on the white space of the row
  3. Observe that the row is not selected.
  4. Click on the rendered element, such as the text in a column
  5. 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

clintsinger avatar May 30 '25 19:05 clintsinger