Skip to content

Commit

Permalink
improve table demo style, close #5697
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Apr 12, 2017
1 parent 07e9f01 commit 04af6d5
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions components/table/demo/grouping-columns.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const columns = [{
title: 'Age',
dataIndex: 'age',
key: 'age',
width: 100,
width: 200,
sorter: (a, b) => a.age - b.age,
}, {
title: 'Address',
Expand All @@ -51,7 +51,7 @@ const columns = [{
title: 'Building',
dataIndex: 'building',
key: 'building',
width: 50,
width: 100,
}, {
title: 'Door No.',
dataIndex: 'number',
Expand All @@ -66,12 +66,10 @@ const columns = [{
title: 'Company Address',
dataIndex: 'companyAddress',
key: 'companyAddress',
width: 200,
}, {
title: 'Company Name',
dataIndex: 'companyName',
key: 'companyName',
width: 200,
}],
}, {
title: 'Gender',
Expand Down Expand Up @@ -102,7 +100,7 @@ ReactDOM.render(
dataSource={data}
bordered
size="middle"
scroll={{ x: 1010, y: 240 }}
scroll={{ x: '130%', y: 240 }}
/>
, mountNode);
```

0 comments on commit 04af6d5

Please sign in to comment.