1. #1
    Sencha User
    Join Date
    Oct 2013
    Posts
    1
    Vote Rating
    0
    rajach02 is on a distinguished road

      0  

    Default Unanswered: Accordion in sencha Touch

    How to implement accordion functionality in Sencha Touch?

    I need to add form panel within the accordion.

  2. #2
    Sencha - Support Team
    Join Date
    Feb 2013
    Location
    California
    Posts
    6,685
    Vote Rating
    179
    Answers
    243
    Gary Schlosberg is a splendid one to behold Gary Schlosberg is a splendid one to behold Gary Schlosberg is a splendid one to behold Gary Schlosberg is a splendid one to behold Gary Schlosberg is a splendid one to behold Gary Schlosberg is a splendid one to behold Gary Schlosberg is a splendid one to behold

      0  

    Default

    Sencha Touch doesn't have a built-in accordion layout, so you'd have to use an extension or implement it yourself. Here's a thread with some info:
    http://www.sencha.com/forum/showthread.php?282107
    Are you a Sencha products veteran who has wondered what it might be like to work at Sencha? If so, please reach out to our human resources manager: fabienne.bell@sencha.com

  3. #3
    Sencha Premium Member
    Join Date
    Jun 2011
    Posts
    54
    Vote Rating
    20
    Answers
    5
    enagic will become famous soon enough enagic will become famous soon enough

      1  

    Default

    Here's an ugly proof of concept:


    You can easily swap out whatever toggle class you want by playing with factoryHeader(). For instance, maybe you want an accordion here, but somewhere else you want it to look like a radio field. Just swap it out and change the css accordingly so that it'll look like a radio field.

Similar Threads

  1. Sencha Touch Accordion Layout ???
    By FatihBekdemir in forum Sencha Touch 2.x: Q&A
    Replies: 2
    Last Post: 3 Mar 2014, 11:15 PM
  2. How to use Accordion Layout in Sencha Touch 2 ?
    By bomslang in forum Sencha Touch 2.x: Q&A
    Replies: 4
    Last Post: 18 Jul 2013, 12:24 AM
  3. JQuery Accordion in Sencha Touch
    By himsand in forum Sencha Touch 2.x: Q&A
    Replies: 2
    Last Post: 26 Sep 2012, 6:08 AM
  4. Accordion layout in sencha touch ST B1
    By demon222 in forum Sencha Touch 2.x: Q&A
    Replies: 11
    Last Post: 8 Feb 2012, 8:46 AM
  5. Accordion layout in sencha touch
    By anilcs0405 in forum Sencha Touch 1.x: Discussion
    Replies: 3
    Last Post: 12 Jan 2011, 10:13 AM

Thread Participants: 2