Refresh grid after saving record from modal from through an action bar

i have a grid with an action bar and when i click on the action bar button a modal form will pop up. Through this I will update the record and after it is updated/ the modal form is closed I want to refresh the grid so it will display properly. Any tips will be helpful. I tried this code but i cant get it to work properly:
echo "

";