primefaces / primefaces/primereact
TreeTable: Ability to cancel cell edition
Open
Nobody has claimed this yet.
Type: New Feature
- Dominant language
- CSS
- Stars
- 8.3k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
TreeTable doesn't provide a way to cancel cell edition, the onCellEditCancel function is never triggered.
Reproducer
https://codesandbox.io/s/primereact-demo-forked-t7v84g?file=/src/App.js
PrimeReact version
9.6.2
React version
17.x
Language
TypeScript
Build / Runtime
Create React App (CRA)
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
Contributor guide
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 linked CodeSandbox reproducer and inspect the TreeTable cell-editing path involving onCellEditCancel. Confirm that cancelling an edit never reaches the callback, then verify the behavior after the fix using the same reproduction; the issue names no repository files or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100