Report question

Question: What is the proper way to handle multiple datagrids in a tab control so that cells leave edit mode when the tabs are changed?