Edit table and generate a calculated result in the same

Hi, i am new to vaadin.
Can anyone tell me how to edit the table at run time. I have a table with one column as quantity, one as rate and one as total.
Only quantity is component(textfield) in the table. The other two are strings.
I have to reflect the total amount whenevr the quantity is changed.
Please help me.
D.