How to force Grid to refresh the size

Dear all,

I have a grid with setSizeFull() see picture stage_01
Our application use a menu on the left and user can hide the menu (see red circle on picture stage_01)

In the picture stage_02 normally now the width of the page is bigger but grid don’t take all the space
how I can force the grid to refresh the size.

Thanks for all your help.