ant-design/components/grid/demo/sort.md
2019-05-07 14:57:32 +08:00

516 B
Raw Blame History

order title
3
zh-CN en-US
栅格排序 Grid sort

zh-CN

列排序。

通过使用 pushpull 类就可以很容易的改变列column的顺序。

en-US

By using push andpull class you can easily change column order.

import { Row, Col } from 'antd';

ReactDOM.render(
  <div>
    <Row>
      <Col span={18} push={6}>
        col-18 col-push-6
      </Col>
      <Col span={6} pull={18}>
        col-6 col-pull-18
      </Col>
    </Row>
  </div>,
  mountNode,
);