Hybrid View
-
11 Nov 2010 2:26 AM #1
GroupingView with Directstore?
GroupingView with Directstore?
Hy, is it possible to provide data of a directstore to a groupingview?
the docs say that groupingview needs a groupingstore. anyway to connect those two?
-
12 Nov 2010 6:05 PM #2
Use a GroupingStore along with a DirectProxy.
Aaron Conran
@aconran
Sencha Architect Development Team
-
16 Nov 2010 6:53 AM #3
Here's an example:
PHP Code:this.directStore = new Ext.data.GroupingStore(
{
proxy: new Ext.data.DirectProxy(
{
directFn: MyFunction
}),
autoLoad:
{
params:
{
start: 0,
limit: 10
}
},
baseParams:
{
filter: this.GetFilter()
},
reader: this.reader,
sortInfo: {field: 'ClosedDate', direction: "ASC"},
groupField: 'ProcessId',
groupDir: 'DESC'
});
Hi from Switzerland !
Similar Threads
-
DirectStore confusion
By Lloyd K in forum Ext.DirectReplies: 8Last Post: 30 Oct 2009, 6:05 AM -
[3.0 RC1] DirectStore
By bas_denis in forum Ext.DirectReplies: 2Last Post: 19 May 2009, 2:51 PM


Reply With Quote