1. #1
    Sencha User tf.alves's Avatar
    Join Date
    Feb 2010
    Location
    Portugal
    Posts
    54
    Vote Rating
    0
    tf.alves is on a distinguished road

      0  

    Default Dataview / List itemTpl replacement?

    Dataview / List itemTpl replacement?


    Hi,

    Is there a way to use components / containers as items on a Dataview or List? In iOS development you can create a custom list item, built of various components, and then use it as a "template" for each item in a list. Is there any way to achieve this in Sencha Touch?

    Thanks!

    Edit: Ok, just found out that you can iterate through each item in the list using selectors and whatnot... but isn't there a easier way?

  2. #2
    Sencha User kostysh's Avatar
    Join Date
    Nov 2011
    Location
    Odessa, Ukraine
    Posts
    173
    Vote Rating
    19
    kostysh will become famous soon enough kostysh will become famous soon enough

      0  

    Default


    http://docs.sencha.com/touch/2-0/#!/guide/dataview
    Look at the "Component DataView" chapter

  3. #3
    Sencha User tf.alves's Avatar
    Join Date
    Feb 2010
    Location
    Portugal
    Posts
    54
    Vote Rating
    0
    tf.alves is on a distinguished road

      0  

    Default


    Aaaah! So many new stuff in ST2... AWESOME! Thanks kostysh!

Thread Participants: 1