2 Replies Latest reply on Dec 3, 2010 4:59 AM by rudhirdeshkar

    How to have headerWordWrap while using headerRenderer in Datagrid ??

    rudhirdeshkar

      Hi All,

       

      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.

      TIA !