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

Different events for cell selection and checkbox selection #195

Open
JayKakadiya opened this issue Mar 1, 2017 · 2 comments
Open

Different events for cell selection and checkbox selection #195

JayKakadiya opened this issue Mar 1, 2017 · 2 comments

Comments

@JayKakadiya
Copy link

Can we have a different event name for grid cell selection and check box selection or original event passed while firing these events ?

Scenario is while this events are getting fired i want to know that this event is fired for cell selection or check box selection. Ideally each cell selection should have sent cell identification detail along with model in current implementation.

@Saulis
Copy link
Owner

Saulis commented Apr 21, 2017

Hi!

My recommendation would be to have a custom checkbox column which you can apply whatever listeners you want:

<data-table-column>
  <template>
    <paper-checkbox checked="{{selected}}" on-checked-changed="_doStuff"></paper-checkbox>
  </template>
</data-table-column>

@star08006
Copy link

Hi, Saulis,

How can I set a 'selectAll' checkbox in the header if using a custom checkbox?

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

3 participants