How to perform search in QTableWidget?
-
Thank u Volker....
I did like this...
@
QList<QTableWidgetItem *> LTempTable =temp->findItems("001",Qt::MatchEndsWith);cout<<"the matched count:"<<LTempTable.count()<<endl;
foreach(rowPtr,LTempTable)
{
rowPtr->setBackground(Qt::red);
}@
it was highlighting only that particular item, i want to highlight whole row,....please tell how to do that?