Ant-design: Scroll the table to the specified row

Created on 22 Jun 2017  ·  1Comment  ·  Source: ant-design/ant-design

What problem does this feature solve?

We have a page, when entering this page, there is a table filled with data. There is an input box on the table. When I enter the content, I need to roll the table to the line that conforms to it

What does the proposed API look like?

I want to add an attribute to the table. The property name is called defaultScrollPosition, and the value is y or the line index

❓FAQ

Most helpful comment

You can implement this by yourself easily https://codesandbox.io/s/wjnpGN4zg

>All comments

You can implement this by yourself easily https://codesandbox.io/s/wjnpGN4zg

Was this page helpful?
0 / 5 - 0 ratings

Related issues

alanwei0 picture alanwei0  ·  3Comments

plandem picture plandem  ·  3Comments

taikongfeizhu picture taikongfeizhu  ·  3Comments

tangsj picture tangsj  ·  3Comments

mineralres picture mineralres  ·  3Comments