Table item not updated until next table operation

Hi,

I’m currently using a table backed by a SQLContainer. I can create, delete, and edit items in the table.

However, only the create and the delete actions show up immediately on the table, i.e. the new row appears as soon as the window that creates them is dismissed, or the deleted row disappears as soon as the delete is confirmed. But when I edit the Item, the changes I do to its Properties are not reflected immediately, and they rows appear unchanged until the table is refreshed by, say, sorting by any column. The container is in autocommit mode and the table is in Immediate mode.

What else should I be checking?

Thanks in advance,
Javier

Sounds like another “background-thread not updating the UI”-Problem. You need to use Poll or Push if your action is not fired directly from a component listener. Have a look at
this thread
to get more information.

Hi Marius,

Thanks for your response. I’ll look into push or poll solution.

Regards,
Javier

Hi,

turns out I was just missing the container commit, therefore the changes weren’t reflected. D’oh!

Thanks again!
Javier