easysoft / easysoft/zui

数据表格如果增加操作列,勾选行后绑定的事件因renderCell而丢失

Open
#134 2 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

dataGrid进行记录行勾选操作时,checkRow触发了renderCell,导致初始化数据时为操作列元素绑定的事件丢失,建议想办法保留或者将选中或发布onRenderCell事件

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 locating the dataGrid implementation and trace how checkRow invokes renderCell for operation-column elements. Reproduce the issue by selecting a row after binding an operation-column event, then verify that the event is retained or that the proposed onRenderCell notification is available.

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
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.