Any specific reason you did not just fix the model but went for a totally different approac
I am not sure what you expect to see.
You tell the TableViewColumn to use "col1" as the role, yet your data has no "col1", it has "newName" and "newValue".
So, from your point of view, which of these tw comparions should be true?
As far as I know neither C++ nor JavaScript would evaluate either of these two as true.Qt Code:
"col1" == "newName" "col1" == "newValue"To copy to clipboard, switch view to plain text mode
Cheers,
_






Reply With Quote
Bookmarks