To hide the chat window on a particular table, hover your mouse cursor over the gray rectangular area appearing directly alongside the chat window and click on it once you see Collapse Chat appear.
Select the same gray area to display the chat window again.