I have a custom table view, with custom model, and custom cell delegate.
I need the ability to change the background color of a cell depending on the contents of another cell.
For example if I modify cell (2,2) I may need to change the background color of cell(5,3).

I originally set it up so it would set the background during the cell delegate's paint routine. the problem is when I modify cell (2,2) the paint routine is never getting called for cell (5,3). I can call repaint() on the entire table but I would prefer not to do this.

I run into a similar issue if I try to set the background using the model. Another issue with the model is that the background role issued for the model is done after the cell delegate's paint routine which prevents me from using the cell delegate's paint routine to draw other things within the cell.

Is there an easy way to do this? If so how should I proceed?