How to change background colour of modified cell in table view through delegate?
-
Hi,
I have implemented delegate and model for table view. it is working fine.
Now i want to change the background colour of modified cell. ( when ever user modifies cell)
what is the best way of doing this? -
You'll need to somehow expose in your model that a cell is considdered 'changed'. That probably means using a data role for that. You can then let your delegate handle that data role, or just a simple proxy model to set the background role for these cells as well.