0

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/

Jasper de Vries
  • 19,370
  • 6
  • 64
  • 102
Shaheer S
  • 1
  • 1

1 Answers1

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