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

Roadmap for supporting iron-list methods for selection / scrolling? #189

Open
slhenty opened this issue Jan 26, 2017 · 1 comment
Open

Comments

@slhenty
Copy link

slhenty commented Jan 26, 2017

Love this component! It was just what I needed for a list with interactive column headers.

One thing I also need is the ability to select an item in the list imperatively, and scroll to that selected item if not already visible. The native <iron-list> has such methods, but <iron-data-table> does not. I'm working around this limitation by obtaining a reference to the internal <iron-list> to make those calls... but this is a cringe-worthy hack.

Do you have plans to support such <iron-list> API methods? Are you amenable to a PR that makes the attempt?

@Saulis
Copy link
Owner

Saulis commented Apr 21, 2017

Hi @slhenty!

Sorry for the delay – there are functions available like selectItem(item).

When it comes to scrolling APIs, you can access the <iron-list> using table.$.list. As you might've already read, the roadmap is currently empty, unfortunately, since I'm being more focused on <vaadin-grid>.

I recommend posting a feature request to <vaadin-grid> or making a PR to <iron-data-table>.

Thanks!

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