Data Links working in table panel

Hello! I have developed the custom table panel on the top of garfana native table panel by adding the required features like pagination and search.

For pagination feature I have iterated through the data in TablePanel.tsx

But for this custom panel when I add data links to one column and passing data along with the url then the data is not getting passed correctly.
For example, when I goto 2nd/3rd/last page in table panel and click on second row or any row then along with the url I am getting first page that corresponding row data.

So I am unable to understand how to fix this issue.
Can anyone please help me how to fix this or how data links are generated and data is passed correctly in table panel.

Did anyone have idea about this issue and how to resolve it