baidu / baidu/amis

crud可以监听滚动事件 实现页面数据滚动加载吗?

Open
#4,358 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

need confirm
Dominant language
TypeScript
Stars
18.9k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

#### 描述问题:

crud监听滚动事件,实现滑动条滚动到表格底部,pageSize+10,请求数据,页面数据增加

#### 截图或视频:

可以的话,尽可能提供截图或视频来补充描述你的问题...

#### 如何复现(请务必完整填写下面内容):

1. 你是如何使用 amis 的?
`sdk`、`npm` 或`其他`...

2. amis 版本是什么?请先在最新 beta 版本测试问题是否存在

3. 粘贴有问题的完整 `amis schema` 代码:
```
code here...
```

4. 操作步骤
crud监听滚动事件,实现滑动条滚动到表格底部,pageSize+10,请求数据,页面数据增加

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names the CRUD component but provides no file, test, AMIS version, or complete schema. Start by locating CRUD's pagination and scroll-related entry points, then determine how a bottom-of-table event could request more data and preserve existing rows. Done means reaching the bottom increases pageSize by 10, fetches the next data, and appends it to the table.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.