I am using primeng datatable in multiple tabs, so for example, I have three tabs and each has a data table, all columns in my table have a search filter.
User filters the table to get some column there are about 3000 columns in the table, an then user switch tabs.
There is my problem when the user goes back to the first table, the first page is loaded, I need somehow select the row was previously found.
I use [(selection)] to preserve the selection
<p-treeTable [value]="files1" [columns]="data" selectionMode="single" [(selection)]="selectedNode" >
Is there a way to find page number by row?