I am trying setCellValue but I am seeing different behaviours.
In the following example it sets the cell value but that does not call the property setter on the backing record:
Example
On my machine when testing it is calling the property setter on the backing record.
What situation makes it call the record property setter when you set the cell value?
Actually on my machine it calls the setter twice but if I sort the grid then it only calls the setter once.
Really the setter does not need calling because the backing record has already been set first and I am trying to set the cell value to the same value.
So these different behaviours are confusing me and causing re-entrant code.
I am guessing when the grid is sorted there is some sort of object cloning and property scraping going on inside the grid because I don’t think my record class instances are the same maybe when sorted.
Please explain, thank you