Because there seems be no properties or methods to specify the scroll position.
Is this implementation correct?
Code: Select all
private scrollTop() {
const scrollElm = this.documentList.el.nativeElement.getElementsByClassName(
'ui-table-scrollable-body'
)[0];
if (scrollElm) {
scrollElm.scrollTop = 0;
}
}