AvaloniaUI / Avalonia.Controls.TreeDataGrid

A combined TreeView/DataGrid for Avalonia.
MIT License
234 stars 49 forks source link

refactor/fix: calling Source.Selection.Select() was not working for FlatTree #237

Open alexandrehtrb opened 8 months ago

alexandrehtrb commented 8 months ago

Calling Source.Selection.Select() was not working for FlatTree Now it works, but only selecting one index at a time, I don't know how to select multiple using IndexPath... Like, this works:

treeDataGrid.Source.Selection.Select(new IndexPath(1));
treeDataGrid.Source.Selection.Select(new IndexPath(2));

This doesn't work:

treeDataGrid.Source.Selection.Select(new IndexPath(1, 2));