You found a bug! We've classified it as
EXTJS-16796 .
We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.Ext.data.Types extending
Ext.data.Types extending
Hello!
As I could see in the documentation http://ift.tt/1FWerc0
there is an option to extend system-supplied data types by declaring them in Ext.data.Types class.
But when I try to run my app with such declarations I get an error:Uncaught Error: [Ext.createByAlias] Unrecognized alias: data.field.[object Object]
Here is the fiddle: http://ift.tt/1va7lQ4
Upd. I've found another way to add custom data types (http://ift.tt/1zKaSqn), but anyway documentation with an example for Ext.data.Types have an error...
Evan Trimboli
Sencha Developer
Twitter - @evantrimboli
Don't be afraid of the source code!
Ext.data.Types extending
Aucun commentaire:
Enregistrer un commentaire