How to implement responsive layout with Table components of Ant Design

first question:
want the Table implementation to achieve the same responsive layout of the table as bootstrap. for example , if you view the page on the mobile phone, the table can display a scroll bar below, and the table will not deform too much

.

second question:
how to add a custom attribute to the td/th of the table component of ant design, which is better than < td data-label= "name" > jenmy < / td >, where data-label is a custom attribute


domestic ui frameworks don't pay much attention to responsive. If you use react, I find a component library on github, React Sticky Table

.

if vue is used, vuetify vuetify

is recommended.
Menu