Collectives™ on Stack Overflow
Find centralized, trusted content and collaborate around the technologies you use most.
Learn more about Collectives
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about Teams
I have a grid where rowData changes if the user refreshes the data. I need to scroll back to the same place (topScroll) where the user last scrolled before refreshing. In order to scroll to that point I need to detect the event where grid is ready every time after rowData changes. I see that onGridReady fires only once. Is there another event that I can use?
rowDataChanged
The client has set new data into the grid using api.setRowData() or changing the rowData bound property.
Configure your
gridOptions
-
(rowDataChanged)="onRowDataChanged($event)"
Now you can implement your scrolling logic in onRowDataChanged
–
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.