Closed constantin-p closed 6 years ago
@pmilla1606 Would like your thoughts on the functionality and if there are use cases not supported by the current implementation.
@constantin-p this is great! will try it out tonight. let me know when you're thinking of publishing a new version to npm too. thanks for all the hard work!
@pmilla1606 I'm gonna wait for your feedback, If everything's OK I'm gonna update the npm version tomorrow.
@constantin-p just took a look. Looks and works great! Thanks again for the effort.
👍
@pmilla1606 version 0.5.0 contains the new functionality
scrollTo(posY: number)
px
)scrollIntoView(node: TreeDataRow, expandAncestors: boolean = true)
expandAncestors
set totrue
, the parents of the given node will expand their content. When set tofalse
the state of the table will remain untouched & the row representing the first visible node down the list will be scrolled into viewscrollTo
&scrollIntoView
are public methods ofTreeDataTable
and can be accessed by acquiring a reference to the component.