Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4076194
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T17:23:38+00:00 2026-05-20T17:23:38+00:00

I have a List generated from JSON data in Sencha Touch. Essentially, the list

  • 0

I have a List generated from JSON data in Sencha Touch. Essentially, the list is generated from a Data Store object and acts as a Contacts list. I would like to know how to add functionality so that when the user taps on one of the list items, an Action Sheet is shown in Sencha Touch, offering a number of actions (such as ‘Call’, ‘Send Message’ and ‘Delete’).

Here’s the code I’m using to generate the ListvIew:

var listView = new Ext.List({
    store: friendStore,
    itemTpl: '{forename} {surname}<br />{phoneNumber}',
    grouped: true,
    indexBar: true
});

I know that I could possibly use the on parameter, but that will append the tap event to the List, rather than each item. The displayed action sheet will contain some links as well with the tel:// so it needs to be dynamic as well (since the telephone number to call is also stored in the Data Store under the key {phoneNumber}

Hope that makes sense…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T17:23:39+00:00Added an answer on May 20, 2026 at 5:23 pm

    ListView has an itemtap event you should listen for. From the docs:

    itemtap : ( Ext.DataView view, Number index, Ext.Element item, Ext.EventObject e )
    

    To get the record that corresponds to the tapped item just do view.getStore().getAt(index). Then in your event handler just recreate the ActionSheet based on the data from the record and show it.

    Also attaching the listener to the list is more memory efficient than attaching to each individual item.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a list of dynamically generated div-tags with a class-attribute but no id.
I have a list of integers, List<Integer> and I'd like to convert all the
I have a list of 2-item tuples and I'd like to convert them to
I have List<Car> cars = from c in myContext.Cars .Include(Wheels) .Include(Wheels.Nuts) orderby c.CarID These
I have a Html Table which consists of rows that were generated dynamically (from
I have a dropdownlist generated from db. Here is the result from page source.
Error 4 Cannot implicitly convert type 'System.Collections.Generic.IEnumerable<System.Collections.Generic.IEnumerable<CCE_2009.Data.Person>>' to 'System.Collections.Generic.IEnumerable<CCE_2009.Data.Person>' Generated from: var RecoveryManagerQuery =
Hey, Lets say we have a query which generates list of city names as
I have an algorithm that generates strings based on a list of input words.
If I have List<String> text how can I create a sub-list of all continious

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.