#p=3 , table.selectedIndex = {{table.data.map(item => item.id).indexOf(parseInt(urlparams.hash.p))}}
I linked url parameter to table and the table data calls rest api when the page loads.
currently, url parameter works before the data appears in table, so nothing works after data appears. Is there any way?