In element-ui, how do I get the row elements specified by table?

A panel with a scroll bar and an element-ui table inside. Due to the need, you need to control the page to scroll to the location of the specified row. But I can"t do that now. The initial consideration is to get the row, specified in table, find its offsetTop attribute value, and then control the scrollTop, of the entire scroll bar panel, but I haven"t been able to figure out how to find these elements. May I ask what the gods can do?

May.29,2021

Brother, have you solved it? Ask the same question

Menu