Results 1 to 2 of 2

Thread: List Item with multiple touch point actions

  1. #1
    Ext JS Premium Member
    Join Date
    Nov 2009
    Location
    San Diego, CA
    Posts
    158
    Answers
    3
    Vote Rating
    0
      0  

    Default Unanswered: List Item with multiple touch point actions

    Does anyone know if it is possible to have multiple icon buttons on a Sencha Touch list item that listen to different events? If so, how can I accomplish this?


    For instance, say I have a list of people and there's an icon for email, phone and a map to their location for each person. I want to show 3 small icons and be able to map each icon to do 3 separate actions.

    One thought I had is just wrap them with HTML for email and phone anchor tags but map would need to fire an event.

  2. #2
    Sencha User
    Join Date
    Apr 2012
    Posts
    164
    Answers
    13
    Vote Rating
    10
      0  

    Default

    It is possible. Use a button or image and attach your listeners to those specific buttons/images. You can extend ListItem or DataViewItem to make a custom list row in order to do the aforementioned.

Posting Permissions

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