Is there a list of available field types for a Sencha Touch model?
I've searched the docu but couldn't find something like this.
You can use "inte", "string", "boolean", "timestamp" but what else? Is there a "time", a "date" oder a "datetime" and how do they behave?
It's taken a good part of the afternoon, but I believe I've found the definitive list.
Model members in Ext created using the Field class.
If you click on the type config option, you'll be presented with the definitive list from source.
Type Ext.data.Types into the web console. This is what I got for Sencha Touch 2.1:
For model data field types, see the documentation for Ext.data.Types. Lists auto, string, int, float, bool, date.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With