datagrid 重新刷新数据有问题
Open
Nobody has claimed this yet.
bug
- Dominant language
- TypeScript
- Stars
- 2.8k
- Forks
- 678
- Avg merge
- 6d 21h
- Merged PRs (30d)
- 7
Description
var that = $('#grid').data('zui.datagrid')
that.setDataSource(dataArray)
that.render(true) // 如果 dataArray的数据行少于原来的函数时会保留多出来的那些旧行
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the zui.datagrid entry points setDataSource(dataArray) and render(true), using the example to reproduce the issue with fewer rows in the new data than in the old data. Confirm that refreshing removes the excess old rows and that the rendered grid matches dataArray.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100