Can you please explain a bit more what you mean by multilevel history? Exactly what do you want to achieve? Draw this out in Excel if you can.
I need to create history like this below, kindly let me know how would I create a history link in each row.
Assuming that in your domain model you have your main entity and over a 1-* association the history-entity:
In the domain model: right click the entity and select ‘Generate overview pages’. This will give you a _Overview and a _NewEdit page. In the _NewEdit page, you have the details of one single item and it is in a data view. In that data view add another Datagrid or Listview and set its datasource to ‘Over association’ and select the history-entity. Click ‘Yes’ when you’re asked if it should fill the grid/listview with all attributes.