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

Add removeSelectedRows API method #84

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add removeSelectedRows API method #84

wants to merge 1 commit into from

Conversation

david-err
Copy link

This change adds an API method that removes all selected rows from the dataset and the DOM.

This change is observed by the already present function _setRowKeys which observes changes to data.splices. I added a call to Polymer.Collection.applySplices here to prevent subsequent select events being thrown with keys that refer to incorrect or non-existing items.

Disclaimer:
"I hereby grant you, David-Mulder, a generic right to relicense this contribution under any license and the discretion to license the project as a whole to any parties under those licenses"

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.

1 participant