Results 1 to 3 of 3

Thread: Column Config with SafeHtml for Header Not Working

    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
      0  

    Default 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
    Sencha Premium Member
    Join Date
    Sep 2007
    Posts
    13,976
    Vote Rating
    132
      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
      0  

    Default

    That works, thank you!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •