mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 17:44:35 +08:00
Merge branch '1.x-stable'
This commit is contained in:
commit
aac35a8757
@ -14,6 +14,7 @@ timeline: true
|
||||
`2016-07-04`
|
||||
|
||||
- 修复 Transfer 的一个 unmount 的错误。[#2206](https://github.com/ant-design/ant-design/pull/2206)
|
||||
- 修复了 Badge、Alert、Menu、Tag、Checkbox、Radio 组件的一些样式细节问题。
|
||||
|
||||
## 1.6.2
|
||||
|
||||
|
@ -3,8 +3,6 @@ order: 7
|
||||
title: 远程加载数据
|
||||
---
|
||||
|
||||
在 `0.11.0` 以后,`dataSource` 远程模式被移除,用户可以自行实现数据读取方式。
|
||||
|
||||
这个例子通过简单的 ajax 读取方式,演示了如何从服务端读取并展现数据,具有筛选、排序等功能以及页面 loading 效果。开发者可以自行接入其他数据处理方式。
|
||||
|
||||
另外,本例也展示了筛选排序功能如何交给服务端实现,列不需要指定具体的 `onFilter` 和 `sorter` 函数,而是在把筛选和排序的参数发到服务端来处理。
|
||||
|
@ -43,7 +43,7 @@ for (let i = 0; i < 100; i++) {
|
||||
}
|
||||
|
||||
function App() {
|
||||
return <Table columns={columns} dataSource={data} scroll={{ x: 1300, y: 300 }} />;
|
||||
return <Table columns={columns} dataSource={data} scroll={{ x: 1500, y: 300 }} />;
|
||||
}
|
||||
|
||||
ReactDOM.render(<App />, mountNode);
|
||||
|
@ -47,8 +47,6 @@ const columns = [{
|
||||
<Table dataSource={dataSource} columns={columns} />
|
||||
```
|
||||
|
||||
> 注:`dataSource` 在 `0.11.0` 版本后不再支持远程模式。
|
||||
|
||||
## API
|
||||
|
||||
### Table
|
||||
|
@ -403,8 +403,7 @@
|
||||
}
|
||||
|
||||
&-fixed-header &-scroll &-header {
|
||||
overflow-x: scroll;
|
||||
overflow-y: hidden;
|
||||
overflow: scroll;
|
||||
padding-bottom: 20px;
|
||||
margin-bottom: -20px;
|
||||
}
|
||||
|
@ -58,6 +58,7 @@
|
||||
.code-box .code-box-title a,
|
||||
.code-box .code-box-title a:hover {
|
||||
color: #666;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.code-box .code-box-demo {
|
||||
|
Loading…
Reference in New Issue
Block a user