PDA

View Full Version : [API] idProperty not documented in Model



mitchellsimoens
16 Mar 2011, 8:39 AM
You can change the idProperty in a Model but it is not documented in the API docs.


Ext.regModel("ModelName", {
idProperty: "recId", //defaults to 'id' (case sensitive)
fields: [ .... ]
});