Hmm, the problem seems to be coming from the removecolumn(0) in line 45. When I comment out this line, the text editing works as expected.
is there a way around this?
Also, I still can't get the spinboxes to send changes to the model/SQL data.
Thanks