Skip to content
This repository has been archived by the owner on Mar 27, 2023. It is now read-only.

Datagrid scroll to top by click or event #5902

Answered by SvenBangert
SvenBangert asked this question in Q&A
Discussion options

You must be logged in to vote

Hi and thanks for response.
I solved it by myself with following code.

public scrollToTop() {
  document.getElementsByClassName('datagrid')[0].scrollTop = 0;
}

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by SvenBangert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants