primefaces / primereact

The Most Complete React UI Component Library
https://primereact.org
MIT License
6.68k stars 1.01k forks source link

Datatable editing rows doesn't run #7231

Closed myisamkernel closed 6 days ago

myisamkernel commented 6 days ago

Describe the bug

editing rows even though putted in datatable value that have same type as datatable expandable rows not working smoothly

Reproducer

https://stackblitz.com/edit/2tkpay?file=src%2FApp.jsx

System Information

"primereact": "latest",
"react": "18.3.1",

Steps to reproduce the behavior

1.Add Editing Rows on Datatable as props 2.create column that generate button to each rows 3.Add function to button that set value to editing rows 4.click the button

Expected behavior

When Clicking Button the editing rows run smoothly

melloware commented 6 days ago

Don't do it like that. Find the Row Editor icon and click it to trigger and edit.

See: https://stackblitz.com/edit/2tkpay-5bh7zz?file=src%2FApp.jsx

myisamkernel commented 5 days ago

oh... i didn't know we could do something like that thank you melloware