I am using a Cutom DataGrid to have some desired sorting functionalities. While doing this, i have written my own headerRelease method in which I have prevented the default sorting of the parent class(Datagrid). Now, because of this, I am not getting the default sortArrow in headers, so I wrote a customized header renderer in which i attached a image of the sortArrow to the text in header. However, the headerWordWrap, which was set to true and was working with the datagrid before my custom sorting does not work when I use the custom header renderer.
So, I need to know, how can i maintain headerWordWrap if i also want to user a custom header renderer?
Please give me a solution or a work around.
I feel using a Text control in the headerRenderer to display the header will do the trick
Thanks for the reply.
But since I need to add the image of sort Arrow(which should ideally be wrapped in datagrid header), how can I do it using just a Text Field?