Roadmap for supporting iron-list methods for selection / scrolling?
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?
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!