TreeTable and repaint of an Item

how can I force a TreeTable to repaint a specific Item?
I can’t figure it out

Thank’s in advance


You can’t, you can only force the TreeTable to repaint itself. But it sounds that you are trying to fix the result of a bug and not the cause. It sounds like you are trying to repaint an item because some changes to it doesn’t show up in the table. If you make changes to an item, the table should update itself automatically. Note that if you change the value of a field of a pojo directly, this value won’t be updated to the table, because the item cannot notice the changes in the pojo. What you need to do, is to update the property of the item directly, by calling item.getItemProperty(propertyId).setValue(newValue)

Thank you for your answer, I folowed your advice and it is working now