You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
486 B
31 lines
486 B
9 years ago
|
---
|
||
|
order: 3
|
||
8 years ago
|
title:
|
||
|
zh-CN: 栅格排序
|
||
|
en-US: Grid sort
|
||
9 years ago
|
---
|
||
10 years ago
|
|
||
8 years ago
|
## zh-CN
|
||
|
|
||
10 years ago
|
列排序。
|
||
10 years ago
|
|
||
9 years ago
|
通过使用 `push` 和 `pull` 类就可以很容易的改变列(column)的顺序。
|
||
10 years ago
|
|
||
8 years ago
|
## en-US
|
||
|
|
||
|
By using `push` and` pull` class you can easily change column order.
|
||
|
|
||
9 years ago
|
````jsx
|
||
9 years ago
|
import { Row, Col } from 'antd';
|
||
9 years ago
|
|
||
|
ReactDOM.render(
|
||
|
<div>
|
||
|
<Row>
|
||
8 years ago
|
<Col span={18} push={6}>col-18 col-push-6</Col>
|
||
|
<Col span={6} pull={18}>col-6 col-pull-18</Col>
|
||
9 years ago
|
</Row>
|
||
|
</div>,
|
||
9 years ago
|
mountNode
|
||
9 years ago
|
);
|
||
9 years ago
|
````
|