integrate context menu with table.