Dumas
14 Dec 2009, 8:03 PM
Hey Guys!
I couldn't find something on the web, so here's my question.
How can I use an DirectStore with an Editorgrid?
I defined the store with these properties
proxy: new Ext.data.DirectProxy({
directFn : AppDirect.Tasks
}),
writer: writer = new Ext.data.JsonWriter({
encode: false // Ext.Direct needs that
})
But when I e.g. delete a row it only sends data arrays like [10]. So there is no way on the server to know what it is :-/
Is there a way for Ext.direct to split into crud request like you can do with normal requests in the api config property?
thx
Dumas
I couldn't find something on the web, so here's my question.
How can I use an DirectStore with an Editorgrid?
I defined the store with these properties
proxy: new Ext.data.DirectProxy({
directFn : AppDirect.Tasks
}),
writer: writer = new Ext.data.JsonWriter({
encode: false // Ext.Direct needs that
})
But when I e.g. delete a row it only sends data arrays like [10]. So there is no way on the server to know what it is :-/
Is there a way for Ext.direct to split into crud request like you can do with normal requests in the api config property?
thx
Dumas