Results 1 to 3 of 3

Thread: Dataview / List itemTpl replacement?

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

    Default 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
    176
    Vote Rating
    20
      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
      0  

    Default

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •