label and setHTML missing?

  1. #1

    label and setHTML missing?

    When I try to setHTML to my label - says that object does not support this?
  2. #2

    RE: label and setHTML missing?

    Hi Tbaseflug,

    You can use .setText() and pass false to not encode the value.


    Example


    [CODE]Label1.setText('<br>test[/B]', false);[CODE]


    docs:*http://extjs.com/deploy/dev/docs/?cl...member=setText


    Hope this helps.


    Geoffrey McGill
    Founder

Similar Threads

  1. 2.0 Examples Missing?
    By Tbaseflug in forum 2.x Help
    Replies: 7
    Last Post: Jul 18, 2012, 1:41 PM
  2. missing dll
    By ashton.lamont in forum Examples and Extras
    Replies: 2
    Last Post: Jul 07, 2010, 10:59 PM
  3. [CLOSED] Label Style / Obtain label color based on theme
    By rthiney in forum 1.x Legacy Premium Help
    Replies: 11
    Last Post: Apr 15, 2010, 10:35 AM
  4. Combobox missing first value
    By Richardt in forum 1.x Help
    Replies: 2
    Last Post: Sep 29, 2009, 6:30 AM
  5. [CLOSED] Help Cant set SetHtml in a panel?
    By Jurke in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Dec 18, 2008, 5:52 AM

Posting Permissions