So what I have is a table component:
what I want to do is whenever I select a value I can get the item id of that row. any idea how?
May I assumed that you are storing List of objects in your table? If yes, then you can add an extra rowIndex field
to have the value of the row number, and retrieve the row number from the click event?