Table in editable mode

I’m trying to display a table in editable mode with a button to add a new empty row and a button to save all modified rows and all new rows. My table has a BeanItemContainer and a FiledFactory. I can’t get my table work, in
thread I tryed to explain my problems. I look for a similar example but I can’t find something like my case. In every example I saw, tables are always non editable; to add new rows, users interact with subwindows or forms. Is it possible to get what I’m trying to do? Does anyone have an example to show me the way?
Thank you, Francesco