Thanks but it deosn't work at all. After clicking on the right alligned cell the text is left alignment. That is why I have created my own delegate.