Bon Pham
Bon Pham

Reputation: 23

Auto open expandable table when add a new row (Antd table, ReactJS)

My expectation: When I click button Add a row, a new row when add to table and expandation of new row will auto open

This is codesandbox: https://codesandbox.io/s/editable-cells-antd-5-1-7-forked-1gwj00

I wanna expandation of new row will auto open when add a row like this: https://i.sstatic.net/NkmWr.png

Upvotes: 2

Views: 269

Answers (1)

Khanh Le Tran
Khanh Le Tran

Reputation: 900

Try this:

Solution for auto expand row when adding

Upvotes: 1

Related Questions