And the answer to that is … you cannot. However, a hack could be to add another variable to your Ext.data.Model class and use that as the displayField value instead.

Take this model class for example:

If you want to have both firstname and lastname to appear as the displayField in the Ext.field.Select component, then we can add another variable called fullname and use that instead.

Related Posts Plugin for WordPress, Blogger...