-
12 Nov 2012 10:33 PM #1
Unanswered: Sencha touch 2: Jquery mobile in Sencha?
Unanswered: Sencha touch 2: Jquery mobile in Sencha?
Is it possible to embed jquery mobile forms inside sencha touch 2 code?? If yes How to achive the same ?
any idea please....
-
14 Nov 2012 10:05 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,582
- Vote Rating
- 433
- Answers
- 3102
Why not just use Sencha Touch 2 forms?
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
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 services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
14 Nov 2012 11:27 PM #3
I need to create stylish forms as in jquery mobile. Is there any way I can do that in sencha touch 2?
-
18 Nov 2012 6:12 AM #4Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,582
- Vote Rating
- 433
- Answers
- 3102
So far sounds like you can dump jQuery Mobile and use Sencha Touch only.
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
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 services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
18 Nov 2012 6:42 AM #5
To do so in Sencha I usually create a new baseCls for my field elements.
Before I do so, I copy the stuff from sencha (chrome - select input field and copy the stuff from x-field ...)
That could be something similar to the following:
I hope this keeps you from adding jQuery into SenchaCode:.baseClsName-field{ background: ...; display: -webkit-box; display: box; min-height: 2.5em; .x-form-label{ white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: white 0 1px 1px; color: $baseClsColor; padding: 0; display: -webkit-box !important; background-color: #F7F7F7; span{ font-size: 1em; font-weight: normal; } } .x-component-outer{ -webkit-box-flex: 1; .x-field-input{ width: 100%; position: relative; min-width: 3.7em; padding: 0; input{ -webkit-user-select: text; } .x-input-el{ } .x-clear-icon{ } } } }


Reply With Quote