PDA

View Full Version : servlet URL is not working in GroupingStore in grid



coooolmagic
23 Jun 2010, 8:25 AM
Hi All

here is my grouping store config:


var store = new Ext.data.GroupingStore({
reader: reader,
//data: xg.dummyData,
//data: aryData,
url: 'http://localhost:9080/myall/myrecords',
sortInfo:{field: 'employee_name', direction: "ASC"},
groupField:'transaction'
});


This servlet URL is not working at all.
I can access Servlet directly.

Any idea why it is not calling servlet?

Elijah
23 Jun 2010, 1:42 PM
store.load()?

coooolmagic
24 Jun 2010, 12:58 AM
thank you very much.

CrazyEnigma
24 Jun 2010, 7:49 AM
You can also set:



autoLoad: true