Thanks for your answer.
I want to outline the text, not the grid lines.
So instead of a QTableWidgetItem, i have to try it with a AbstractItemDelegate ?