is there any way of adding a new row on button click in datatable in primereact like in primefaces. i didn't found any functionality in primereact in documentation however there is option available in primefaces. https://www.primefaces.org/primereact/datatable/
Asked
Active
Viewed 1,111 times
0
-
Please provide enough code so others can better understand or reproduce the problem. – Community Jan 11 '22 at 17:11
1 Answers
1
hopefully you can find what you need here: primefaces.org/primereact/datatable/crud/
there's a crud implementation of primereact datatable with a 'new' button, check the saveProduct
function

drdv
- 23
- 8