Results 1 to 3 of 3

Thread: Jsonstore with HTML content

  1. #1

    Default Jsonstore with HTML content

    Good morning, guys
    I am having a problem with Jsonstore, please help me with this issue.
    I created a store
    var msgStore=new{
            root: 'rootMsg',
            fields: ['MessageId','Message'],
            totalProperty: 'totalMsg',
            url: 'rPages/rUInternetMsg.aspx',
            baseParams: {
                m: 'msgstore'
    and I am trying to make a paging combo box
    var cboMsg=new Ext.form.ComboBox({ 
            xtype: 'combo',
            width: 650,
            id: 'cboMsg',
            store: msgStore,
            displayField: 'Message',
            valueField: 'MessageId',
            minChars: 0,
            enableKeyEvents: true,
            pageSize: 35,
            minListWidth: 220,
            forceSelection: true
            selectOnFocus: true
    my problem comes from the fact that the store's content contains some HTML format such as
    <font color=blue> Sorry For The Inconvenience Caused!!!
    after I chose such a message and try to open the combo box for selecting another message,
    it causes me error in ext-base.js
    htmlfile:Unspecified error
    This error doesn't appear when I use a normal store instead of Jsonstore.
    I am newbie, so please kindly assist me with this problem.
    I am really appreciated for your time

  2. #2

    Default HtmlFile:Unspecified Error

    Hi ,
    Please do clear the store of combo box before u load it again.
    this solves ur problem.


  3. #3
    Sencha User sword-it's Avatar
    Join Date
    May 2012



    did you try autoLoad:true property for store?

    Regards, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.

Similar Threads

  1. Panel's html content...can we get it?
    By jtpacheco in forum Ext 3.x: Help & Discussion
    Replies: 4
    Last Post: 29 Aug 2010, 7:28 AM
  2. One JsonStore not sending request with correct content type header
    By dbassett74 in forum Ext 3.x: Help & Discussion
    Replies: 8
    Last Post: 30 Jun 2010, 8:56 AM
  3. get the html content
    By Generic1 in forum Ext 3.x: Help & Discussion
    Replies: 3
    Last Post: 29 Jul 2009, 3:53 AM
  4. Panel HTML Content
    By Shaguar in forum Ext 2.x: Help & Discussion
    Replies: 9
    Last Post: 9 Apr 2008, 12:31 PM

Posting Permissions

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