View Full Version : How to use API in grouping data store
ambarishp
10 Jan 2011, 5:04 AM
Hi,
I would like to use API in grouping datastore,
Please guide me.
Thanks
predator
15 Jan 2011, 7:44 PM
Put a proxy config in your store...
Example:
....
groupField: 'my_group',
proxy: new Ext.data.DirectProxy({
api: {
read: direct.Read,
create: direct.Create,
update: direct.Update,
destroy: direct.Destroy
}
}),
.....
Condor
16 Jan 2011, 5:31 AM
And remember that a GroupingStore will send groupField, groupDir, sort and dir parameters (if configured with remoteGroup:true and remoteSort:true).
Powered by vBulletin® Version 4.2.3 Copyright © 2018 vBulletin Solutions, Inc. All rights reserved.