Closed artizzq closed 5 months ago
You might need to call BringIntoView(rowIndex)
first to get row materialized. And then focus.
If row/cell is outside of the viewport, its container won't exist, so there would be nothing to focus.
Big thanks for help! 😌
I know that I can select cell by defining CellIndex and after that put it to SelectedIndex variable. Then I find the cell manually and see that its really selected.
So how do I scroll into the selected cell automatically?
Tried TryGetCell method (I got Null exception), messing around with scrollbars of the TreeDataGrid (Misplaced and messed up header and rows) but no luck.