Thank u....
I tried like this....
QList<QTableWidgetItem *> LTempTable =temp->findItems("001",Qt::MatchEndsWith);
cout<<"the matched count:"<<LTempTable.count()<<endl;
foreach(rowPtr,LTempTable)
{
rowPtr->setBackground(Qt::red);
}
QList<QTableWidgetItem *> LTempTable =temp->findItems("001",Qt::MatchEndsWith);
cout<<"the matched count:"<<LTempTable.count()<<endl;
foreach(rowPtr,LTempTable)
{
rowPtr->setBackground(Qt::red);
}
To copy to clipboard, switch view to plain text mode
But it is highlighting only that particular item, i want to highlight that whole row...
How can i do that?
Bookmarks