Re: Validate cell, or request a cell update

2013-07-09 Thread Werner Lehmann
Ok - this means that in Cell.updateItem I would have to add a (weak?) listener to the item's state property. If the cell is reused for another item I would have to remove the old listener first. My only concern is that this will be done a lot when scrolling through the list. Thanks... If the

Re: Validate cell, or request a cell update

2013-07-09 Thread Richard Bair
I think this is different. The idea was that you would bind state on the cell to the item it is representing, so that it is automatically updated when needed and then there is no need to manually poke it. If the data item isn't observable, then you need a way to manually poke it. Richard On Ju

Validate cell, or request a cell update

2013-07-09 Thread Werner Lehmann
Hi, Jonathan's question about Cell.updateItem rang a bell. Earlier this year I used a listview with a cell factory and had to resort to a dirty trick to get individual items to update in the SG if the underlying data had changed. I am hoping for a non-dirty solution - otherwise I might create