Change of TypeAhead, Date and Lookup cell are reverted back

Issue #12 resolved
Panemu Ind repo owner created an issue

Steps to reproduce:

  1. TableControl in agile editing mode. Click edit button.

  2. a) Click on a TypeAhead cell. Type something to show suggestion list. Press tab

    b) Click on Date cell. Change the year by typing. Move to another row with mouse click

    c) Click on Lookup cell. Type a value. Move to another row with mouse click

Result: the value is reverted back.

Expected: the new value is kept

Notes: This bug is a regression of commit #f8b9d1d. In BaseCell class, there is a routine to set focus listener of cell's editor. However, for the case of TypeAhead, Date and Lookup, they have TextField in it. The focus is actually in the textfield instead of in the TypeAhead/Date/Lookup fields. So we need to attach the focus listener not to TypeAhead/Date/Lookup fields, but to the underlying TextField in them.

Comments (2)

  1. Log in to comment