Skip to content

Commit 6f5730b

Browse files
committed
doc: update table ajax demo #4980
close #4980
1 parent 5ed8f86 commit 6f5730b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

components/table/demo/ajax.vue

+4
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,14 @@ title:
1212

1313
另外,本例也展示了筛选排序功能如何交给服务端实现,列不需要指定具体的 `onFilter` 和 `sorter` 函数,而是在把筛选和排序的参数发到服务端来处理。
1414

15+
当使用 `rowSelection` 时,请设置 `rowSelection.preserveSelectedRowKeys` 属性以保留 `key`。
16+
1517
## en-US
1618

1719
This example shows how to fetch and present data from a remote server, and how to implement filtering and sorting in server side by sending related parameters to server.
1820

21+
Setting `rowSelection.preserveSelectedRowKeys` to keep the `key` when enable selection.
22+
1923
**Note, this example use [Mock API](https://randomuser.me) that you can look up in Network Console.**
2024
</docs>
2125

0 commit comments

Comments
 (0)