QTableWidget
this->setColumnCount(4);
this->setSortingEnabled(true);
this->setColumnCount(4);
this->setSortingEnabled(true);
To copy to clipboard, switch view to plain text mode
then display my rows... works fine.
Now when I add
this->sortItems( 1, Qt::AscendingOrder );
this->sortItems( 1, Qt::AscendingOrder );
To copy to clipboard, switch view to plain text mode
I have garbage in rows, basically no data in 2 and 4 columns.
Same when I remove to sortItems()... and click on header to sort the column
have U seen that before ?
I use setItem() to insert it.
Please help
Bookmarks