I have a CellTable with few columns and two of those columns are TextInputCells. On update of value in this cells, I do a calculation(ex: total) and set the total row's value. I needed to redraw the celltable to immediately display the updated value. The problem I am facing is, when the user is in first text cell and inputs a value and presses tab on keyboard, since the celltable is redrawn, focus is lost from the cell.
What can I do to not lose the focus when the table is redrawn?
Table Structure:
ID Description Month1 Month2
expenseId1 Travel 10 15
expenseId2 Food 40 50
Subtotal 50 65
Misc. TextInputCell TextInputCell
Total 50 65
Thanks.