Let Suppose We have n page in data table and one column of this data-table have link to open new page(dashboard) by sending a new request.

we have to add back button over this new page(dashboard),such that this should move us to last opened page of data-table.

we applied back button like this-

```
<button style="postion:fixed;" class="pull-right" onclick="window.history.go(-1); ">Back</button>

```

but this button send us to first page of data table rather than nth page where we open the link.
 [![enter image description here](https://i.stack.imgur.com/kELWF.png)](https://i.stack.imgur.com/kELWF.png)