go-qml / qml

QML support for the Go language
Other
1.96k stars 187 forks source link

Tableview update #75

Closed ildus closed 10 years ago

ildus commented 10 years ago

Hi, I'm trying to show a slice of objects in TableView, and i have a trouble with updating. Because model is integer (by examples), when i add object as first item in slice it updates only second item, so in result i have two equal rows in table. How can i update the whole table or specific rows? Is there a way for using slice as model?

niemeyer commented 10 years ago

It sounds like you are updating a single value instead of two, and providing that same value to the two rows.

Can you please send the example to the mailing list so people can help you?