1. #1
    Sencha User
    Join Date
    Nov 2012
    Location
    Bangalore, India
    Posts
    3
    Vote Rating
    0
    sureshewit@gmail.com is on a distinguished road

      0  

    Default 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....

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    33,582
    Vote Rating
    433
    Answers
    3102
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    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.

  3. #3
    Sencha User
    Join Date
    Nov 2012
    Location
    Bangalore, India
    Posts
    3
    Vote Rating
    0
    sureshewit@gmail.com is on a distinguished road

      0  

    Default


    I need to create stylish forms as in jquery mobile. Is there any way I can do that in sencha touch 2?

  4. #4
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    33,582
    Vote Rating
    433
    Answers
    3102
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    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.

  5. #5
    Sencha User
    Join Date
    Feb 2011
    Location
    Düsseldorf, Germany
    Posts
    245
    Vote Rating
    4
    Answers
    3
    Kurt001 is on a distinguished road

      0  

    Default


    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:

    Code:
    .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{
          }
        }
      }
    }
    I hope this keeps you from adding jQuery into Sencha