Skip to content

Handle up/down cursor keys in tables #39

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 5 commits into from
Oct 3, 2018

Conversation

DanTup
Copy link
Contributor

@DanTup DanTup commented Oct 2, 2018

This lets you use up/down cursor keys to move selections in the table. It tracks the selected index/object even if there's no HTML row representing it, so the selection will update even if the new row isn't rendered.

It doesn't do:

Fixes #23.

@DanTup DanTup requested a review from devoncarew October 2, 2018 16:20
@DanTup DanTup changed the title Table key events Handle up/down cursor keys in tables Oct 2, 2018
lib/tables.dart Outdated
@@ -38,8 +40,12 @@ class Table<T> extends Object with SetStateMixin {
final CoreElement _dummyRowToForceAlternatingColor = new CoreElement('tr')
..display = 'none';

// TODO(dantup): Make the naming consistent withing this class. There is
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sp: withing

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