Add header/footer before and after the list

Add header/footer before and after the list

But  dynamic data modification