thanks hydra12,
but still i m not getting greed,
actually in the code below,
Ext.data.JsonReader = function(meta, recordType){
meta = meta || {};
Ext.data.JsonReader.superclass.constructor.call(this, meta,
recordType||meta.fields);
};
Ext.extend(Ext.data.JsonReader, Ext.data.DataReader, {
read : function(response){
var json = response.responseText;
var o = eval("("+json+")");
if(!o) {
throw {message: "JsonReader.read: Json object not
found"};
}
if(o.metaData){
delete this.ef;
this.meta = o.metaData;
this.recordType =
Ext.data.Record.create(o.metaData.fields);
this.onMetaChange(this.meta, this.recordType, o);
}
return this.readRecords(o);
},
onMetaChange : function(meta, recordType, o){
},
'o' does not have any value,
please help me out
thank you
On Dec 21, 5:47 pm, hydra12 <[EMAIL PROTECTED]> wrote:
> Yes, you can. It's not so easy to get setup, but I've written a
> tutorial about it here:http://www.ntatd.org/mark/?p=29.
> Also checkout this
> post:http://extjs.com/forum/showthread.php?p=53728#post53728.
> It starts with me asking questions trying to get thedatagridworking,
> then ends with me helping someone else get it working. I'll be
> updating my blog with what I learned soon, but until I do (hey, it's
> Christmas . . .), maybe it will help. I'm also willing to answer
> questions as I have time.
>
> Hope that helps!
> hydra12
>
> On Dec 21, 5:36 am, "[EMAIL PROTECTED]"
>
> <[EMAIL PROTECTED]> wrote:
> > thanks for your reply,
> > I still have one question -
> > Can i used this with cakePHP?
>
> > On Dec 21, 3:28 pm, dizz <[EMAIL PROTECTED]> wrote:
>
> > > There isn't anAjaxhelper for adatagridbut take a look at extjs.com
>
> > > On Dec 21, 11:35 am, "[EMAIL PROTECTED]"
>
> > > <[EMAIL PROTECTED]> wrote:
> > > > Hi,
> > > > i just want to know ,
> > > > how can we create datagrind in cakephp usingajaxhelper
> > > > I have post this topic before this also
> > > > but I didn't find any solution
> > > > please help me, if anyone finds the solution
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---