Is it possible to select a single column in a table


I have a requirement where i need to display a menu when user clicks on a table cell. The content of the menu varies depending upon the column the user has clicked.
Now when user selects a column only that column needs to get selected instead of the entire row which is by default. is it possible to achieve this using vaadin.
I know that table row selection is done at client side which i dont have any control of sorts at the server side.