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

href not working #119

Open
sp1rs opened this issue Aug 29, 2016 · 1 comment
Open

href not working #119

sp1rs opened this issue Aug 29, 2016 · 1 comment

Comments

@sp1rs
Copy link

sp1rs commented Aug 29, 2016

</paper-datatable-column> <paper-datatable-column header="Name" property="user" sortable> <template> <a href="/x/y/z" target="_blank" class="routing">{{value.name}}</a> </template> </paper-datatable-column>

@diegocerdan
Copy link

I guess the table is stealing the click.

I had to hack it back by listening to the event:
<paper-datatable-column on-cell-tap="_openExternalURL"></paper-datatable-column>

And later:

_openExternalURL: function(ev) {
    window.open('http://www.mywebsite.com/' + ev.detail.item.id);
}

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

2 participants