Thank u....
I tried like this....
Qt Code:
  1. QList<QTableWidgetItem *> LTempTable =temp->findItems("001",Qt::MatchEndsWith);
  2.  
  3. cout<<"the matched count:"<<LTempTable.count()<<endl;
  4. foreach(rowPtr,LTempTable)
  5. {
  6. rowPtr->setBackground(Qt::red);
  7. }
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?