dynamically add row and deleting a row in table

Hi, can anyone tell me how to delete a row or add a row in a table on clicking a button.
Thanks
D.

Hi,

  1. Add a ClickListener for your Button.
  2. Call Table.addItem or Table.removeItem from your click listener.

Note that for the removeItem call you will need the itemId of the row you want to remove.

-tepi

Thanks tepi for the advise.
It worked fine.
D.