Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    39
    Vote Rating
    0
    rmulcha is on a distinguished road

      0  

    Default Column Config with SafeHtml for Header Not Working

    Column Config with SafeHtml for Header Not Working


    Hello there..,

    I am using GXT 3 version and when giving the SafeHtml for a grid header with the following is showing the header as Receiver<br/>Region. Instead of a new line in the header. I am thinking this may be a defect, please let us know asap.

    new ColumnConfig(valueProdvider, width, SafeHtmlUtils.fromString("Receiver<br/>Region"))

    Thank you,
    Rajesh Mulcha

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    The is the expected behaviour. fromString htmlescapes <br />

    You should use fromTrustedString

  3. #3
    Sencha User
    Join Date
    Mar 2012
    Posts
    39
    Vote Rating
    0
    rmulcha is on a distinguished road

      0  

    Default


    That works, thank you!

Thread Participants: 1