diff --git a/components/table/demo/fixed-columns.md b/components/table/demo/fixed-columns.md
index 69915553e1..53bfb9a620 100644
--- a/components/table/demo/fixed-columns.md
+++ b/components/table/demo/fixed-columns.md
@@ -25,35 +25,35 @@ Fix some columns and scroll in other columns. You must set `scoll.x` meanwhile.
import { Table } from 'antd';
const columns = [
- { title: '姓名', width: 100, dataIndex: 'name', key: 'name', fixed: 'left' },
- { title: '年龄', width: 100, dataIndex: 'age', key: 'age', fixed: 'left' },
- { title: '列1', dataIndex: 'address', key: '1' },
- { title: '列2', dataIndex: 'address', key: '2' },
- { title: '列3', dataIndex: 'address', key: '3' },
- { title: '列4', dataIndex: 'address', key: '4' },
- { title: '列5', dataIndex: 'address', key: '5' },
- { title: '列6', dataIndex: 'address', key: '6' },
- { title: '列7', dataIndex: 'address', key: '7' },
- { title: '列8', dataIndex: 'address', key: '8' },
+ { title: 'Full Name', width: 100, dataIndex: 'name', key: 'name', fixed: 'left' },
+ { title: 'Age', width: 100, dataIndex: 'age', key: 'age', fixed: 'left' },
+ { title: 'Column 1', dataIndex: 'address', key: '1' },
+ { title: 'Column 2', dataIndex: 'address', key: '2' },
+ { title: 'Column 3', dataIndex: 'address', key: '3' },
+ { title: 'Column 4', dataIndex: 'address', key: '4' },
+ { title: 'Column 5', dataIndex: 'address', key: '5' },
+ { title: 'Column 6', dataIndex: 'address', key: '6' },
+ { title: 'Column 7', dataIndex: 'address', key: '7' },
+ { title: 'Column 8', dataIndex: 'address', key: '8' },
{
- title: '操作',
+ title: 'Action',
key: 'operation',
fixed: 'right',
width: 100,
- render: () => 操作,
+ render: () => action,
},
];
const data = [{
key: '1',
- name: '胡彦斌',
+ name: 'John Brown',
age: 32,
- address: '西湖区湖底公园0号',
+ address: 'New York No. 1 Lake Park',
}, {
key: '2',
- name: '胡彦祖',
+ name: 'Jim Green',
age: 40,
- address: '西湖区湖底公园1号',
+ address: 'London No. 1 Lake Park',
}];
function App() {