ExtJS - convert json to Model -
i have json string need map model, i've been checking json reader, ext.data.reader.jsonview, seems wokrs proxy, need pass string (which contains json) , map model. possible?
thanks, angelo.
take on ext.data.model's constructor. http://docs.sencha.com/extjs/4.2.3/#!/api/ext.data.model-method-constructor can pass data , map model's fields. can like:
var model = new ext.data.model(ext.decode(<yourjsonstring>));
ext.data.model
can replaced model class.
Comments
Post a Comment