tab container

How to customize Tab container to reload data on tab

Hi Team,

How to customize the Tab Container to reload data, while moving between tabs.

Problem statement:
I have two tabs in Tab Container "New Activities and Completed Activities", each having a data table to load the list of respective activities.
I need to reload data in data table of Completed Activities tab while switching from New Activities tab.