✅ enable single-click cell editing in Avalonia DataGrid
Hi all,
In my Avalonia UI DataGrid, clicking on any cell currently selects the entire row, and I have to click the cell one more time before I can start typing.
I'd like to achieve:
Thanks in advance!
The Column that should allow input:
The DataGrid:
current code behind for "CellPointerPressed":
In my Avalonia UI DataGrid, clicking on any cell currently selects the entire row, and I have to click the cell one more time before I can start typing.
I'd like to achieve:
- After a single click on the cell, the user should be able to immediately start typing without any additional clicks.
(It's okay to disable full-row selection because we don't need it.)
Thanks in advance!
The Column that should allow input:
The DataGrid:
current code behind for "CellPointerPressed":