Hybrid View

  1. #1
    Sencha Premium Member
    Join Date
    Mar 2012
    Location
    NYC, USA
    Posts
    62
    Vote Rating
    -1
    Answers
    1
    bkcharan is an unknown quantity at this point

      0  

    Default Unanswered: Gallery - Sample Code

    Unanswered: Gallery - Sample Code


    Hello
    Does anyone have a sample code for Gallery? Similar to the look and feel in iPhone/iPad home screen with Icons & title with a click event? I couldn't find a 'Gallery' type component in Sencha touch and I think it will involve some customization to get this functionality? Any sample code help will be much appreciated. Thanks
    P

  2. #2
    Sencha Premium Member dawesi's Avatar
    Join Date
    Mar 2007
    Location
    Melbourne, Australia (aka GMT+10)
    Posts
    1,088
    Vote Rating
    47
    Answers
    25
    dawesi will become famous soon enough dawesi will become famous soon enough

      0  

    Default


    you would use a dataview with some css that resize the divs to be tiles

    http://docs.sencha.com/touch/2-0/#!/...aview.DataView
    Lead Trainer / Sencha Specialist
    Teahouse Training Company

    Comprehensive Javascript, Sencha and 3rd Party Stack Training available worldwide online, and onsite in APAC, written by certified official Sencha trainers.



    Unofficial Sites:

    SenchaWorld.com - Videos, and stuff
    Sencha.Community - Tools, Extensions and Resources
    TeahouseHQ.com - Sencha Ecosystem Training Portal

    Code Validation : JSLint | JSONLint | JSONPLint

  3. #3
    Sencha Premium Member
    Join Date
    Mar 2012
    Location
    NYC, USA
    Posts
    62
    Vote Rating
    -1
    Answers
    1
    bkcharan is an unknown quantity at this point

      0  

    Default


    Quote Originally Posted by dawesi View Post
    you would use a dataview with some css that resize the divs to be tiles

    http://docs.sencha.com/touch/2-0/#!/...aview.DataView
    Do you have a sample code or link that I can take a look?

Thread Participants: 1