Menu on a table row select

Hi

I have a Table and I want open a menu/popupview which allows the user to click on “edit” \ “delete buttons”. The menu should be visible when the user selects a table row.
Are there any code samples out there?

Many thanks in advance

Ajay

Where do you want this menu? On every row? One common for the whole table? you can make a column which contains a button that opens the menu for you, or you could just add one button above the table that opens the menu and works with table.getValue();

I would like to open the menu when the user selects a table row and the contents of the menu could change depending on which column the user has clicked on a table row