primengprimeng-datatable

How to catch row reorder event in primeng table?



I want to trigger a reorder event after I drag and drop two rows data but I cannot see it in the document below:
https://www.primefaces.org/primeng/#/table/reorder

Can anyone help me, thanks!


Solution

  • As per the documentation ,

    there are two callbacks available ,

    onColReorder - Callback to invoke when a column is reordered

    onRowReorder - Callback to invoke when a row is reordered.

    They are listed under on the events portion on the same page

    https://www.primefaces.org/primeng/#/table