Templates y Temas para ExtJS y Sencha Touch Bleext!
Bleextop! un desktop OpenSource para Ext4 y CodeIgniter http://bit.ly/pUwLJO
[Resuelto] Accordion dinamico
  • Vote Up0Vote Down fvchapafvchapa February 15
    Posts: 21
    alguien tiene algun ejemplo de algun accordion generado de forma dinamica?
  • 3 Answers sorted by
  • Vote Up0Vote Down CrysfelCrysfel February 15
    Posts: 897
    Puedes usar el método add para agregar más elementos al acordeón.



    var container = new Ext.Panel({....});

    //en algún otro momento...
    container.add({title:'Dinamico',.....});


    Saludos
  • Vote Up0Vote Down fvchapafvchapa February 15
    Posts: 21
    gracias crysfel pero ya le he intentado. estoy usando extjs 3.3.1 y firebug me arroja este mensaje...

    app.navigation.add is not a function
    [Break On This Error]

    app.navigation.add({title:'Dinamico'})

    alguna sugerencia?
    gracias por la rapida respuesta.
  • Vote Up0Vote Down fvchapafvchapa February 16
    Posts: 21
    joya ya lo solucione..estaba apuntando mal. muchas gracias por la ayuda. saludos

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Login with Facebook Sign In with Twitter

Sign In Apply for Membership

In this Discussion

Poll

No poll attached to this discussion.

Tagged