1. #1
    Sencha User
    Join Date
    May 2008
    Posts
    12
    Vote Rating
    0
    mheijink is on a distinguished road

      0  

    Default Unanswered: Column header

    Unanswered: Column header


    Hi, in gxt 2.2.5 i formatted the column header, for example :
    dateColumn.setHeader( "Date off<br/>change")

    With gxt3.0 the string the <br/> as well is displayed instead off a multiline header.

    How can I solve this?

    Marcel

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,754
    Vote Rating
    113
    Answers
    60
    sven is just really nice sven is just really nice sven is just really nice sven is just really nice sven is just really nice

      0  

    Default


    You will need to use SafeHtml and do not pass it in as String.

  3. #3
    Sencha User
    Join Date
    May 2008
    Posts
    12
    Vote Rating
    0
    mheijink is on a distinguished road

      0  

    Default


    I tried that but it doesn't help

    SafeHtmlBuilder b= new SafeHtmlBuilder();
    b.appendEscaped("Type<b>Formaat</b>");
    format.setHeader(b.toSafeHtml());

  4. #4
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,754
    Vote Rating
    113
    Answers
    60
    sven is just really nice sven is just really nice sven is just really nice sven is just really nice sven is just really nice

      0  

    Default


    Because you are escaping it now directly.

    SafeHtmlUtils.fromTrustedString is what you are looking for.