Results 1 to 3 of 3

Thread: Error

  1. #1
    Ext User
    Join Date
    Jul 2009
    Posts
    8
    Vote Rating
    0
      0  

    Default Error

    I am not able to show the xml content in the fm.textfiled. How to solve this problem

  2. #2
    Ext User
    Join Date
    Jul 2009
    Posts
    8
    Vote Rating
    0
      0  

    Default Xml content not render properly insde fm.TextField. why ?

    I am not able to show the xml content in the fm.textfiled. How to solve this problem?
    cmGridlet = new Ext.grid.ColumnModel([
    {
    id:'SectionData',
    header: "Sequence",
    dataIndex: 'sequence',
    width: 50,
    editor: new fm.TextField({
    disabled:false,
    allowBlank: true

    })

    }
    ]}

    I need to display some xml content like <sequence><id>1</id></sequence> inside this TextField. But when i put inside the field it shows 1. But when i try to edit (click on textfield)it shows the proper xml inside. It means, complete xml is coming properly but not rendering. It shows only text filed not the whole xml.

    How to solve this problem?

  3. #3
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    118
      0  

    Default

    Code:
    renderer: Ext.util.Format.htmlEncode

Posting Permissions

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