PDA

View Full Version : RemoteSort issue in IE browser.



lincStar
28 Dec 2009, 4:44 AM
Hi all,

I am using groupingStore as follows::


var testStore = new Ext.data.GroupingStore({
reader: testReader,
url: 'test.do',
autoLoad: {params:{start: 0, limit: 3}},
remoteSort: true,
sortInfo:{field: 'Name', direction: "DESC"}
});
var testRecord = Ext.data.Record.create([
{name: 'Id'},
{name: 'Name'},
{name: 'StartDate'},
{name: 'EndDate'}
]);

var testReader = new Ext.data.XmlReader({
record: "Record",
id: "Id",
totalProperty: 'TotalRecords'
}, testRecord);and finally this store applied to List View. it is pefectly fine with Mozilla but not in IE.

Thanks,
LincStar

lincStar
28 Dec 2009, 6:46 AM
Is there any mistake??

Condor
28 Dec 2009, 6:48 AM
You have trailing commas. Run your code through jslint.com.

lincStar
28 Dec 2009, 6:54 AM
Thanks for reply ..........
but that was not problem.
I just create a dummy code of it.

Thanks,
LincStar

Condor
28 Dec 2009, 6:59 AM
You're not supplying enough information: WHAT doesn't work in IE?

ps. In IE the Content-type of XML data needs to be text/xml or application/xml.

lincStar
28 Dec 2009, 7:09 AM
Sorry,

Resolved i think i have conflict in my code.

Sorry once again........

Thanks,
LincStar