draw table view