Selecting a Row on page loadup

21 views Asked by At

I have a p-table in ngPrime and when I add a row to it, I want that row to be automatically selected. Does anyone know how to do this?

I tried looking through the primeNG docs but theres only options for onRowSelect(). I need this row to be selected without a click event on load up.

Also this is an angular application.

0

There are 0 answers