PDA

View Full Version : Getting a store structure and data dynamically



costa_basil
14 Jan 2010, 9:21 AM
In Extjs it is possible to pass with a store data its structure as well by passing the metaData member (see the ExtJs JsonReader documentation).

Is it possible to do the same with Gxt? I looked at the ModelType and DataField classes but they are not serializable. I don't know if they could be made serializable because of the type (Class) member.


Update:

Sorry, just a suggestion, can you please rename ModelType to something else such as ModelStructure or ModelMetaData. I personally find the name ModelType confusing.

Thanks