easysoft / easysoft/zui

datagrid组件当未states分页或pager为0时,进行数据搜索时显示不正确

Open
#95 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
2.8k
Forks
678
Avg merge
6d 21h
Merged PRs (30d)
7

Description

版本:1.8.1

datagrid组件,当没有设置states分页,或pager设置为0 默认不分页时,进行搜索后会有BUG。

假如我一共7条数据,通过搜索筛选出1条,但剩下6行仍然被之前的数据占用,没有被清理。
1
2

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

Start by reproducing the datagrid search behavior in version 1.8.1 with pagination unset or pager set to 0, using seven rows and a search that leaves one result. Trace the datagrid search and rendering entry points; done means filtered results replace the previous rows without leaving stale empty rows.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.