28 Mar 2012 1:52 PM #1
Unanswered: regModel: Is it possible to give a field/variable to a fixed value in the model?
its a quite simple question:
When declaring my fields/attributes in the model, I have three "int"-fields that should always have the value "0", right from the beginning on.
Is it possible to set this somewhere in the model? I Couldnt find something about this, neither in the tutorials nor in the model API.
Thanks in advance,
29 Mar 2012 5:29 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
Mitchell Simoens @LikelyMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.