Questions tagged [ant-design-pro]
482 questions
4
votes
2 answers
How to implement responsive layout in Ant Design form?
While working with ant design form, I have serious problem with responsiveness.
import { From, Input, Button } from 'antd'
const { Item } = Form;
const layout = {
labelCol: { span: 8 },
wrapperCol: { span: 16 },
};
const tailLayout = {
…

Josh Thomas
- 1,607
- 2
- 8
- 22
4
votes
4 answers
How to get index of row in ant design table?
I want to show index of rows in ant design table. eg: 1 to 10 for 10 rows data i got.
const columns = [{
title: 'ID',
dataIndex: 'id',
key: 'id',
width: '5%'
},
...
];