Skip to content
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

Customizable selection model #182

Closed
jouni opened this issue Sep 28, 2015 · 2 comments
Closed

Customizable selection model #182

jouni opened this issue Sep 28, 2015 · 2 comments

Comments

@jouni
Copy link
Member

jouni commented Sep 28, 2015

The developer should be able to override the default index based selection model with a custom one, e.g. based on some ids in the database.

Consider the properties and attributes (for Polymer databinding) API when designing the selection models, perhaps flattening some of them to the top level of the grid object:

selection.mode -> selectionMode (notify: true)
selection.size -> selectionSize (notify: true)
selection.select() -> selectIndex()
selection.deselect() -> deselectIndex()
selection.selected() -> selectedIndexes()
selection.deselected() -> deselectedIndexes()
selection.selectAll() -> selectAll()
selection.clear -> deselectAll()
@jouni jouni added this to the 1.2 milestone Sep 28, 2015
@jouni
Copy link
Member Author

jouni commented Sep 29, 2015

Consider #185 when designing this.

@jouni jouni modified the milestones: 1.2, 1.3 Oct 5, 2015
@jouni jouni removed the prioritized label Oct 23, 2015
@jouni jouni removed this from the 1.3 milestone Oct 23, 2015
@jouni
Copy link
Member Author

jouni commented Mar 23, 2017

Invalid. The upcoming 2.0 has a much more flexible selection model.

@jouni jouni closed this as completed Mar 23, 2017
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

No branches or pull requests

1 participant