Browse Source

doc: update table ajax demo #4980

close #4980
pull/5026/head
tangjinzhou 3 years ago
parent
commit
6f5730b8ac
  1. 4
      components/table/demo/ajax.vue

4
components/table/demo/ajax.vue

@ -12,10 +12,14 @@ title:
另外本例也展示了筛选排序功能如何交给服务端实现列不需要指定具体的 `onFilter` `sorter` 函数而是在把筛选和排序的参数发到服务端来处理 另外本例也展示了筛选排序功能如何交给服务端实现列不需要指定具体的 `onFilter` `sorter` 函数而是在把筛选和排序的参数发到服务端来处理
当使用 `rowSelection` 请设置 `rowSelection.preserveSelectedRowKeys` 属性以保留 `key`
## en-US ## en-US
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. 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.
Setting `rowSelection.preserveSelectedRowKeys` to keep the `key` when enable selection.
**Note, this example use [Mock API](https://randomuser.me) that you can look up in Network Console.** **Note, this example use [Mock API](https://randomuser.me) that you can look up in Network Console.**
</docs> </docs>

Loading…
Cancel
Save