Quote Originally Posted by jpn
The setSectionHidden( ) command hid the row, just like setRowHidden( ) but I still get the same problem when the row is sorted by the column headers. When the column is sorted, any hidden rows are sorted and re-displayed, despite being hidden. Is there a way to flag the iitem in the data model to be hidden? As in my example code above, I set a struct to contain a boolean "shown" value that sets if the item should be hidden or not. But when the data( ) function is called, the item is redisplayed or if I return a NULL QVariant( ) the item is still show n but blank. I am at a loss of how to keep these rows hidden...