PyDataViewModel item values

I’ve been trying to make a DataViewCtrl, so had to make a DataViewModel first. I stitched something together which is working fine now, but i have to admit i don’t really understand the class.

The main thing i can’t figure out right now is how i can give my items different values, and have these values show up in the right columns in my control.

Would also like to know if someone can point me to an example of a model.
Thanks.

1 Like

Hacking through these classes as well trying to figure out how to delete rows from a displayed table.