数据表格如果增加操作列,勾选行后绑定的事件因renderCell而丢失
Open
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
- 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 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