Good morning, guys
I am having a problem with Jsonstore, please help me with this issue.
I created a store
Code:
var msgStore=new Ext.data.JsonStore({
root: 'rootMsg',
fields: ['MessageId','Message'],
totalProperty: 'totalMsg',
url: 'rPages/rUInternetMsg.aspx',
baseParams: {
m: 'msgstore'
}
});
and I am trying to make a paging combo box
Code:
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
Code:
<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
Code:
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