Skip to content

MVP of cell selection #178

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 23 commits into from
May 14, 2023
Merged

MVP of cell selection #178

merged 23 commits into from
May 14, 2023

Conversation

grokys
Copy link
Member

@grokys grokys commented May 11, 2023

Adds a cell selection mode to TreeDataGrid:

var source = new FlatTreeDataGridSource<Foo>(_data)
{
    // Columns
}

source.Selection =  new TreeDataGridCellSelectionModel<Foo>(Source)
{
    SingleSelect = false,
};

TODO:

  • Runtime changing of selection model
  • Ctrl+A select all not implemented for row selection either so will do it in a separate PR
  • Scroll when selecting cells with keyboard
  • Docs

@grokys grokys marked this pull request as draft May 11, 2023 21:01
@grokys grokys changed the title WIP: MVP of cell selection MVP of cell selection May 11, 2023
@grokys grokys marked this pull request as ready for review May 12, 2023 13:54
With failing-then-passing unit test.
@maxkatz6 maxkatz6 merged commit 78ebc02 into master May 14, 2023
@maxkatz6 maxkatz6 deleted the feature/cell-selection branch May 14, 2023 04:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants